Endurance : uint[3] cBrd.WMeterCont added, ver. 2.12.411
This commit is contained in:
@@ -63,6 +63,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
public float ReferenceVolume { get { return controlCom.TotalRefVolume; } }
|
public float ReferenceVolume { get { return controlCom.TotalRefVolume; } }
|
||||||
public float VyslExt(int wmNr0, int what) { return controlCom.VyslExt(wmNr0, what); }
|
public float VyslExt(int wmNr0, int what) { return controlCom.VyslExt(wmNr0, what); }
|
||||||
public uint[] CyclePar { get { return controlCom.CyclePar; } set { controlCom.CyclePar = value; } }
|
public uint[] CyclePar { get { return controlCom.CyclePar; } set { controlCom.CyclePar = value; } }
|
||||||
|
public uint[] WMeterCont { get { return controlCom.WMeterCont; } }
|
||||||
|
|
||||||
/// <summary> Extracted from the StatusP in RunDeviceBefore </summary>
|
/// <summary> Extracted from the StatusP in RunDeviceBefore </summary>
|
||||||
public bool EmergencyStop { get { return emergencyStop; } }
|
public bool EmergencyStop { get { return emergencyStop; } }
|
||||||
|
|||||||
@@ -69,7 +69,8 @@ namespace TBF.BenchControl.Elde
|
|||||||
public float VyslExt(int wmNr0, int what) { return 0; }
|
public float VyslExt(int wmNr0, int what) { return 0; }
|
||||||
public void SetWeight(int pos, double mass) { return; } /// not available in sim. mode
|
public void SetWeight(int pos, double mass) { return; } /// not available in sim. mode
|
||||||
|
|
||||||
public uint[] CyclePar { get { return new uint[163]; } set { return; } } /// dummy
|
public uint[] CyclePar { get { return cyclePar; } set { cyclePar = value; } } /// dummy
|
||||||
|
public uint[] WMeterCont { get { return wMeterCont; } } /// dummy
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Private initialization data updated by contructors of children components
|
/// Private initialization data updated by contructors of children components
|
||||||
@@ -82,6 +83,10 @@ namespace TBF.BenchControl.Elde
|
|||||||
uint[] diverterEdge;
|
uint[] diverterEdge;
|
||||||
uint[] balanceRange;
|
uint[] balanceRange;
|
||||||
|
|
||||||
|
|
||||||
|
uint[] cyclePar;
|
||||||
|
uint[] wMeterCont;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Private values set by SendCommand()
|
/// Private values set by SendCommand()
|
||||||
///
|
///
|
||||||
@@ -112,6 +117,8 @@ namespace TBF.BenchControl.Elde
|
|||||||
public ControlComSim()
|
public ControlComSim()
|
||||||
{
|
{
|
||||||
rand = new Random();
|
rand = new Random();
|
||||||
|
cyclePar = new uint[163];
|
||||||
|
wMeterCont = new uint[3] { 1, 2, 3 };
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -68,11 +68,13 @@ namespace TBF.BenchControl.Elde
|
|||||||
|
|
||||||
#if SLM_END || WARSAW_END
|
#if SLM_END || WARSAW_END
|
||||||
public uint[] CyclePar { get { return ctrlBrdComponent.CyclePar; } set { ctrlBrdComponent.CyclePar = value; } }
|
public uint[] CyclePar { get { return ctrlBrdComponent.CyclePar; } set { ctrlBrdComponent.CyclePar = value; } }
|
||||||
|
public uint[] WMeterCont { get { return ctrlBrdComponent.wMeterCont; } }
|
||||||
#else
|
#else
|
||||||
public uint[] CyclePar { get { return new uint[163]; } set { return; }} /// Dummy
|
public uint[] CyclePar { get { return new uint[163]; } set { return; }} /// Dummy
|
||||||
|
public uint[] WMeterCont { get { return new uint[3]; } } /// Dummy
|
||||||
#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;
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ namespace TBF.BenchControl.Elde
|
|||||||
float VyslExt(int wmNr0, int what);
|
float VyslExt(int wmNr0, int what);
|
||||||
void SetWeight(int pos, double mass);
|
void SetWeight(int pos, double mass);
|
||||||
uint[] CyclePar { get; set; }
|
uint[] CyclePar { get; set; }
|
||||||
|
uint[] WMeterCont { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sends calibration and configuration data to the control board.
|
/// Sends calibration and configuration data to the control board.
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.12.410.1")]
|
[assembly: AssemblyVersion("2.12.411.1")]
|
||||||
[assembly: AssemblyFileVersion("2.12.410.1")]
|
[assembly: AssemblyFileVersion("2.12.411.1")]
|
||||||
|
|||||||
Reference in New Issue
Block a user