Diverter calibration wurks OK, TODO: Display transition, param.ref.flowm.

Version 1.5.57.
This commit is contained in:
Milan Hanajik
2015-06-12 19:52:29 +02:00
parent 2d64f91c9a
commit 2b72e855f1
2 changed files with 19 additions and 7 deletions
@@ -272,7 +272,10 @@ ulong valvesToInvert,
{
/// SendCommand() arguments to clear the emergency stop state
sendCommandFlag = true;
this.refNr = 0;
this.refPulses = 0;
this.cmd = Command.Stop;
this.testMethods = 0;
this.stopDevs = StopDevs.All;
}
else if (scheduleDiverterToTank)
@@ -280,6 +283,9 @@ ulong valvesToInvert,
/// Reset all SendCommand() arguments
sendCommandFlag = true;
this.cmd = Command.Start;
this.refNr = flowmeterNr4DiverterTest;
this.refPulses = int.MaxValue;
this.testMethods = TestMethods.Diverter;
this.stopDevs = 0;
scheduleDiverterToTank = false;
}
@@ -288,7 +294,10 @@ ulong valvesToInvert,
/// Reset all SendCommand() arguments
sendCommandFlag = true;
this.cmd = Command.Stop;
this.stopDevs = StopDevs.Diverter;
this.refNr = flowmeterNr4DiverterTest;
this.refPulses = 0;
this.testMethods = TestMethods.Diverter;
this.stopDevs = StopDevs.Diverter;
scheduleDiverterToSink = false;
}
else if (scheduleReadDiverterTransition)
@@ -296,7 +305,10 @@ ulong valvesToInvert,
/// Reset all SendCommand() arguments
sendCommandFlag = true;
this.cmd = Command.ReadDivTransition;
this.stopDevs = 0;
this.refNr = flowmeterNr4DiverterTest;
this.refPulses = 0;
this.testMethods = TestMethods.Diverter;
this.stopDevs = 0;
scheduleReadDiverterTransition = false;
}
else
@@ -304,11 +316,11 @@ ulong valvesToInvert,
/// Reset all SendCommand() arguments
sendCommandFlag = false;
this.cmd = Command.None;
this.refNr = 0;
this.refPulses = 0;
this.testMethods = 0;
this.stopDevs = 0;
}
this.refNr = 0;
this.refPulses = 0;
this.testMethods = 0;
this.filterConstant = 0;
this.regConst = 0;
this.shortImp = 0;
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.5.56.1")]
[assembly: AssemblyFileVersion("1.5.56.1")]
[assembly: AssemblyVersion("1.5.57.1")]
[assembly: AssemblyFileVersion("1.5.57.1")]