Subversion Repositories heating

Rev

Rev 49 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 49 Rev 53
Line 133... Line 133...
133
		time_t getTime();
133
		time_t getTime();
134
		void applyConfig();								// Transfers the actual configuration to HTML server
134
		void applyConfig();								// Transfers the actual configuration to HTML server
135
		void startHeat(int room) { controlHeat(room, true); }
135
		void startHeat(int room) { controlHeat(room, true); }
136
		void stopHeat(int room) { controlHeat(room, false); }
136
		void stopHeat(int room) { controlHeat(room, false); }
137
		void controlHeat(int room, bool stst);			// Controles the valves via the GPIO ports
137
		void controlHeat(int room, bool stst);			// Controles the valves via the GPIO ports
-
 
138
		time_t calcTime(double soll, double ist);
138
		bool evaluateTemp(int room, double temp);		// Evaluates the current temperature and calculates the time
139
		bool evaluateTemp(int room, double temp);		// Evaluates the current temperature and calculates the time
139
														// to reach the soll temperature. It return true if the heating
140
														// to reach the soll temperature. It return true if the heating
140
														// should start. Otherwise it returns false.
141
														// should start. Otherwise it returns false.
141
		HCONF *HeatConf;								// Pointer to the heating configuration for every room
142
		HCONF *HeatConf;								// Pointer to the heating configuration for every room
142
		double glb_minimal;								// The global temperature for normal (day) mode
143
		double glb_minimal;								// The global temperature for normal (day) mode