ToString( ) methods of all components are equal, start with ClassName.
This commit is contained in:
@@ -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("{0}({1})", ClassName, Cfg.ToString(-1)); }
|
||||
|
||||
readonly TankSelectorCfg tankSelectorCfg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user