brewco/brewco.h

changeset 438
7d1ec160d751
parent 435
4b1ed6897d80
child 441
bde74a8f2ad7
--- a/brewco/brewco.h	Fri Nov 27 22:00:23 2015 +0100
+++ b/brewco/brewco.h	Fri Nov 27 22:56:00 2015 +0100
@@ -232,10 +232,6 @@
  * Simulate a HLT and MLT.
  */
 typedef struct _simulator {
-    struct _simulator   *next;
-    int                 version;                /* Version of this record       */
-    char                *uuid;                  /* Simulator uuid               */
-    char                *name;                  /* Simulator name               */
     double		room_temperature;	/* Simulated envionment temp	*/
     double		hlt_temperature;	/* Simulated HLT temperature	*/
     double		hlt_heater_temp;	/* Maximum heater temp		*/
@@ -253,7 +249,7 @@
      */
     double		s_hlt_temp;		/* Temp HLT			*/
     double		s_mlt_temp;		/* Temp MLT			*/
-} simulator_list;
+} simulator_var;
 
 #endif
 
@@ -270,7 +266,7 @@
     units_list		*units;			/* Brewing units		*/
     devices_list	*devices;		/* Sensors and switches		*/
 #ifdef USE_SIMULATOR
-    simulator_list      *simulators;            /* Simulators                   */
+    simulator_var	*simulator;		/* Simulator			*/
 #endif
 } sys_config;
 

mercurial