Cfg.ToString(1) --> Cfg.ToString(-1) in 89 components
This commit is contained in:
@@ -19,7 +19,7 @@ namespace TBF.Rig.Modbus.Ambient.Comet
|
||||
public class Ambient : ComponentBase, IDevice, IOperation, GenericDevices.IAmbient, IDrawingItCmpntWithMeasuredVal
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Ambient));
|
||||
public override string ToString() { return string.Format("Ambient({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Ambient({0})", Cfg.ToString(-1)); }
|
||||
|
||||
///
|
||||
/// Configuration and wrappers
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace TBF.Rig.Modbus.Easytherm
|
||||
public class Easytherm : ComponentBase, IDevice, GenericDevices.ITempMeter
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Easytherm));
|
||||
public override string ToString() { return string.Format("Easytherm({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Easytherm({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly EasythermCfg easythermCfg;
|
||||
readonly GenericDevices.IModbus modbus;
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace TBF.Rig.Modbus.PumpFM.DanfossVLT
|
||||
public class Pump : ComponentBase, IDevice, IOperation, GenericDevices.IPumpFM, GenericDevices.IValve, IDrawingItCmpntWithSetpoint
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Pump));
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); }
|
||||
|
||||
private readonly PumpCfg pumpCfg;
|
||||
public IDrawingItem DrawingItem { get { return pumpCfg as IDrawingItem; } }
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace TBF.Rig.Modbus.QuidoRS
|
||||
public class QuidoRS : ComponentBase, IDevice, GenericDevices.IParallelOutput
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(QuidoRS));
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); }
|
||||
|
||||
readonly QuidoRSCfg quidoRSCfg;
|
||||
readonly GenericDevices.IModbus modbus;
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace TBF.Rig.Modbus.TankSelector
|
||||
public class TankSelector : ComponentBase, ISequenceCondition, IDevice
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(TankSelector));
|
||||
public override string ToString() { return string.Format("TankSelector({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("TankSelector({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly TankSelectorCfg tankSelectorCfg;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace TBF.Rig.Modbus.UltrasoundLevelMeter
|
||||
public class LevelMeter : ComponentBase, GenericDevices.ILevelMeter, GenericDevices.ITempMeter, IDevice
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(LevelMeter));
|
||||
public override string ToString() { return string.Format("LevelMeter({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("LevelMeter({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly LevelMeterCfg myCfg;
|
||||
readonly GenericDevices.IModbus modbus;
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace TBF.Rig.Modbus.WaterAnalyzer
|
||||
public class Analyzer : ComponentBase, GenericDevices.ITempMeter, IDevice
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Analyzer));
|
||||
public override string ToString() { return string.Format("Analyzer({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("Analyzer({0})", Cfg.ToString(-1)); }
|
||||
|
||||
readonly AnalyzerCfg myCfg;
|
||||
readonly GenericDevices.IModbus modbus;
|
||||
|
||||
Reference in New Issue
Block a user