Serious iPearl bug fix, flow setting timeout time increased, version 2.1.183.

This commit is contained in:
Milan Hanajik
2016-01-10 12:39:20 +01:00
parent d84c3ca4d8
commit 66a31fc1e9
6 changed files with 19 additions and 6 deletions
+5
View File
@@ -99,5 +99,10 @@ namespace Config.Entities
return result;
}
public override string ToString()
{
return string.Format("{0}, rev.{1}", Name, Revision);
}
}
}
+7
View File
@@ -117,5 +117,12 @@ namespace Config.Entities
return result;
}
public override string ToString()
{
string partStr = (Part > 0) ? string.Format(", part {0}", Part) : string.Empty;
return string.Format("{0}({1}{2}){3}", Name, Publish ? "P" : "-", Evaluate ? "E" : "-", partStr);
}
}
}
@@ -230,9 +230,10 @@ namespace TBF.BenchControl.DataEntry.iPerl
wm.PurchaseOrder = PurchaseOrder;
if (Sequences.SequenceBase.WaterMeters != null &&
Sequences.SequenceBase.WaterMeters.Count > wm.WMPosition)
wm.WMPosition > 0 &&
wm.WMPosition <= Sequences.SequenceBase.WaterMeters.Count)
{
WaterMeters.iPerl.WaterMeter iPerl = Sequences.SequenceBase.WaterMeters[wm.WMPosition] as WaterMeters.iPerl.WaterMeter;
WaterMeters.iPerl.WaterMeter iPerl = Sequences.SequenceBase.WaterMeters[wm.WMPosition - 1] as WaterMeters.iPerl.WaterMeter;
if (iPerl != null)
{
#if IPERLST
@@ -88,7 +88,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
//--------------------------------
State.Create("FlyingStart : Setting the flow")
.AddOperation(checkUiOp)
.AddOperation(outPath.RegulValve.SetFlowOp(outPath.FlowMeter, test.Qfrom, test.Qto, outPath.PidCoef, RefFlow, 600)) /// timeout = 10 min.
.AddOperation(outPath.RegulValve.SetFlowOp(outPath.FlowMeter, test.Qfrom, test.Qto, outPath.PidCoef, RefFlow, 990)) /// timeout = 16.5 min.
.EnterState();
do
{
@@ -143,7 +143,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
//------------------------------------------------
State.Create("FlyingStartMassCollection : Setting the flow")
.AddOperation(checkUiOp)
.AddOperation(outPath.RegulValve.SetFlowOp(outPath.FlowMeter, test.Qfrom, test.Qto, outPath.PidCoef, RefFlow, 600)) /// timeout = 10 min.
.AddOperation(outPath.RegulValve.SetFlowOp(outPath.FlowMeter, test.Qfrom, test.Qto, outPath.PidCoef, RefFlow, 990)) /// timeout = 16.5 min.
.EnterState();
do
{
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.1.182.1")]
[assembly: AssemblyFileVersion("2.1.182.1")]
[assembly: AssemblyVersion("2.1.183.1")]
[assembly: AssemblyFileVersion("2.1.183.1")]