thermferm/thermferm.h

changeset 77
143077e54255
parent 76
d2c7b32f27d6
child 78
c49ab5179bf3
equal deleted inserted replaced
76:d2c7b32f27d6 77:143077e54255
117 } w1_therm; 117 } w1_therm;
118 118
119 typedef struct _sys_config { 119 typedef struct _sys_config {
120 char *name; /* Configuration name */ 120 char *name; /* Configuration name */
121 int my_port; /* my client/server port */ 121 int my_port; /* my client/server port */
122 unsigned char tempFormat; /* Temperature format, C or F */
122 w1_therm *w1therms; /* 1-wire temp sensors */ 123 w1_therm *w1therms; /* 1-wire temp sensors */
123 #ifdef HAVE_WIRINGPI_H 124 #ifdef HAVE_WIRINGPI_H
124 int lcd_cols; /* LCD display columns */ 125 int lcd_cols; /* LCD display columns */
125 int lcd_rows; /* LCD display rows */ 126 int lcd_rows; /* LCD display rows */
126 #endif 127 #endif
130 float cs_beerSet; /* beer temperature */ 131 float cs_beerSet; /* beer temperature */
131 float cs_fridgeSet; /* fridge temperature */ 132 float cs_fridgeSet; /* fridge temperature */
132 float cs_heatEstimator; 133 float cs_heatEstimator;
133 float cs_coolEstimator; 134 float cs_coolEstimator;
134 /* ControlConstants */ 135 /* ControlConstants */
135 unsigned char cc_tempFormat;
136 float cc_tempSetMin; 136 float cc_tempSetMin;
137 float cc_tempSetMax; 137 float cc_tempSetMax;
138 float cc_idleRangeH; 138 float cc_idleRangeH;
139 float cc_idleRangeL; 139 float cc_idleRangeL;
140 } sys_config; 140 } sys_config;

mercurial