Constructors of components : Logging level increased to WARN
This commit is contained in:
@@ -53,7 +53,7 @@ namespace TBF.BenchControl.Ambient.Comet
|
||||
: base(cfg)
|
||||
{
|
||||
ambientCfg = cfg as AmbientCfg;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace TBF.BenchControl.Ambient.Greco
|
||||
: base(cfg)
|
||||
{
|
||||
ambientCfg = cfg as AmbientCfg;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace TBF.BenchControl.BuiltIn.Pump
|
||||
bitPosition = pumpCfg.BitNr;
|
||||
Mask = (((UInt128)1) << pumpCfg.BitNr);
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public bool State
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace TBF.BenchControl.BuiltIn.PumpTandem
|
||||
else if (pump2 is Danfoss.VLT2800.Pump) { mask2 = (pump2 as Danfoss.VLT2800.Pump).Mask; }
|
||||
else { mask2 = 0; }
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace TBF.BenchControl.BuiltIn.Valve
|
||||
coupledTo = (IValve)TbfComponents.FindComponent(valveCfg.CoupledToName, components);
|
||||
}
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public bool State
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace TBF.BenchControl.BuiltIn.ValveEx
|
||||
InputValves[4] = TbfComponents.FindComponent(valveCfg.Input5, components) as IValve;
|
||||
}
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void UpdateRoute(ref UInt128 route)
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace TBF.BenchControl.ControlBoard.Papouch
|
||||
}
|
||||
};
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void InitializeComponent(object thirdPartyComponent, UInt128 valvesToInvert, double[] tankCapacities)
|
||||
|
||||
@@ -178,7 +178,7 @@ namespace TBF.BenchControl.Danfoss.VLT2800
|
||||
}
|
||||
};
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace TBF.BenchControl.DataContainers.BackupAndSecurityOptions
|
||||
Users.GlobalData.MinPasswdLength = myCfg.MinPasswdLength;
|
||||
Users.GlobalData.PasswdExpirationPeriodDays = myCfg.PasswdExpirationPeriodDays;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace TBF.BenchControl.DataContainers.BenchInfo.Extended
|
||||
{
|
||||
myCfg = cfg as ComponentCfg;
|
||||
Events.DB.SetBenchName(myCfg.TestBenchName);
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace TBF.BenchControl.DataContainers.BenchInfo.iPerl
|
||||
{
|
||||
myCfg = cfg as ComponentCfg;
|
||||
Events.DB.SetBenchName(myCfg.TestBenchName);
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace TBF.BenchControl.DataContainers.Evaporation
|
||||
: base(cfg)
|
||||
{
|
||||
myCfg = cfg as EvaporationCfg;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public IList<Config.CalendarEvent.ICalendarEvent> GetCalendarEvents()
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace TBF.BenchControl.DataEntry.Combined
|
||||
wmCycleEndState = new string[Config.Data.CompoundWMsCount * 2];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace TBF.BenchControl.DataEntry.Fewa
|
||||
wmCycleEndState = new string[Config.Data.WMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace TBF.BenchControl.DataEntry.HeatMeters12
|
||||
wmCycleEndState = new string[Config.Data.HeatMetersCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace TBF.BenchControl.DataEntry.HeatMeters6
|
||||
wmCycleEndState = new string[Config.Data.HeatMetersCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace TBF.BenchControl.DataEntry.Munich
|
||||
wmEndState = new string[Config.Data.CompoundWMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace TBF.BenchControl.DataEntry.Munich3
|
||||
wmCycleEndState = new string[Config.Data.WMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace TBF.BenchControl.DataEntry.Single
|
||||
wmCycleEndState = new string[Config.Data.WMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace TBF.BenchControl.DataEntry.Standard12
|
||||
wmCycleEndState = new string[Config.Data.WMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace TBF.BenchControl.DataEntry.Standard24
|
||||
wmEndStateStr = new string[Config.Data.WMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace TBF.BenchControl.DataEntry.Standard48
|
||||
wmCycleEndState = new string[Config.Data.WMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace TBF.BenchControl.DataEntry.Standard6
|
||||
wmEndState = new double[Config.Data.WMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace TBF.BenchControl.DataEntry.StandardCamera
|
||||
wmCycleEndState = new string[Config.Data.WMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace TBF.BenchControl.DataEntry.iPerl
|
||||
wmCycleEndState = new string[Config.Data.WMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace TBF.BenchControl.Dummy.Balance
|
||||
public Component(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
{
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public int ScaleNr { get { return 0; } }
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace TBF.BenchControl.Dummy.Diverter
|
||||
{
|
||||
switchTimeStart = new FloatBox();
|
||||
switchTimeEnd = new FloatBox();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public int DiverterNr { get { return 0; } }
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace TBF.BenchControl.Dummy.FlowMeter
|
||||
{
|
||||
flowMeterCfg = cfg as FlowMeterCfg;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace TBF.BenchControl.Dummy.RegulValve
|
||||
RegulValveCfg = cfg as RegulValveCfg;
|
||||
dict = new Dictionary<double, float>();
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void Initialize() { }
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace TBF.BenchControl.Dummy.Valve
|
||||
public Component(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
{
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
bool state;
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace TBF.BenchControl.Elde.CoverTest
|
||||
message = coverTestCfg.Message;
|
||||
bypassLevel = coverTestCfg.BypassLevel;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@ namespace TBF.BenchControl.Elde.Diverter
|
||||
diverterToSinkOp = new SwitchDiverterOp(controlBoard, false, flowMtrNr4Cmd);
|
||||
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace TBF.BenchControl.Elde.FlowMeter
|
||||
controlBoard.EtCalib[Idx1] = (float)flowMeterCfg.NominalFlow;
|
||||
}
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
@@ -130,7 +130,7 @@ namespace TBF.BenchControl.Elde.FlowMeterDewa
|
||||
refFreq = new double[4];
|
||||
refPulses = new int[4];
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public double ReadFlow() { return controlBoard.RefFlow; }
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace TBF.BenchControl.Elde.FlowMeterTriplet
|
||||
if (Idx1 >= controlBoard.EtCalib.Length) throw new Exception("Flowmeter " + Name + " parameter 'Idx1' is out of range");
|
||||
controlBoard.EtCalib[Idx1] = (float)flowMeterCfg.NominalFlow;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public double ReadFlow() { return controlBoard.RefFlow; }
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace TBF.BenchControl.Elde.FlowMeterTwins
|
||||
|
||||
/// Prepare data for SendCalibData() control board component method
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public double ReadFlow() { return controlBoard.RefFlow; }
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace TBF.BenchControl.Elde.PressureMeter
|
||||
ControlBoard.MeretProtocol |= (byte)(1 << Idx0);
|
||||
}
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace TBF.BenchControl.Elde.PressureMeterInternal
|
||||
ControlBoard.TempCalibData[pressureMeterCfg.CoefsIdx0, 4] = pressureMeterCfg.A5;
|
||||
|
||||
ControlBoard.MeretRS485Address[0] = 0; /// This disables Merets, Groch temperatures, enables on-board A/D pressure and temperature
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace TBF.BenchControl.Elde.PumpWithFM
|
||||
Mask = (((UInt128)1) << pumpCfg.BitNr);
|
||||
FMIndex = pumpCfg.FMIndex;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@ namespace TBF.BenchControl.Elde.RegulValve
|
||||
|
||||
StartChangeHandler();
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace TBF.BenchControl.Elde.RegulValveCoax
|
||||
|
||||
this.dict = new Dictionary<double, float>();
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ namespace TBF.BenchControl.Elde.RegulValveCoax
|
||||
|
||||
this.leaveMeasurementRunning = leaveMeasurementRunning;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace TBF.BenchControl.Elde.RegulValveTandem
|
||||
|
||||
this.dict = new Dictionary<double, float>();
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace TBF.BenchControl.Elde.TempMeter
|
||||
ControlBoard.TempCalibData[Idx0, 3] = (float)A4;
|
||||
ControlBoard.TempCalibData[Idx0, 4] = (float)A5;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace TBF.BenchControl.Elde.TempMeterInternal
|
||||
ControlBoard.TempCalibData[tempMtrCfg.CoefsIdx0, 3] = tempMtrCfg.A4;
|
||||
ControlBoard.TempCalibData[tempMtrCfg.CoefsIdx0, 4] = tempMtrCfg.A5;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace TBF.BenchControl.Elde.TempMeterMeret
|
||||
/// Prepare data for SendCalibData() control board component method
|
||||
ControlBoard.MeretRS485Address[tempMtrCfg.MeretIdx0] = tempMtrCfg.ModbusAddress;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace TBF.BenchControl.Hart.Common
|
||||
|
||||
serialPort = null;
|
||||
hartCfg = cfg as HartCfg;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
~Hart()
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace TBF.BenchControl.Hart.Nivotrack
|
||||
levelReadings = new double[StableReadingsCount];
|
||||
sortedLevelReadings = new double[StableReadingsCount];
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace TBF.BenchControl.Keithley.Multimeter_2010_RS232
|
||||
currentChannel = 0; /// invalid, no :rout:clos command yet
|
||||
scanState = ScanState.Off;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
~Multimeter()
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace TBF.BenchControl.Keithley.TempMeter
|
||||
operations = new Dictionary<DoubleBox, IOperation>();
|
||||
operations2 = new Dictionary<DoubleBox, IOperation>();
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace TBF.BenchControl.MettlerToledo.Multi
|
||||
Balances[nextBalanceIdx - 1] = this;
|
||||
}
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
|
||||
Balances[nextBalanceIdx - 1] = this;
|
||||
}
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
|
||||
public BalanceNewDev(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
{
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
|
||||
public BalanceOld(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
{
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace TBF.BenchControl.Modbus.CometAmbient
|
||||
modbus = (GenericDevices.IModbus)TbfComponents.FindComponent(cfg.ParentName, components);
|
||||
if (modbus == null) throw new Exception("Cannot find " + Name + " parent");
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace TBF.BenchControl.Modbus.Common
|
||||
|
||||
serialPort = null;
|
||||
modbusCommonCfg = cfg as ModbusCfg;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
~Modbus()
|
||||
|
||||
@@ -169,7 +169,7 @@ namespace TBF.BenchControl.Modbus.Danfoss.VLT
|
||||
}
|
||||
};
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace TBF.BenchControl.Modbus.Easytherm
|
||||
modbus = (GenericDevices.IModbus)TbfComponents.FindComponent(cfg.ParentName, components);
|
||||
if (modbus == null) throw new Exception("Cannot find " + Name + " parent");
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <summary>Initialize this device</summary>
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace TBF.BenchControl.Modbus.Meret.PressureMeter
|
||||
modbus = (GenericDevices.IModbus)TbfComponents.FindComponent(cfg.ParentName, components);
|
||||
if (modbus == null) throw new Exception("Cannot find " + Name + " parent");
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace TBF.BenchControl.Modbus.Meret.TempMeter
|
||||
modbus = TbfComponents.FindComponent(cfg.ParentName, components) as GenericDevices.IModbus;
|
||||
if (modbus == null) throw new Exception("Cannot find " + Name + " parent");
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace TBF.BenchControl.Modbus.QuidoRS
|
||||
|
||||
watchdogBitMask = (ushort)(quidoRSCfg.WatchdogEnabled ? (1 << quidoRSCfg.WatchdogBitNr) : 0);
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace TBF.BenchControl.Modbus.UltrasoundLevelMeter
|
||||
/// Connect to handler
|
||||
//ModbusAddress.MeretRS485Address[Idx0] = ModbusAddress;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <summary>Initialize this device</summary>
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace TBF.BenchControl.Modbus.WaterAnalyzer
|
||||
/// Connect to handler
|
||||
//ModbusAddress.MeretRS485Address[Idx0] = ModbusAddress;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <summary>Initialize this device</summary>
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace TBF.BenchControl.Network.Adapter
|
||||
|
||||
running = false;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace TBF.BenchControl.Network.Camera.Display
|
||||
{
|
||||
DisplayCfg = cfg as DisplayCfg;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ namespace TBF.BenchControl.Network.Camera.Roi
|
||||
|
||||
//StartChangeHandler(); /// already done in StateMachine.InitializeBoardEtc(...)
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace TBF.BenchControl.Network.Camera.RoiForFixedStart
|
||||
|
||||
StartChangeHandler();
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace TBF.BenchControl.Network.Comet.Ambient
|
||||
ipAddress = IPAddress.Parse(myCfg.IPAddress);
|
||||
tcpPort = myCfg.TcpPort;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
|
||||
@@ -111,7 +111,7 @@ namespace TBF.BenchControl.Output.DB.ProductionTracing
|
||||
|
||||
netMask = netadapter.NetMask;
|
||||
currentOpState = OpState.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace TBF.BenchControl.Output.DB.SaveDiverterCorrections
|
||||
myCfg = cfg as SaveDiverterCorrCfg;
|
||||
currentOp = CurrentOp.None;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace TBF.BenchControl.Output.DB.SaveFlowmeterCorrections
|
||||
myCfg = cfg as SaveFlowmeterCorrCfg;
|
||||
currentOp = CurrentOp.None;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace TBF.BenchControl.Output.EventTriggers.Iperl
|
||||
{
|
||||
triggerCfg = cfg as TriggerCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace TBF.BenchControl.Output.EventTriggers.Standard
|
||||
{
|
||||
triggerCfg = cfg as TriggerCfg;
|
||||
if (triggerCfg == null) throw new ArgumentException("triggerCfg");
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
#region Configuration Change Handling
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace TBF.BenchControl.Output.FileWriters.Basic
|
||||
{
|
||||
writerCfg = cfg as WriterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace TBF.BenchControl.Output.FileWriters.Elde
|
||||
{
|
||||
writerCfg = cfg as WriterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace TBF.BenchControl.Output.FileWriters.Enhanced
|
||||
{
|
||||
writerCfg = cfg as WriterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace TBF.BenchControl.Output.FileWriters.IperlLogger
|
||||
writerCfg = cfg as WriterCfg;
|
||||
currentOp = CurrentOp.None;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace TBF.BenchControl.Output.FileWriters.OneFilePerMeter
|
||||
{
|
||||
writerCfg = cfg as WriterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace TBF.BenchControl.Output.FileWriters.Xml
|
||||
{
|
||||
writerCfg = cfg as WriterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace TBF.BenchControl.Output.FileWriters.XmlBatch
|
||||
{
|
||||
writerCfg = cfg as WriterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace TBF.BenchControl.Output.Printers.Enhanced
|
||||
{
|
||||
printerCfg = cfg as PrinterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace TBF.BenchControl.Output.Printers.Label
|
||||
{
|
||||
printerCfg = cfg as PrinterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
void ApplyConfig()
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace TBF.BenchControl.Output.Printers.MultiLabel
|
||||
{
|
||||
printerCfg = cfg as PrinterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
void ApplyConfig()
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace TBF.BenchControl.Output.Printers.Munich
|
||||
: base(cfg)
|
||||
{
|
||||
printerCfg = cfg as PrinterCfg;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace TBF.BenchControl.Output.Printers.OnePerBatch
|
||||
{
|
||||
printerCfg = cfg as PrinterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
{
|
||||
printerCfg = cfg as PrinterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace TBF.BenchControl.Output.Printers.Zapiska
|
||||
{
|
||||
printerCfg = cfg as PrinterCfg;
|
||||
ApplyConfig();
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace TBF.BenchControl.RegisterReaders.KPackE.DataEntryForRadio
|
||||
wmCycleEndState = new string[Config.Data.WMsCount];
|
||||
|
||||
currentOp = CurrentOp.None;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace TBF.BenchControl.RegisterReaders.KPackE.Radio
|
||||
radioCfg = cfg as RadioCfg;
|
||||
data = new List<byte>();
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
~Radio()
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace TBF.BenchControl.RegisterReaders.KPackE.RegisterReader
|
||||
|
||||
Clear();
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace TBF.BenchControl.RegisterReaders.PulsesFromEldeCB
|
||||
|
||||
/// Prepare data for SendCalibData() control board component method
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -185,7 +185,7 @@ namespace TBF.BenchControl.RegisterReaders.SerialStream
|
||||
|
||||
myCfg = cfg as SerialStreamCfg;
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace TBF.BenchControl.RegisterReaders.StandingStartStop
|
||||
|
||||
Clear();
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace TBF.BenchControl.TestMethods.Adjustment
|
||||
public TestMethod(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
{
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public IList<Event> Execute(Test test, int repetNr, bool isLastRepetition)
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace TBF.BenchControl.TestMethods.ChangeFlowDirection
|
||||
public TestMethod(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
{
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public IList<Event> Execute(Test test, int repetNr, bool isLastRepetition)
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
||||
: base(cfg)
|
||||
{
|
||||
testMethodCfg = cfg as TestMethodCfg;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public IList<Event> Execute(Test test, int repetNr, bool isLastRepetition)
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace TBF.BenchControl.TestMethods.Counter
|
||||
Counters[nextCounterIdx - 1] = this;
|
||||
}
|
||||
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public IList<Event> Execute(Test test, int repetNr, bool isLastRepetition)
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace TBF.BenchControl.TestMethods.DiverterTest
|
||||
: base(cfg)
|
||||
{
|
||||
testMethodCfg = cfg as TestMethodCfg;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public IList<Event> Execute(Test test, int repetNr, bool isLastRepetition)
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace TBF.BenchControl.TestMethods.Dummy
|
||||
public TestMethod(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
{
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public IList<Event> Execute(Test test, int repetNr, bool isLastRepetition)
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace TBF.BenchControl.TestMethods.Endurance
|
||||
: base(cfg)
|
||||
{
|
||||
testMethodCfg = cfg as TestMethodCfg;
|
||||
log.Debug(this.ToString());
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public IList<Event> Execute(Test test, int repetNr, bool isLastRepetition)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user