thermferm/thermferm.h

changeset 101
1302abe92eb1
parent 95
2c28afc329a5
child 104
5e538c4e1ecb
--- a/thermferm/thermferm.h	Fri Jul 11 22:53:33 2014 +0200
+++ b/thermferm/thermferm.h	Sat Jul 12 17:57:53 2014 +0200
@@ -67,9 +67,11 @@
     char		*name;			/* friendly name		*/
     float		volume;			/* Volume of this unit		*/
     char		*air_address;		/* DS18B20 address		*/
-    int			air_temp;		/* Air temperature * 1000	*/
+    int			air_state;		/* 0=ok, 1=missing, 2=error	*/
+    int			air_temperature;	/* Air temperature in C * 1000	*/
     char		*beer_address;		/* DS18B20 address		*/
-    int			beer_temp;		/* Beer temperature * 1000	*/
+    int			beer_state;		/* 0=ok, 1=missing, 2=error 	*/
+    int			beer_temperature;	/* Beer temperature in C * 1000	*/
     char		*io1_address;		/* DS2413 address		*/
     char		*io2_address;		/* DS2413 address		*/
     int			heater_available;	/* Heater available		*/
@@ -148,6 +150,8 @@
     int			my_port;		/* my client/server port	*/
     unsigned char	tempFormat;		/* Temperature format, C or F	*/
     char		*air_address;		/* 1-wire environment sensor	*/
+    int			air_state;		/* 0=ok, 1=missing, 2=error	*/
+    int			air_temperature;	/* Air temperature in C * 1000	*/
     w1_therm		*w1therms;		/* 1-wire temp sensors		*/
 #ifdef HAVE_WIRINGPI_H
     int			lcd_cols;		/* LCD display columns		*/

mercurial