Go to hold state on startup

git-svn-id: http://moon:8086/svn/projects/HendiControl@286 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-05-03 20:58:47 +00:00
parent 6f0d6a753e
commit fd5d19a96f
+2
View File
@@ -255,6 +255,8 @@ class Controller(TimerListener):
if self.ovenState == ovenStates.IDLE:
if (ctrl_theta + 1.0) < self.ctrl_theta_soll:
ovenStateNext = ovenStates.HEAT
else:
ovenStateNext = ovenStates.HOLD
if self.ovenState == ovenStates.HEAT:
if (ctrl_theta + 1.0) >= self.ctrl_theta_soll: