As sent to Munich

This commit is contained in:
Milan Hanajik
2014-08-01 08:36:17 +02:00
parent 836daaa5a1
commit fd2db3e229
20 changed files with 254 additions and 131 deletions
@@ -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++;