Constructors of components : Logging level increased to WARN

This commit is contained in:
Milan Hanajik
2021-02-19 09:50:48 +01:00
parent d2f3a937ec
commit 63a15fc1de
161 changed files with 164 additions and 164 deletions
@@ -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()
+1 -1
View File
@@ -62,7 +62,7 @@ namespace TBF.BenchControl.Modbus.Common
serialPort = null;
modbusCommonCfg = cfg as ModbusCfg;
log.Debug(this.ToString());
log.Warn(this.ToString());
}
~Modbus()
+1 -1
View File
@@ -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());
}
///
+1 -1
View File
@@ -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>