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 VyslExt(int wmNr0, int what) { return controlCom.VyslExt(wmNr0, what); }
|
||||
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>
|
||||
public bool EmergencyStop { get { return emergencyStop; } }
|
||||
|
||||
@@ -69,7 +69,8 @@ namespace TBF.BenchControl.Elde
|
||||
public float VyslExt(int wmNr0, int what) { return 0; }
|
||||
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
|
||||
@@ -82,6 +83,10 @@ namespace TBF.BenchControl.Elde
|
||||
uint[] diverterEdge;
|
||||
uint[] balanceRange;
|
||||
|
||||
|
||||
uint[] cyclePar;
|
||||
uint[] wMeterCont;
|
||||
|
||||
///
|
||||
/// Private values set by SendCommand()
|
||||
///
|
||||
@@ -112,6 +117,8 @@ namespace TBF.BenchControl.Elde
|
||||
public ControlComSim()
|
||||
{
|
||||
rand = new Random();
|
||||
cyclePar = new uint[163];
|
||||
wMeterCont = new uint[3] { 1, 2, 3 };
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -68,11 +68,13 @@ namespace TBF.BenchControl.Elde
|
||||
|
||||
#if SLM_END || WARSAW_END
|
||||
public uint[] CyclePar { get { return ctrlBrdComponent.CyclePar; } set { ctrlBrdComponent.CyclePar = value; } }
|
||||
public uint[] WMeterCont { get { return ctrlBrdComponent.wMeterCont; } }
|
||||
#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
|
||||
|
||||
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)
|
||||
{
|
||||
ctrlBrdComponent.Weight[pos] = (float)mass;
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace TBF.BenchControl.Elde
|
||||
float VyslExt(int wmNr0, int what);
|
||||
void SetWeight(int pos, double mass);
|
||||
uint[] CyclePar { get; set; }
|
||||
uint[] WMeterCont { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Sends calibration and configuration data to the control board.
|
||||
|
||||
Reference in New Issue
Block a user