ResetStaticProperties( ) eliminated from ComponentBase, IComponentFactory and factories.
This commit is contained in:
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.DB.ProductionTracing
|
||||
public string ClassName { get { return GetType().Namespace.Substring(8); } } /// For backward compatibility
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Tracing.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Tracing(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Tracing(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.DB.SaveDiverterCorrections
|
||||
public string ClassName { get { return GetType().Namespace.Substring(8); } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { SaveDiverterCorr.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new SaveDiverterCorr(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new SaveDiverterCorr(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.DB.SaveFlowmeterCorrections
|
||||
public string ClassName { get { return GetType().Namespace.Substring(8); } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { SaveFlowmeterCorr.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new SaveFlowmeterCorr(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new SaveFlowmeterCorr(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.DB.SensusOracle
|
||||
public string ClassName { get { return GetType().Namespace.Substring(8); } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Database.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Database(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Database(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.EventTriggers.Iperl
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Trigger.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Trigger(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Trigger(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.EventTriggers.Standard
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Trigger.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Trigger(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Trigger(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.Basic
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Compound"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.Basic
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".HeatMeters"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.Basic
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Single"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.Elde
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Single"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.Enhanced
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Compound"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.Enhanced
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".HeatMeters"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.Enhanced
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Single"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.ImageArchiver
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Archiver.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Archiver(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Archiver(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.FileWriters.IperlLogger
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.OneFilePerMeter
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Compound"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.OneFilePerMeter
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".HeatMeters"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.OneFilePerMeter
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Single"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.Xml
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Compound"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.Xml
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".HeatMeters"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.Xml
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Single"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -12,8 +12,6 @@ namespace TBF.Rig.Output.FileWriters.XmlBatch
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Single"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Writer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.Enhanced
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Compound"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.Enhanced
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".HeatMeters"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.Enhanced
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Single"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.Label
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.MultiLabel
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.OnePerBatch
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.OnePerMeter
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Compound"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.OnePerMeter
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".HeatMeters"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.OnePerMeter
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Single"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.Zapiska
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Compound"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.Zapiska
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".HeatMeters"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace TBF.Rig.Output.Printers.Zapiska
|
||||
public string ClassName { get { return this.GetType().Namespace.Substring(8) + ".Single"; } }
|
||||
public override string ToString() { return ClassName; }
|
||||
|
||||
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
|
||||
|
||||
public IComponent DummyComponent() { return new Printer(); }
|
||||
|
||||
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }
|
||||
|
||||
Reference in New Issue
Block a user