(1) DEWA_300 component added, (2) DEWA_300 symbol added, (3) IZRAEL_200 symbol bug fix, ver. 2.18.1151
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ namespace Config
|
|||||||
public const int CompoundWMsCount = 1;
|
public const int CompoundWMsCount = 1;
|
||||||
public const int HeatMetersCount = 0;
|
public const int HeatMetersCount = 0;
|
||||||
public const int MaxPartNr = WMsCount / LineSize;
|
public const int MaxPartNr = WMsCount / LineSize;
|
||||||
#elif FUZHOU_300 || FUZHOU_150 || IZRAEL_200 || PUCHONG_200 || GENESIS || SLM_150 || PETERSBURG_200
|
#elif FUZHOU_300 || FUZHOU_150 || IZRAEL_200 || PUCHONG_200 || GENESIS || SLM_150 || PETERSBURG_200 || DEWA_300
|
||||||
public const int WMsCount = 6;
|
public const int WMsCount = 6;
|
||||||
public const int LineSize = 6;
|
public const int LineSize = 6;
|
||||||
public const int CompoundWMsCount = 3;
|
public const int CompoundWMsCount = 3;
|
||||||
|
|||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("2.18.1122.0")]
|
[assembly: AssemblyVersion("2.18.1151.0")]
|
||||||
[assembly: AssemblyFileVersion("2.18.1122.0")]
|
[assembly: AssemblyFileVersion("2.18.1151.0")]
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
EnduranceCycleStop = 13,
|
EnduranceCycleStop = 13,
|
||||||
}
|
}
|
||||||
|
|
||||||
#if FUZHOU_300 || IZRAEL_200 || TORINO_50 || BADGER_MALA_TRAT || BADGER_STREDNA_TRAT || TURA_IPERL || TURA_SPECIAL || BADGER_VELKA_TRAT || PUCHONG_200 || SLM_50 || GENESIS || MALTA_WSD25 || SLM_END || WARSAW_END || BERLIN || SLM_150 || PETERSBURG_50 || PETERSBURG_200 || KEMPNO_50 || BAHRAIN_50 || RUM_MOB || KRAKOW_50 || JUZNA_AFRIKA_50 || IZRAEL_25 || ZAMBIA || ZODINO || FEWA_50 || SENTEC || FUZHOU_100 || CEVAK_200 || IZRAEL_50
|
#if FUZHOU_300 || IZRAEL_200 || TORINO_50 || BADGER_MALA_TRAT || BADGER_STREDNA_TRAT || TURA_IPERL || TURA_SPECIAL || BADGER_VELKA_TRAT || PUCHONG_200 || SLM_50 || GENESIS || MALTA_WSD25 || SLM_END || WARSAW_END || BERLIN || SLM_150 || PETERSBURG_50 || PETERSBURG_200 || DEWA_300 || KEMPNO_50 || BAHRAIN_50 || RUM_MOB || KRAKOW_50 || JUZNA_AFRIKA_50 || IZRAEL_25 || ZAMBIA || ZODINO || FEWA_50 || SENTEC || FUZHOU_100 || CEVAK_200 || IZRAEL_50
|
||||||
public enum StatusP : ulong
|
public enum StatusP : ulong
|
||||||
{
|
{
|
||||||
RefFlowMeterMask = 0x7, /// bits 0,1,2
|
RefFlowMeterMask = 0x7, /// bits 0,1,2
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
public uint[,] RegValveCalib = new uint[8,2] {{100,500},{100,500},{100,500},{100,500},{100,500},{100,500},{100,500},{100,500}};
|
public uint[,] RegValveCalib = new uint[8,2] {{100,500},{100,500},{100,500},{100,500},{100,500},{100,500},{100,500},{100,500}};
|
||||||
public byte[] MeretRS485Address = new byte[4];
|
public byte[] MeretRS485Address = new byte[4];
|
||||||
public float[] EtCalib = new float[6] { 1, 1, 1, 1, 1, 1 };
|
public float[] EtCalib = new float[6] { 1, 1, 1, 1, 1, 1 };
|
||||||
#elif GENESIS || BERLIN || PETERSBURG_200 || RUM_MOB
|
#elif GENESIS || BERLIN || PETERSBURG_200 || DEWA_300 || RUM_MOB
|
||||||
public uint[,] RegValveCalib = new uint[16, 2] { {100,500}, {100,500}, {100,500}, {100,500},
|
public uint[,] RegValveCalib = new uint[16, 2] { {100,500}, {100,500}, {100,500}, {100,500},
|
||||||
{100,500}, {100,500}, {100,500}, {100,500},
|
{100,500}, {100,500}, {100,500}, {100,500},
|
||||||
{100,500}, {100,500}, {100,500}, {100,500},
|
{100,500}, {100,500}, {100,500}, {100,500},
|
||||||
@@ -297,7 +297,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
ControlComponent3Munich.UserControl1 ctrlBrdComponent,
|
ControlComponent3Munich.UserControl1 ctrlBrdComponent,
|
||||||
#elif FUZHOU_300
|
#elif FUZHOU_300
|
||||||
ControlComponent3F300.UserControl1 ctrlBrdComponent,
|
ControlComponent3F300.UserControl1 ctrlBrdComponent,
|
||||||
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200 || DEWA_300
|
||||||
ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent,
|
ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent,
|
||||||
#else /// all newer benches
|
#else /// all newer benches
|
||||||
ControlComponent_Torino2015.UserControl1 ctrlBrdComponent,
|
ControlComponent_Torino2015.UserControl1 ctrlBrdComponent,
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
public float Pressure(int prsNr0) { return ctrlBrdComponent.pressure[prsNr0]; }
|
public float Pressure(int prsNr0) { return ctrlBrdComponent.pressure[prsNr0]; }
|
||||||
public float Temperature(int tmpNr0) { return ctrlBrdComponent.temperature[tmpNr0]; }
|
public float Temperature(int tmpNr0) { return ctrlBrdComponent.temperature[tmpNr0]; }
|
||||||
public RegulValveState RegulValveState(int rvNr1) { return (RegulValveState)ctrlBrdComponent.rValveStatus[rvNr1 - 1]; }
|
public RegulValveState RegulValveState(int rvNr1) { return (RegulValveState)ctrlBrdComponent.rValveStatus[rvNr1 - 1]; }
|
||||||
#if GENESIS || BERLIN || PETERSBURG_200
|
#if GENESIS || BERLIN || PETERSBURG_200 || DEWA_300
|
||||||
public UInt128 RRoute { get { return ((UInt128)ctrlBrdComponent.rRouteH << 64) | (UInt128)ctrlBrdComponent.rRoute; } }
|
public UInt128 RRoute { get { return ((UInt128)ctrlBrdComponent.rRouteH << 64) | (UInt128)ctrlBrdComponent.rRoute; } }
|
||||||
#else
|
#else
|
||||||
public UInt128 RRoute { get { return ctrlBrdComponent.rRoute; } }
|
public UInt128 RRoute { get { return ctrlBrdComponent.rRoute; } }
|
||||||
@@ -94,9 +94,9 @@ namespace TBF.BenchControl.Elde
|
|||||||
return ctrlBrdComponent.Analogy[rvNr1 - 1]; /// Fixes bug: RValvePosition returns 0 all the time
|
return ctrlBrdComponent.Analogy[rvNr1 - 1]; /// Fixes bug: RValvePosition returns 0 all the time
|
||||||
}
|
}
|
||||||
public float DivSamples(int time, int divIx0)
|
public float DivSamples(int time, int divIx0)
|
||||||
{
|
{
|
||||||
#if MUNICH
|
#if MUNICH || IZRAEL_200
|
||||||
return ctrlBrdComponent.DIVSamples[time, 0];
|
return ctrlBrdComponent.DIVSamples[time, 0];
|
||||||
#else
|
#else
|
||||||
return ctrlBrdComponent.DIVSamples[time, divIx0];
|
return ctrlBrdComponent.DIVSamples[time, divIx0];
|
||||||
#endif
|
#endif
|
||||||
@@ -158,7 +158,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
private ControlComponent3Munich.UserControl1 ctrlBrdComponent;
|
private ControlComponent3Munich.UserControl1 ctrlBrdComponent;
|
||||||
#elif FUZHOU_300
|
#elif FUZHOU_300
|
||||||
private ControlComponent3F300.UserControl1 ctrlBrdComponent;
|
private ControlComponent3F300.UserControl1 ctrlBrdComponent;
|
||||||
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200 || DEWA_300
|
||||||
private ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent;
|
private ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent;
|
||||||
#else /// newer benches
|
#else /// newer benches
|
||||||
private ControlComponent_Torino2015.UserControl1 ctrlBrdComponent;
|
private ControlComponent_Torino2015.UserControl1 ctrlBrdComponent;
|
||||||
@@ -174,7 +174,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
public ControlComWrap(ControlComponent3Munich.UserControl1 ctrlBrdComponent)
|
public ControlComWrap(ControlComponent3Munich.UserControl1 ctrlBrdComponent)
|
||||||
#elif FUZHOU_300
|
#elif FUZHOU_300
|
||||||
public ControlComWrap(ControlComponent3F300.UserControl1 ctrlBrdComponent)
|
public ControlComWrap(ControlComponent3F300.UserControl1 ctrlBrdComponent)
|
||||||
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200 || DEWA_300
|
||||||
public ControlComWrap(ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent)
|
public ControlComWrap(ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent)
|
||||||
#else /// all newer benches
|
#else /// all newer benches
|
||||||
public ControlComWrap(ControlComponent_Torino2015.UserControl1 ctrlBrdComponent)
|
public ControlComWrap(ControlComponent_Torino2015.UserControl1 ctrlBrdComponent)
|
||||||
@@ -225,7 +225,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
log.FatalFormat("Component: {0}", ControlComponent3Munich.UserControl1.ProgVersion);
|
log.FatalFormat("Component: {0}", ControlComponent3Munich.UserControl1.ProgVersion);
|
||||||
#elif FUZHOU_300
|
#elif FUZHOU_300
|
||||||
log.FatalFormat("Component: {0}", ControlComponent3F300.UserControl1.ProgVersion);
|
log.FatalFormat("Component: {0}", ControlComponent3F300.UserControl1.ProgVersion);
|
||||||
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200 || DEWA_300
|
||||||
log.FatalFormat("Component: {0}", ControlComponent_Izrael2014.UserControl1.ProgVersion);
|
log.FatalFormat("Component: {0}", ControlComponent_Izrael2014.UserControl1.ProgVersion);
|
||||||
#else /// newer benches
|
#else /// newer benches
|
||||||
log.FatalFormat("Component: {0}", ControlComponent_Torino2015.UserControl1.ProgVersion);
|
log.FatalFormat("Component: {0}", ControlComponent_Torino2015.UserControl1.ProgVersion);
|
||||||
@@ -353,7 +353,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
bool bit39 = (route & 0x00FC000000000000) != 0; /// true if any of bits 50 through 55 is set
|
bool bit39 = (route & 0x00FC000000000000) != 0; /// true if any of bits 50 through 55 is set
|
||||||
route = route & 0xFF03FFFFFFFFFFFF;
|
route = route & 0xFF03FFFFFFFFFFFF;
|
||||||
if (bit39) route = route | 0x0000008000000000;
|
if (bit39) route = route | 0x0000008000000000;
|
||||||
#elif PETERSBURG_200
|
#elif PETERSBURG_200 || DEWA_300
|
||||||
///
|
///
|
||||||
/// The following code deals with the situation that all pumps share bit #80.
|
/// The following code deals with the situation that all pumps share bit #80.
|
||||||
/// In settings the bits of pumps should be sent as follows: P1=64, P2=65, P3=66, P4=67 and P5=68
|
/// In settings the bits of pumps should be sent as follows: P1=64, P2=65, P3=66, P4=67 and P5=68
|
||||||
@@ -384,7 +384,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
#elif BADGER_MALA_TRAT || BADGER_VELKA_TRAT || FUZHOU_50 || FUZHOU_150 || FUZHOU_300 || IZRAEL_200 || PUCHONG_200 || TORINO_50 || TORUN_50 || CEVAK_40 || MURES_40
|
#elif BADGER_MALA_TRAT || BADGER_VELKA_TRAT || FUZHOU_50 || FUZHOU_150 || FUZHOU_300 || IZRAEL_200 || PUCHONG_200 || TORINO_50 || TORUN_50 || CEVAK_40 || MURES_40
|
||||||
ctrlBrdComponent.SendCommand((uint)cmd, (byte)refFlowMeterNr, (ulong)route, (uint)totalRefPulses, (uint)testMethods,
|
ctrlBrdComponent.SendCommand((uint)cmd, (byte)refFlowMeterNr, (ulong)route, (uint)totalRefPulses, (uint)testMethods,
|
||||||
Convert.ToSingle(filterConstants[0]), fmFreq, (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
Convert.ToSingle(filterConstants[0]), fmFreq, (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
||||||
#elif BERLIN || SLM_150 || PETERSBURG_200
|
#elif BERLIN || SLM_150 || PETERSBURG_200 || DEWA_300
|
||||||
uint[] pulsesArr = new uint[] { (uint)totalRefPulses, (uint)massRefPulses };
|
uint[] pulsesArr = new uint[] { (uint)totalRefPulses, (uint)massRefPulses };
|
||||||
ctrlBrdComponent.SendCommand((uint)cmd, (byte)refFlowMeterNr, (ulong)(route & (UInt128)0xFFFFFFFFFFFFFFFF), (ulong)(route >> 64), pulsesArr, (uint)testMethods,
|
ctrlBrdComponent.SendCommand((uint)cmd, (byte)refFlowMeterNr, (ulong)(route & (UInt128)0xFFFFFFFFFFFFFFFF), (ulong)(route >> 64), pulsesArr, (uint)testMethods,
|
||||||
Convert.ToSingle(filterConstants[0]), fmFreq, (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
Convert.ToSingle(filterConstants[0]), fmFreq, (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ namespace TBF.BenchControl.Elde.Diverter
|
|||||||
{
|
{
|
||||||
divNrFromName = nextIdx;
|
divNrFromName = nextIdx;
|
||||||
}
|
}
|
||||||
#if GENESIS || PETERSBURG_50 || PETERSBURG_200 || FUZHOU_50 || FUZHOU_150 || FUZHOU_300
|
#if GENESIS || PETERSBURG_50 || PETERSBURG_200 || DEWA_300 || FUZHOU_50 || FUZHOU_150 || FUZHOU_300
|
||||||
flowMtrNr4Cmd = divNrFromName + 1;
|
flowMtrNr4Cmd = divNrFromName + 1;
|
||||||
#elif BADGER_STREDNA_TRAT
|
#elif BADGER_STREDNA_TRAT
|
||||||
flowMtrNr4Cmd = (divNrFromName == 1) ? 1 : ((divNrFromName == 2) ? 9 : 20);
|
flowMtrNr4Cmd = (divNrFromName == 1) ? 1 : ((divNrFromName == 2) ? 9 : 20);
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ namespace TBF.BenchControl
|
|||||||
public static void InitializeBoardEtc(ControlComponent3Munich.UserControl1 ctrlBrdComponent)
|
public static void InitializeBoardEtc(ControlComponent3Munich.UserControl1 ctrlBrdComponent)
|
||||||
#elif FUZHOU_300
|
#elif FUZHOU_300
|
||||||
public static void InitializeBoardEtc(ControlComponent3F300.UserControl1 ctrlBrdComponent)
|
public static void InitializeBoardEtc(ControlComponent3F300.UserControl1 ctrlBrdComponent)
|
||||||
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200 || DEWA_300
|
||||||
public static void InitializeBoardEtc(ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent)
|
public static void InitializeBoardEtc(ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent)
|
||||||
#else /// all newer benches
|
#else /// all newer benches
|
||||||
public static void InitializeBoardEtc(ControlComponent_Torino2015.UserControl1 ctrlBrdComponent)
|
public static void InitializeBoardEtc(ControlComponent_Torino2015.UserControl1 ctrlBrdComponent)
|
||||||
|
|||||||
Generated
+1
-1
@@ -673,7 +673,7 @@ namespace TBF
|
|||||||
#elif FUZHOU_300
|
#elif FUZHOU_300
|
||||||
private ControlComponent3F300.UserControl1 ctrlBrdComponent;
|
private ControlComponent3F300.UserControl1 ctrlBrdComponent;
|
||||||
private TBF.Screens.ProcessTabPageCtrl6 processTabPageCtrl;
|
private TBF.Screens.ProcessTabPageCtrl6 processTabPageCtrl;
|
||||||
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200 || DEWA_300
|
||||||
private ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent;
|
private ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent;
|
||||||
private TBF.Screens.ProcessTabPageCtrl6 processTabPageCtrl;
|
private TBF.Screens.ProcessTabPageCtrl6 processTabPageCtrl;
|
||||||
#elif TURA_SPECIAL || BADGER_MALA_TRAT || BADGER_STREDNA_TRAT || BADGER_VELKA_TRAT || SLM_END || WARSAW_END || RUM_MOB || SENTEC || CEVAK_200
|
#elif TURA_SPECIAL || BADGER_MALA_TRAT || BADGER_STREDNA_TRAT || BADGER_VELKA_TRAT || SLM_END || WARSAW_END || RUM_MOB || SENTEC || CEVAK_200
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.18.1149.0")]
|
[assembly: AssemblyVersion("2.18.1151.0")]
|
||||||
[assembly: AssemblyFileVersion("2.18.1149.0")]
|
[assembly: AssemblyFileVersion("2.18.1151.0")]
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user