89 float idle_rangeH; /* Idle range high */ |
89 float idle_rangeH; /* Idle range high */ |
90 char *profile; /* Active profile uuid */ |
90 char *profile; /* Active profile uuid */ |
91 time_t prof_started; /* Profile start time */ |
91 time_t prof_started; /* Profile start time */ |
92 int prof_state; /* Profile OFF|PAUSE|RUN|DONE */ |
92 int prof_state; /* Profile OFF|PAUSE|RUN|DONE */ |
93 float prof_target; /* Profile current target temp */ |
93 float prof_target; /* Profile current target temp */ |
|
94 float PID_err_old; /* PID old error value */ |
94 } units_list; |
95 } units_list; |
95 |
96 |
96 #define UNITMODE_OFF 0 /* Unit turned off */ |
97 #define UNITMODE_OFF 0 /* Unit turned off */ |
97 #define UNITMODE_NONE 1 /* Unit on but does nothing */ |
98 #define UNITMODE_NONE 1 /* Unit on but does nothing */ |
98 #define UNITMODE_FRIDGE 2 /* Unit acts as a fridge */ |
99 #define UNITMODE_FRIDGE 2 /* Unit acts as a fridge */ |