Components initialization clean-up.
This commit is contained in:
@@ -15,7 +15,7 @@ namespace TBF.Rig.BuiltIn.Valve
|
||||
public class Valve : ValveBase, IValve, SchematicDrawing.IDrawingItCmpnt
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Valve));
|
||||
public override string ToString() { return string.Format("Valve({0})", Cfg.ToString(-1)); }
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); }
|
||||
|
||||
readonly ValveCfg valveCfg;
|
||||
public SchematicDrawing.IDrawingItem DrawingItem { get { return valveCfg as SchematicDrawing.IDrawingItem; } }
|
||||
@@ -38,9 +38,7 @@ namespace TBF.Rig.BuiltIn.Valve
|
||||
public int BitPosition { get { return valveCfg.BitNr; } }
|
||||
|
||||
|
||||
public Valve()
|
||||
{
|
||||
}
|
||||
public Valve() { }
|
||||
|
||||
public Valve(Generic.IComponentCfg cfg, IList<Generic.IComponent> components)
|
||||
: base(cfg)
|
||||
|
||||
Reference in New Issue
Block a user