Subversion Repositories heating

Rev

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

Rev 47 Rev 48
Line 161... Line 161...
161
			onoff = HtmlServer->getRunMode();
161
			onoff = HtmlServer->getRunMode();
162
			ans = "CONFIG:GLOBAL NIGHT:" + doubleToString(glb_night, 1) + ";";
162
			ans = "CONFIG:GLOBAL NIGHT:" + doubleToString(glb_night, 1) + ";";
163
			answer(ans);
163
			answer(ans);
164
			ans = "CONFIG:GLOBAL MINIMAL:" + doubleToString(glb_minimal, 1) + ";";
164
			ans = "CONFIG:GLOBAL MINIMAL:" + doubleToString(glb_minimal, 1) + ";";
165
			answer(ans);
165
			answer(ans);
-
 
166
			ans = "POWER:";
166
			ans = "POWER:" + (onoff) ? "ON;" : "OFF;";
167
			ans.append((onoff) ? "ON;" : "OFF;");
167
			answer(ans);
168
			answer(ans);
168
			
169
			
169
			hta = HtmlServer->getHConfig();
170
			hta = HtmlServer->getHConfig();
170
 
171
 
171
			while (hta)
172
			while (hta)
Line 618... Line 619...
618
	write(s1, stream.str().c_str(), stream.str().length());
619
	write(s1, stream.str().c_str(), stream.str().length());
619
 
620
 
620
	while (akt)
621
	while (akt)
621
	{
622
	{
622
		stream << "CONFIG:ROOM:" << akt->rnum << ":" << string(akt->rname) << ":" <<
623
		stream << "CONFIG:ROOM:" << akt->rnum << ":" << string(akt->rname) << ":" <<
623
			setprecision(2) << akt->soll << ":" << akt->night << ":" <<
624
			setprecision(1) << akt->soll << ":" << akt->night << ":" <<
624
			akt->minimal << ":" << timeToStr(akt->start) << ":" << timeToStr(akt->end) << ":" <<
625
			akt->minimal << ":" << timeToStr(akt->start) << ":" << timeToStr(akt->end) << ":" <<
625
			akt->wstart << ":" << akt->wend << ";";
626
			timeToStr(akt->wstart) << ":" << timeToStr(akt->wend) << ";";
626
		write(s1, stream.str().c_str(), stream.str().length());
627
		write(s1, stream.str().c_str(), stream.str().length());
627
 
628
 
628
		akt = akt->next;
629
		akt = akt->next;
629
	}
630
	}
630
}
631
}