DEWA_300 symbol usage fixed, ver. 2.18.1158
This commit is contained in:
@@ -122,8 +122,12 @@ namespace TBF.BenchControl.Elde
|
|||||||
/// Initialization data updated by constructors of children components
|
/// Initialization data updated by constructors of children components
|
||||||
/// and sent to 'controlCom2panel' by SendCalibData() method.
|
/// and sent to 'controlCom2panel' by SendCalibData() method.
|
||||||
///
|
///
|
||||||
|
#if DEWA_300
|
||||||
|
public float[,] TempCalibData = new float[16, 5];
|
||||||
|
#else
|
||||||
public float[,] TempCalibData = new float[8, 5];
|
public float[,] TempCalibData = new float[8, 5];
|
||||||
public uint[] DiverterEdge; /// Created and initialized in this.Initialize()
|
#endif
|
||||||
|
public uint[] DiverterEdge; /// Created and initialized in this.Initialize()
|
||||||
public byte MeretProtocol = 0;
|
public byte MeretProtocol = 0;
|
||||||
|
|
||||||
// Array length is the reference flowmeters count plus one
|
// Array length is the reference flowmeters count plus one
|
||||||
@@ -131,13 +135,20 @@ 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 || DEWA_300 || RUM_MOB
|
#elif GENESIS || BERLIN || PETERSBURG_200 || 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},
|
||||||
{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[7] { 1, 1, 1, 1, 1, 1, 1 };
|
public float[] EtCalib = new float[7] { 1, 1, 1, 1, 1, 1, 1 };
|
||||||
|
#elif DEWA_300
|
||||||
|
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} };
|
||||||
|
public byte[] MeretRS485Address = new byte[4];
|
||||||
|
public float[] EtCalib = new float[8] { 1, 1, 1, 1, 1, 1, 1, 1 };
|
||||||
#elif MUNICH || TORINO_50 || BADGER_MALA_TRAT || BADGER_STREDNA_TRAT || TORUN_50 || CEVAK_40 || TURA_IPERL || TURA_SPECIAL || MURES_40 || FUZHOU_50 || SLM_50 || PETERSBURG_50 || KEMPNO_50 || BAHRAIN_50 || KRAKOW_50 || JUZNA_AFRIKA_50 || IZRAEL_25 || ZAMBIA || ZODINO || FEWA_50 || FUZHOU_100
|
#elif MUNICH || TORINO_50 || BADGER_MALA_TRAT || BADGER_STREDNA_TRAT || TORUN_50 || CEVAK_40 || TURA_IPERL || TURA_SPECIAL || MURES_40 || FUZHOU_50 || SLM_50 || PETERSBURG_50 || KEMPNO_50 || BAHRAIN_50 || KRAKOW_50 || JUZNA_AFRIKA_50 || IZRAEL_25 || ZAMBIA || ZODINO || FEWA_50 || FUZHOU_100
|
||||||
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];
|
||||||
@@ -297,7 +308,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 || DEWA_300
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
||||||
ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent,
|
ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent,
|
||||||
#else /// all newer benches
|
#else /// all newer benches
|
||||||
ControlComponent_Torino2015.UserControl1 ctrlBrdComponent,
|
ControlComponent_Torino2015.UserControl1 ctrlBrdComponent,
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
public UInt128 RRoute { get { return ctrlBrdComponent.rRoute; } }
|
public UInt128 RRoute { get { return ctrlBrdComponent.rRoute; } }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if GENESIS || KEMPNO_50 || KRAKOW_50 || BAHRAIN_50 || BADGER_STREDNA_TRAT || JUZNA_AFRIKA_50 || IZRAEL_25 || ZAMBIA || ZODINO || FEWA_50 || SENTEC || FUZHOU_100 || CEVAK_200 || IZRAEL_50
|
#if GENESIS || KEMPNO_50 || KRAKOW_50 || BAHRAIN_50 || BADGER_STREDNA_TRAT || JUZNA_AFRIKA_50 || IZRAEL_25 || ZAMBIA || ZODINO || FEWA_50 || SENTEC || FUZHOU_100 || CEVAK_200 || IZRAEL_50 || DEWA_300
|
||||||
public uint DivTime(int id) { return ctrlBrdComponent.divTime[id]; }
|
public uint DivTime(int id) { return ctrlBrdComponent.divTime[id]; }
|
||||||
public void SetDivLimit(int divNo, uint limLoPct, uint limHiPct)
|
public void SetDivLimit(int divNo, uint limLoPct, uint limHiPct)
|
||||||
{
|
{
|
||||||
@@ -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 || DEWA_300
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
||||||
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 || DEWA_300
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
||||||
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 || DEWA_300
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
||||||
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);
|
||||||
@@ -384,11 +384,11 @@ 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 || DEWA_300
|
#elif BERLIN || SLM_150 || PETERSBURG_200
|
||||||
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);
|
||||||
#elif GENESIS
|
#elif GENESIS || 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,
|
||||||
filterConstants, fmFreq, (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
filterConstants, fmFreq, (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
||||||
|
|||||||
@@ -203,7 +203,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 || DEWA_300
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
||||||
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
+2
-2
@@ -673,10 +673,10 @@ 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 || DEWA_300
|
#elif IZRAEL_200 || PUCHONG_200 || GENESIS || BERLIN || SLM_150 || PETERSBURG_200
|
||||||
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 || DEWA_300
|
||||||
private ControlComponent_Torino2015.UserControl1 ctrlBrdComponent;
|
private ControlComponent_Torino2015.UserControl1 ctrlBrdComponent;
|
||||||
private TBF.Screens.ProcessTabPageCtrl6 processTabPageCtrl;
|
private TBF.Screens.ProcessTabPageCtrl6 processTabPageCtrl;
|
||||||
#elif TORINO_50 || TORUN_50 || CEVAK_40 || MURES_40 || FUZHOU_50 || MALTA_WSD25 || PETERSBURG_50 || KEMPNO_50 || BAHRAIN_50 || KRAKOW_50 || JUZNA_AFRIKA_50 || IZRAEL_25 || ZAMBIA || ZODINO || FEWA_50 || FUZHOU_100
|
#elif TORINO_50 || TORUN_50 || CEVAK_40 || MURES_40 || FUZHOU_50 || MALTA_WSD25 || PETERSBURG_50 || KEMPNO_50 || BAHRAIN_50 || KRAKOW_50 || JUZNA_AFRIKA_50 || IZRAEL_25 || ZAMBIA || ZODINO || FEWA_50 || FUZHOU_100
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.18.1156.0")]
|
[assembly: AssemblyVersion("2.18.1158.0")]
|
||||||
[assembly: AssemblyFileVersion("2.18.1156.0")]
|
[assembly: AssemblyFileVersion("2.18.1158.0")]
|
||||||
|
|||||||
Reference in New Issue
Block a user