Update the state number on Select Control mode function
This commit is contained in:
parent
b47081204d
commit
8b159a6a2c
|
@ -15,7 +15,7 @@ public static class Controller
|
|||
{
|
||||
//return EssMode.OptimizeSelfConsumption;
|
||||
|
||||
return s.StateMachine.State != 16 ? EssMode.Off
|
||||
return s.StateMachine.State != 23 ? EssMode.Off
|
||||
: s.MustHeatBatteries() ? EssMode.HeatBatteries
|
||||
: s.MustDoCalibrationCharge() ? EssMode.CalibrationCharge
|
||||
: s.MustReachMinSoc() ? EssMode.ReachMinSoc
|
||||
|
|
Loading…
Reference in New Issue