230 |
230 |
231 /* |
231 /* |
232 * Simulate a HLT and MLT. |
232 * Simulate a HLT and MLT. |
233 */ |
233 */ |
234 typedef struct _simulator { |
234 typedef struct _simulator { |
235 struct _simulator *next; |
|
236 int version; /* Version of this record */ |
|
237 char *uuid; /* Simulator uuid */ |
|
238 char *name; /* Simulator name */ |
|
239 double room_temperature; /* Simulated envionment temp */ |
235 double room_temperature; /* Simulated envionment temp */ |
240 double hlt_temperature; /* Simulated HLT temperature */ |
236 double hlt_temperature; /* Simulated HLT temperature */ |
241 double hlt_heater_temp; /* Maximum heater temp */ |
237 double hlt_heater_temp; /* Maximum heater temp */ |
242 int hlt_heater_time; /* Time to reach temperature */ |
238 int hlt_heater_time; /* Time to reach temperature */ |
243 float hlt_heater_size; /* Size of the heater */ |
239 float hlt_heater_size; /* Size of the heater */ |
268 int lcd_rows; /* LCD display rows */ |
264 int lcd_rows; /* LCD display rows */ |
269 int lcd_address; /* LCD display i2c address */ |
265 int lcd_address; /* LCD display i2c address */ |
270 units_list *units; /* Brewing units */ |
266 units_list *units; /* Brewing units */ |
271 devices_list *devices; /* Sensors and switches */ |
267 devices_list *devices; /* Sensors and switches */ |
272 #ifdef USE_SIMULATOR |
268 #ifdef USE_SIMULATOR |
273 simulator_list *simulators; /* Simulators */ |
269 simulator_var *simulator; /* Simulator */ |
274 #endif |
270 #endif |
275 } sys_config; |
271 } sys_config; |
276 |
272 |
277 |
273 |
278 |
274 |