149 time_t prof_paused; /* Profile total pause time */ |
149 time_t prof_paused; /* Profile total pause time */ |
150 int prof_percent; /* Profile percentage done */ |
150 int prof_percent; /* Profile percentage done */ |
151 float prof_peak_abs; /* Profile absolute peak temp */ |
151 float prof_peak_abs; /* Profile absolute peak temp */ |
152 float prof_peak_rel; /* Profile relative peak temp */ |
152 float prof_peak_rel; /* Profile relative peak temp */ |
153 time_t prof_primary_done; /* Profile primary is done */ |
153 time_t prof_primary_done; /* Profile primary is done */ |
154 float PID_I_err; /* PID Intergal error */ |
154 float PID_I_err; /* PID Integral error */ |
155 float PID_err_old; /* PID old error value */ |
155 float PID_err_old; /* PID old error value */ |
|
156 float PID_Kp; /* PID Kp setting */ |
|
157 float PID_Kd; /* PID Kd setting */ |
|
158 float PID_Ki; /* PID Ki setting */ |
156 } units_list; |
159 } units_list; |
157 |
160 |
158 #define UNITMODE_OFF 0 /* Unit turned off */ |
161 #define UNITMODE_OFF 0 /* Unit turned off */ |
159 #define UNITMODE_NONE 1 /* Unit on but does nothing */ |
162 #define UNITMODE_NONE 1 /* Unit on but does nothing */ |
160 #define UNITMODE_FRIDGE 2 /* Unit acts as a fridge */ |
163 #define UNITMODE_FRIDGE 2 /* Unit acts as a fridge */ |