thermferm/thermferm.h

changeset 716
5c30c8ef83a8
parent 714
24749c296a50
child 724
01e3936f62d4
--- a/thermferm/thermferm.h	Wed May 01 14:38:37 2024 +0200
+++ b/thermferm/thermferm.h	Thu May 02 15:49:16 2024 +0200
@@ -63,6 +63,14 @@
 
 
 /*
+ * Thread states
+ */
+#define THREAD_OFF		0
+#define	THREAD_RUN		1
+#define	THREAD_PAUSE		2
+
+
+/*
  * Frontpanel menu numbers
  */
 #define MENU_NONE       	0
@@ -367,6 +375,12 @@
     char		*light_address;		/* Simulated interior light	*/
     int			light_present;
     int			light_power;
+    char		*door_address;		/* Simulated fridge door	*/
+    int			door_present;
+    int			door_value;
+    char		*psu_address;		/* Simulated PSU status		*/
+    int			psu_present;
+    int			psu_value;
     float		frigo_isolation;	/* Frigo isolation value	*/
     time_t		timestamp;
 

mercurial