90 } |
90 } |
91 if (($f[0] == "PSU_ADDRESS") && (strcmp($f[1], "(null)"))) |
91 if (($f[0] == "PSU_ADDRESS") && (strcmp($f[1], "(null)"))) |
92 $psu = "yes"; |
92 $psu = "yes"; |
93 if (($f[0] == "DOOR_ADDRESS") && (strcmp($f[1], "(null)"))) |
93 if (($f[0] == "DOOR_ADDRESS") && (strcmp($f[1], "(null)"))) |
94 $door = "yes"; |
94 $door = "yes"; |
95 if (($f[0] == "BEER_SET") && ($mode == "BEER")) |
95 if (($f[0] == "BEER_SET_LO") && ($mode == "BEER")) |
96 $target_temperature_lo = $target_temperature_hi = $f[1]; |
96 $target_temperature_lo = $f[1]; |
97 if (($f[0] == "FRIDGE_SET") && ($mode == "FRIDGE")) |
97 if (($f[0] == "BEER_SET_HI") && ($mode == "BEER")) |
98 $target_temperature_lo = $target_temperature_hi = $f[1]; |
98 $target_temperature_hi = $f[1]; |
|
99 if (($f[0] == "FRIDGE_SET_LO") && ($mode == "FRIDGE")) |
|
100 $target_temperature_lo = $f[1]; |
|
101 if (($f[0] == "FRIDGE_SET_HI") && ($mode == "FRIDGE")) |
|
102 $target_temperature_hi = $f[1]; |
99 if (($f[0] == "PROF_TARGET_LO") && ($mode == "PROFILE")) |
103 if (($f[0] == "PROF_TARGET_LO") && ($mode == "PROFILE")) |
100 $target_temperature_lo = $f[1]; |
104 $target_temperature_lo = $f[1]; |
101 if (($f[0] == "PROF_TARGET_HI") && ($mode == "PROFILE")) |
105 if (($f[0] == "PROF_TARGET_HI") && ($mode == "PROFILE")) |
102 $target_temperature_hi = $f[1]; |
106 $target_temperature_hi = $f[1]; |
103 if (($f[0] == "PROF_STATE") && ($mode == "PROFILE")) |
107 if (($f[0] == "PROF_STATE") && ($mode == "PROFILE")) |