Refactorization : IRegValve.position is double, Uni.RegValve.adcChannel properly initialized, ver. 3.1.1603
This commit is contained in:
@@ -40,7 +40,7 @@ namespace TBF.BenchControl.TestMethods.Adjustment
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace TBF.BenchControl.TestMethods.DiverterTest
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace TBF.BenchControl.TestMethods.Endurance
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace TBF.BenchControl.TestMethods.FixedStart
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartAdvanced
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartDeferredEval
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartMassCollAdvanced
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartMassCollDeferredEval
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartMassCollection
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartTankCollection
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace TBF.BenchControl.TestMethods.FlowAdjustment
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartFirstRepetWithMassColl
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollComparative
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollProlonged
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartTankCollection
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(devices.RegValve is GenericDevices.IRegulValve))
|
||||
if (!(devices.RegValve is GenericDevices.IRegValve))
|
||||
{
|
||||
/// Regulation valve is missing
|
||||
message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve);
|
||||
|
||||
Reference in New Issue
Block a user