281 * Brewing state file ~/.brewco/var/brewing.xml |
281 * Brewing state file ~/.brewco/var/brewing.xml |
282 * If present a brew session is running |
282 * If present a brew session is running |
283 */ |
283 */ |
284 #define STEP_NA 0 /* Not in any step yet */ |
284 #define STEP_NA 0 /* Not in any step yet */ |
285 #define STEP_BREWINIT 1 /* Initialize brew */ |
285 #define STEP_BREWINIT 1 /* Initialize brew */ |
286 #define STEP_WAITSTART 2 /* Wait for starttime */ |
286 #define STEP_WATERCHECK 2 /* Water added? */ |
287 #define STEP_PREMASH 3 /* Pre-mash */ |
287 #define STEP_PUMPPRIME 3 /* Pump Prime */ |
288 #define STEP_MASHING 4 /* Mash steps */ |
288 #define STEP_WAITSTART 4 /* Wait for starttime */ |
289 #define STEP_IODINE 5 /* Iodine test */ |
289 #define STEP_PREMASH 5 /* Pre-mash */ |
290 #define STEP_MASHREMOVE 6 /* Remove mash */ |
290 #define STEP_MASHING 6 /* Mash steps */ |
291 #define STEP_PREBOIL 7 /* Heating before boil */ |
291 #define STEP_IODINE 7 /* Iodine test */ |
292 #define STEP_BOILING 8 /* Boil */ |
292 #define STEP_MASHREMOVE 8 /* Remove mash */ |
293 #define STEP_BOILDONE 9 /* Boil done, hopstand */ |
293 #define STEP_PREBOIL 9 /* Heating before boil */ |
294 #define STEP_COOLING 10 /* Cooling */ |
294 #define STEP_BOILING 10 /* Boil */ |
295 #define STEP_WHIRLPOOL 11 /* Whirlpool */ |
295 #define STEP_BOILDONE 11 /* Boil done, hopstand */ |
296 #define STEP_CLEANUP 12 /* Cleanup */ |
296 #define STEP_WHIRLPOOL1 12 /* Whirlpool hot */ |
297 #define STEP_BREWDONE 13 /* Final step */ |
297 #define STEP_HOPSTAND1 13 /* Hopstand 88..100 */ |
298 #define STEP_HOPSTAND1 14 /* Hopstand 88..100 */ |
298 #define STEP_COOLING1 14 /* Cooling to hopstand 2 */ |
299 #define STEP_HOPSTAND2 15 /* Hopstand 71..77 */ |
299 #define STEP_HOPSTAND2 15 /* Hopstand 71..77 */ |
300 #define STEP_HOPSTAND3 16 /* Hopstand 60..66 */ |
300 #define STEP_COOLING2 16 /* Cooling to hopstand 3 */ |
|
301 #define STEP_HOPSTAND3 17 /* Hopstand 60..66 */ |
|
302 #define STEP_COOLING 18 /* Final cooling */ |
|
303 #define STEP_WHIRLPOOL 19 /* Final whirlpool */ |
|
304 #define STEP_CLEANUP 20 /* Cleanup */ |
|
305 #define STEP_BREWDONE 21 /* Final step */ |
301 |
306 |
302 #define MASH_NA 0 /* Not in any state yet */ |
307 #define MASH_NA 0 /* Not in any state yet */ |
303 #define MASH_PROMPT 1 /* Prompt the user */ |
308 #define MASH_PROMPT 1 /* Prompt the user */ |
304 #define MASH_HEATING 2 /* Heating phase */ |
309 #define MASH_HEATING 2 /* Heating phase */ |
305 #define MASH_REST 3 /* Rest phase */ |
310 #define MASH_REST 3 /* Rest phase */ |