ResetStaticProperties( ) eliminated from ComponentBase, IComponentFactory and factories.

This commit is contained in:
Milan Hanajik
2021-04-02 16:10:38 +02:00
parent c7e87c95da
commit dd08ca770d
182 changed files with 34 additions and 408 deletions
-2
View File
@@ -11,8 +11,6 @@ namespace TBF.Rig.Network.Adapter
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
public override string ToString() { return ClassName; }
public void ResetStaticProperties() { Netadapter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Netadapter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Netadapter(cfg); }
@@ -11,8 +11,6 @@ namespace TBF.Rig.Network.Camera.CLP1611
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
public override string ToString() { return ClassName; }
public void ResetStaticProperties() { Camera.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Camera(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Camera(cfg, components); }
@@ -11,8 +11,6 @@ namespace TBF.Rig.Network.Camera.Display
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
public override string ToString() { return ClassName; }
public void ResetStaticProperties() { Display.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Display(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Display(cfg, components); }
-2
View File
@@ -11,8 +11,6 @@ namespace TBF.Rig.Network.Camera.Roi
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
public override string ToString() { return ClassName; }
public void ResetStaticProperties() { Roi.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Roi(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Roi(cfg, components); }
@@ -11,8 +11,6 @@ namespace TBF.Rig.Network.Camera.RoiForFixedStart
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
public override string ToString() { return ClassName; }
public void ResetStaticProperties() { Roi.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Roi(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Roi(cfg, components); }
-2
View File
@@ -11,8 +11,6 @@ namespace TBF.Rig.Network.Comet.Ambient
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
public override string ToString() { return ClassName; }
public void ResetStaticProperties() { Ambient.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Ambient(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Ambient(cfg, components); }