ToString( ) methods of all components are equal, start with ClassName.
This commit is contained in:
@@ -22,7 +22,7 @@ namespace TBF.Rig.Hart.Common
|
||||
public class Hart : ComponentBase, IDevice, GenericDevices.IHart
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Hart));
|
||||
public override string ToString() { return string.Format("Modbus({0})", Cfg.ToString(-1)); }
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); }
|
||||
|
||||
private readonly HartCfg hartCfg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user