SLM-END component added, master branch modifications for SLM_END and WARSAW_END, ver. 2.12.378
This commit is contained in:
+3
-3
@@ -48,11 +48,11 @@ namespace Config
|
|||||||
public const int LineSize = 12;
|
public const int LineSize = 12;
|
||||||
public const int CompoundWMsCount = 1;
|
public const int CompoundWMsCount = 1;
|
||||||
public const int HeatMetersCount = 6;
|
public const int HeatMetersCount = 6;
|
||||||
#elif SLM_END
|
#elif SLM_END || WARSAW_END
|
||||||
public const int WMsCount = 12;
|
public const int WMsCount = 6;
|
||||||
public const int LineSize = 6;
|
public const int LineSize = 6;
|
||||||
public const int CompoundWMsCount = 1;
|
public const int CompoundWMsCount = 1;
|
||||||
public const int HeatMetersCount = 0;
|
public const int HeatMetersCount = 3;
|
||||||
#elif MALTA_WSD25
|
#elif MALTA_WSD25
|
||||||
public const int WMsCount = 6;
|
public const int WMsCount = 6;
|
||||||
public const int LineSize = 6;
|
public const int LineSize = 6;
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ namespace Config.Entities
|
|||||||
[Description("vždy")] Always = 1,
|
[Description("vždy")] Always = 1,
|
||||||
[Description("na obrazovku")] OnScreen = 2,
|
[Description("na obrazovku")] OnScreen = 2,
|
||||||
[Description("interně")] Internal = 3,
|
[Description("interně")] Internal = 3,
|
||||||
#elif IPERLST || IPERLST_SPECIAL || SLM_50
|
#elif IPERLST || IPERLST_SPECIAL || SLM_50 || SLM_END
|
||||||
/// slovensky
|
/// slovensky
|
||||||
[Description("nikdy")] Never = 0,
|
[Description("nikdy")] Never = 0,
|
||||||
[Description("vždy")] Always = 1,
|
[Description("vždy")] Always = 1,
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
ResetShapesOfPulses = 8,
|
ResetShapesOfPulses = 8,
|
||||||
}
|
}
|
||||||
|
|
||||||
#if FUZHOU300 || PT200IL || TORINO50 || BADGER_MALA_TRAT || IPERLST || IPERLST_SPECIAL || BADGER_VELKA_TRAT || PUCHONG_PT200 || SLM_50 || GENESIS || MALTA_WSD25
|
#if FUZHOU300 || PT200IL || TORINO50 || BADGER_MALA_TRAT || IPERLST || IPERLST_SPECIAL || BADGER_VELKA_TRAT || PUCHONG_PT200 || SLM_50 || GENESIS || MALTA_WSD25 || SLM_END || WARSAW_END
|
||||||
public enum StatusP : ulong
|
public enum StatusP : ulong
|
||||||
{
|
{
|
||||||
RefFlowMeterMask = 0x7,
|
RefFlowMeterMask = 0x7,
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
#if DN100 || FUZHOU150 || FUZHOU300 || PT200IL || PUCHONG_PT200 || GENESIS
|
#if DN100 || FUZHOU150 || FUZHOU300 || PT200IL || PUCHONG_PT200 || GENESIS
|
||||||
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 MUNICH || TORINO50 || BADGER_MALA_TRAT || TORUN_PT50_2015 || CEVAK_PT40_272 || IPERLST || IPERLST_SPECIAL || MURES_PT40 || FUZHOU_40 || SLM_50
|
#elif MUNICH || TORINO50 || BADGER_MALA_TRAT || TORUN_PT50_2015 || CEVAK_PT40_272 || IPERLST || IPERLST_SPECIAL || MURES_PT40 || FUZHOU_40 || SLM_50 || SLM_END || WARSAW_END
|
||||||
public byte[] MeretRS485Address = new byte[4];
|
public byte[] MeretRS485Address = new byte[4];
|
||||||
public float[] EtCalib = new float[5] { 1, 1, 1, 1, 1 };
|
public float[] EtCalib = new float[5] { 1, 1, 1, 1, 1 };
|
||||||
#elif MALTA_WSD25
|
#elif MALTA_WSD25
|
||||||
|
|||||||
@@ -57,14 +57,16 @@ namespace TBF.BenchControl.Elde
|
|||||||
public ulong DigitalInputs { get { return (ulong)ctrlBrdComponent.Vstupy; } }
|
public ulong DigitalInputs { get { return (ulong)ctrlBrdComponent.Vstupy; } }
|
||||||
public float AnalogInput(int adcNr0) { return ctrlBrdComponent.Analogy[adcNr0]; }
|
public float AnalogInput(int adcNr0) { return ctrlBrdComponent.Analogy[adcNr0]; }
|
||||||
public uint AnalogInputRaw(int adcNr0, int bank) { return ctrlBrdComponent.AnalogyRaw[adcNr0, bank]; } /// bank0=RV, bank1=Temp
|
public uint AnalogInputRaw(int adcNr0, int bank) { return ctrlBrdComponent.AnalogyRaw[adcNr0, bank]; } /// bank0=RV, bank1=Temp
|
||||||
#if IPERLST || IPERLST_SPECIAL || SLM_50 || MALTA_WSD25
|
|
||||||
|
#if DN100 || MUNICH || BADGER_MALA_TRAT || BADGER_VELKA_TRAT || FUZHOU40 || FUZHOU150 || FUZHOU300 || PT200IL || PUCHONG_PT200 || TORINO50 || TORUN_PT50_2015 || CEVAK_PT40_272 || MURES_PT40 || GENESIS
|
||||||
|
public float TotalRefVolume { get { return ctrlBrdComponent.ReferenceVolume; } }
|
||||||
|
public float MassRefVolume { get { return ctrlBrdComponent.ReferenceVolume; } }
|
||||||
|
#else
|
||||||
public float TotalRefVolume { get { return ctrlBrdComponent.ReferenceVolume[0]; } }
|
public float TotalRefVolume { get { return ctrlBrdComponent.ReferenceVolume[0]; } }
|
||||||
public float MassRefVolume { get { return ctrlBrdComponent.ReferenceVolume[1]; } }
|
public float MassRefVolume { get { return ctrlBrdComponent.ReferenceVolume[1]; } }
|
||||||
#else
|
|
||||||
public float TotalRefVolume { get { return ctrlBrdComponent.ReferenceVolume; } }
|
|
||||||
public float MassRefVolume { get { return ctrlBrdComponent.ReferenceVolume; } }
|
|
||||||
#endif
|
#endif
|
||||||
public float VyslExt(int wmNr0, int what) { return ctrlBrdComponent.VyslExt[wmNr0, what]; }
|
|
||||||
|
public float VyslExt(int wmNr0, int what) { return ctrlBrdComponent.VyslExt[wmNr0, what]; }
|
||||||
public void SetWeight(int pos, double mass)
|
public void SetWeight(int pos, double mass)
|
||||||
{
|
{
|
||||||
ctrlBrdComponent.Weight[pos] = (float)mass;
|
ctrlBrdComponent.Weight[pos] = (float)mass;
|
||||||
@@ -290,16 +292,15 @@ namespace TBF.BenchControl.Elde
|
|||||||
#if DN100 || MUNICH
|
#if DN100 || MUNICH
|
||||||
ctrlBrdComponent.SendCommand((uint)cmd, (byte)refFlowMeterNr, (ulong)route, (uint)totalRefPulses, (uint)testMethods,
|
ctrlBrdComponent.SendCommand((uint)cmd, (byte)refFlowMeterNr, (ulong)route, (uint)totalRefPulses, (uint)testMethods,
|
||||||
filterConstant, fmFreq[0], (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
filterConstant, fmFreq[0], (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
||||||
#elif IPERLST || IPERLST_SPECIAL || SLM_50 || MALTA_WSD25
|
#elif BADGER_MALA_TRAT || BADGER_VELKA_TRAT || FUZHOU40 || FUZHOU150 || FUZHOU300 || PT200IL || PUCHONG_PT200 || TORINO50 || TORUN_PT50_2015 || CEVAK_PT40_272 || MURES_PT40 || GENESIS
|
||||||
|
ctrlBrdComponent.SendCommand((uint)cmd, (byte)refFlowMeterNr, (ulong)route, (uint)totalRefPulses, (uint)testMethods,
|
||||||
|
filterConstant, fmFreq, (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
||||||
|
#else /// if IPERLST || IPERLST_SPECIAL || MALTA_WSD25 || SLM_50 || SLM_END || WARSAW_END
|
||||||
uint[] pulsesArr = new uint[] { (uint)totalRefPulses, (uint)massRefPulses };
|
uint[] pulsesArr = new uint[] { (uint)totalRefPulses, (uint)massRefPulses };
|
||||||
ctrlBrdComponent.SendCommand((uint)cmd, (byte)refFlowMeterNr, (ulong)route, pulsesArr, (uint)testMethods,
|
ctrlBrdComponent.SendCommand((uint)cmd, (byte)refFlowMeterNr, (ulong)route, pulsesArr, (uint)testMethods,
|
||||||
filterConstant, fmFreq, (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
filterConstant, fmFreq, (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
||||||
#else
|
|
||||||
ctrlBrdComponent.SendCommand((uint)cmd, (byte)refFlowMeterNr, (ulong)route, (uint)totalRefPulses, (uint)testMethods,
|
|
||||||
filterConstant, fmFreq, (uint)regConst, (uint)shortImp, (uint)stopDevs);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
ulong bufferedRoute = route;
|
ulong bufferedRoute = route;
|
||||||
if (lastRoute != bufferedRoute)
|
if (lastRoute != bufferedRoute)
|
||||||
{
|
{
|
||||||
|
|||||||
Generated
+2
-2
@@ -652,10 +652,10 @@ namespace TBF
|
|||||||
#elif PT200IL || PUCHONG_PT200 || GENESIS
|
#elif PT200IL || PUCHONG_PT200 || GENESIS
|
||||||
private ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent;
|
private ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent;
|
||||||
private TBF.Screens.ProcessTabPageCtrl6 processTabPageCtrl;
|
private TBF.Screens.ProcessTabPageCtrl6 processTabPageCtrl;
|
||||||
#elif TORINO50 || BADGER_MALA_TRAT || BADGER_VELKA_TRAT
|
#elif TORINO50 || BADGER_MALA_TRAT || BADGER_VELKA_TRAT || SLM_END || WARSAW_END
|
||||||
private ControlComponent_Torino2015.UserControl1 ctrlBrdComponent;
|
private ControlComponent_Torino2015.UserControl1 ctrlBrdComponent;
|
||||||
private TBF.Screens.ProcessTabPageCtrl6 processTabPageCtrl;
|
private TBF.Screens.ProcessTabPageCtrl6 processTabPageCtrl;
|
||||||
#elif TORUN_PT50_2015 || CEVAK_PT40_272 || MURES_PT40 || FUZHOU_40 || SLM_50 || MALTA_WSD25
|
#elif TORUN_PT50_2015 || CEVAK_PT40_272 || MURES_PT40 || FUZHOU_40 || MALTA_WSD25 || SLM_50
|
||||||
private ControlComponent_Torino2015.UserControl1 ctrlBrdComponent;
|
private ControlComponent_Torino2015.UserControl1 ctrlBrdComponent;
|
||||||
private TBF.Screens.ProcessTabPageCtrl24 processTabPageCtrl;
|
private TBF.Screens.ProcessTabPageCtrl24 processTabPageCtrl;
|
||||||
#elif IPERLST
|
#elif IPERLST
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.12.375.1")]
|
[assembly: AssemblyVersion("2.12.378.1")]
|
||||||
[assembly: AssemblyFileVersion("2.12.375.1")]
|
[assembly: AssemblyFileVersion("2.12.378.1")]
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user