Added misc_uses spage step. Corrected some defines mol values.

Sun, 17 Jul 2022 22:11:30 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 17 Jul 2022 22:11:30 +0200
changeset 355
f3318d9d6668
parent 354
d543a3a78071
child 356
f60f5a1fece9

Added misc_uses spage step. Corrected some defines mol values.

src/global.cpp file | annotate | diff | comparison | revisions
src/global.h file | annotate | diff | comparison | revisions
--- a/src/global.cpp	Sat Jul 16 16:40:07 2022 +0200
+++ b/src/global.cpp	Sun Jul 17 22:11:30 2022 +0200
@@ -140,13 +140,14 @@
     QT_TRANSLATE_NOOP("MiscType", "Other")
 };
 
-const char * const g_misc_uses[6] = {
+const char * const g_misc_uses[7] = {
     QT_TRANSLATE_NOOP("MiscUse", "Starter"),
     QT_TRANSLATE_NOOP("MiscUse", "Mash"),
     QT_TRANSLATE_NOOP("MiscUse", "Boil"),
     QT_TRANSLATE_NOOP("MiscUse", "Primary"),
     QT_TRANSLATE_NOOP("MiscUse", "Secondary"),
-    QT_TRANSLATE_NOOP("MiscUse", "Bottling")
+    QT_TRANSLATE_NOOP("MiscUse", "Bottling"),
+    QT_TRANSLATE_NOOP("MiscUse", "Sparge")
 };
 
 const char * const g_yeast_types[8] = {
--- a/src/global.h	Sat Jul 16 16:40:07 2022 +0200
+++ b/src/global.h	Sun Jul 17 22:11:30 2022 +0200
@@ -11,12 +11,13 @@
 #define Ka1		0.0000004445
 #define Ka2		0.0000000000468
 
-#define MMCa		40.048
+#define MMCa		40.078
 #define MMMg		24.305
 #define MMNa		22.98976928
-#define MMCl		35.453
+#define MMCl		35.4535
 #define MMSO4		96.0626
-#define MMCO3		60.01684
+#define MMCO3		60.0089
+#define MMNO3		62.0049
 #define MMHCO3		61.01684
 #define MMCaSO4		172.171
 #define MMCaCl2		147.015
@@ -792,7 +793,8 @@
 	MISC_USES_BOIL,
 	MISC_USES_PRIMARY,
 	MISC_USES_SECONDARY,
-	MISC_USES_BOTTLING
+	MISC_USES_BOTTLING,
+	MISC_USES_SPARGE
 };
 
 extern const char * const g_misc_uses[];

mercurial