ToString( ) methods of all components are equal, start with ClassName.
This commit is contained in:
@@ -17,7 +17,7 @@ namespace TBF.Rig.DataContainer.BenchInfo
|
||||
public class Component : ComponentBase, GenericDevices.IBenchInfo
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Component));
|
||||
public override string ToString() { return string.Format("BenchInfo({0})", Cfg.ToString(-1)); }
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); }
|
||||
|
||||
readonly ComponentCfg myCfg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user