As sent to Munich
This commit is contained in:
@@ -167,7 +167,7 @@ namespace TBF.BenchControl.Elde.Valve
|
||||
public void Start()
|
||||
{
|
||||
controlBoard.SetValves(switchPoints[0].MasksOpen, switchPoints[0].MasksClose);
|
||||
swStartTime = StateMachine.CurrentTime;
|
||||
swStartTime = StateMachine.Time;
|
||||
nextIx = 1;
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ namespace TBF.BenchControl.Elde.Valve
|
||||
{
|
||||
if (nextIx >= switchPoints.Count) return Event.ValvesSet;
|
||||
|
||||
if (StateMachine.CurrentTime >= swStartTime + switchPoints[nextIx].TimeSec)
|
||||
if (StateMachine.Time >= swStartTime + switchPoints[nextIx].TimeSec)
|
||||
{
|
||||
controlBoard.SetValves(switchPoints[nextIx].MasksOpen, switchPoints[nextIx].MasksClose);
|
||||
nextIx++;
|
||||
|
||||
Reference in New Issue
Block a user