Factories are without ResetStaticProperties( ).

This commit is contained in:
Milan Hanajik 2021-04-07 21:24:37 +02:00
parent 1d50b7206d
commit b5572c20e3
174 changed files with 74 additions and 437 deletions

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Ambient.Comet
{ {
public string ClassName { get { return "Comet-Ambient"; } } public string ClassName { get { return "Comet-Ambient"; } }
public void ResetStaticProperties() { Ambient.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Ambient(); } public IComponent DummyComponent() { return new Ambient(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Ambient(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Ambient(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Ambient.Greco
{ {
public string ClassName { get { return "Greco Ambient"; } } public string ClassName { get { return "Greco Ambient"; } }
public void ResetStaticProperties() { Ambient.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Ambient(); } public IComponent DummyComponent() { return new Ambient(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Ambient(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Ambient(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Danfoss.VLT2800
{ {
public string ClassName { get { return "Pump-Danfoss-VLT2800"; } } public string ClassName { get { return "Pump-Danfoss-VLT2800"; } }
public void ResetStaticProperties() { Pump.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Pump(); } public IComponent DummyComponent() { return new Pump(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Pump(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Pump(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataContainers.BackupAndSecurityOptions
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Component.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Component(); } public IComponent DummyComponent() { return new Component(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataContainers.BenchInfo.Extended
{ {
public string ClassName { get { return "BenchInfoEx"; } } public string ClassName { get { return "BenchInfoEx"; } }
public void ResetStaticProperties() { Component.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Component(); } public IComponent DummyComponent() { return new Component(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataContainers.BenchInfo.iPerl
{ {
public string ClassName { get { return "BenchInfo.iPerl"; } } public string ClassName { get { return "BenchInfo.iPerl"; } }
public void ResetStaticProperties() { Component.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Component(); } public IComponent DummyComponent() { return new Component(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataContainers.Buoyancy
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Component.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Component(); } public IComponent DummyComponent() { return new Component(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataContainers.Density
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Component.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Component(); } public IComponent DummyComponent() { return new Component(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Combined
{ {
public string ClassName { get { return "DataEntry-Combined"; } } public string ClassName { get { return "DataEntry-Combined"; } }
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryForm(); } public IComponent DummyComponent() { return new EntryForm(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Fewa
{ {
public string ClassName { get { return "DataEntry.Fewa"; } } public string ClassName { get { return "DataEntry.Fewa"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Fewa
{ {
public string ClassName { get { return "DataEntry.Fewa.NoStartEnd"; } } public string ClassName { get { return "DataEntry.Fewa.NoStartEnd"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.HeatMeters12
{ {
public string ClassName { get { return this.GetType().Namespace.Substring("TBF.BenchControl.".Length); } } public string ClassName { get { return this.GetType().Namespace.Substring("TBF.BenchControl.".Length); } }
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryForm(); } public IComponent DummyComponent() { return new EntryForm(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -8,18 +8,13 @@ namespace TBF.BenchControl.DataEntry.HeatMeters6
{ {
public class Factory : IComponentFactory public class Factory : IComponentFactory
{ {
public string ClassName { get { return this.GetType().Namespace.Substring("TBF.BenchControl.".Length); } } public string ClassName { get { return GetType().Namespace.Substring("TBF.BenchControl.".Length); } }
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); } public IComponent DummyComponent() { return new EntryForm(); }
public IComponent DummyComponent() { return new EntryForm(); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponentCfg DefaultConfig() { return new EntryFormCfg("HeatMeters6", this); }
public IComponentCfg DefaultConfig()
{
return new EntryFormCfg(this.GetType().Namespace.Substring("TBF.BenchControl.DataEntry.".Length), this);
}
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
{ {

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Munich
{ {
public string ClassName { get { return "DataEntryForm-Munich"; } } public string ClassName { get { return "DataEntryForm-Munich"; } }
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryForm(); } public IComponent DummyComponent() { return new EntryForm(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Munich3
{ {
public string ClassName { get { return "DataEntryForm-3"; } } public string ClassName { get { return "DataEntryForm-3"; } }
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryForm(); } public IComponent DummyComponent() { return new EntryForm(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.S620
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryForm(); } public IComponent DummyComponent() { return new EntryForm(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Single
{ {
public string ClassName { get { return "DataEntry.Single"; } } public string ClassName { get { return "DataEntry.Single"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Single
{ {
public string ClassName { get { return "DataEntry.NoStartEnd.Single"; } } public string ClassName { get { return "DataEntry.NoStartEnd.Single"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Standard12
{ {
public string ClassName { get { return "DataEntry-Standard-12"; } } public string ClassName { get { return "DataEntry-Standard-12"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Standard12
{ {
public string ClassName { get { return "DataEntry-Standard-12-NoStartEnd"; } } public string ClassName { get { return "DataEntry-Standard-12-NoStartEnd"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Standard24
{ {
public string ClassName { get { return "DataEntry-Standard-24"; } } public string ClassName { get { return "DataEntry-Standard-24"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Standard24
{ {
public string ClassName { get { return "DataEntry-Standard-24-NoStartEnd"; } } public string ClassName { get { return "DataEntry-Standard-24-NoStartEnd"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Standard48
{ {
public string ClassName { get { return "DataEntry-Standard-48"; } } public string ClassName { get { return "DataEntry-Standard-48"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Standard48
{ {
public string ClassName { get { return "DataEntry-Standard-48-NoStartEnd"; } } public string ClassName { get { return "DataEntry-Standard-48-NoStartEnd"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Standard6
{ {
public string ClassName { get { return "DataEntry-Standard"; } } public string ClassName { get { return "DataEntry-Standard"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.Standard6
{ {
public string ClassName { get { return "DataEntry-Standard-6-NoStartEnd"; } } public string ClassName { get { return "DataEntry-Standard-6-NoStartEnd"; } }
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); } public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.StandardCamera
{ {
public string ClassName { get { return "DataEntry-Camera"; } } public string ClassName { get { return "DataEntry-Camera"; } }
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryForm(); } public IComponent DummyComponent() { return new EntryForm(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.WMStates
{ {
public string ClassName { get { return "Generic-WM-States-Form"; } } public string ClassName { get { return "Generic-WM-States-Form"; } }
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryForm(); } public IComponent DummyComponent() { return new EntryForm(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.DataEntry.iPerl
{ {
public string ClassName { get { return "DataEntry-iPerl"; } } public string ClassName { get { return "DataEntry-iPerl"; } }
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryForm(); } public IComponent DummyComponent() { return new EntryForm(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Dummy.FlowMeter
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { FlowMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new FlowMeter(); } public IComponent DummyComponent() { return new FlowMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new FlowMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new FlowMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Dummy.RegulValve
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { RegulValve.ResetStaticProperties(); }
public IComponent DummyComponent() { return new RegulValve(); } public IComponent DummyComponent() { return new RegulValve(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegulValve(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegulValve(cfg, components); }

View File

@ -10,9 +10,6 @@ namespace TBF.BenchControl.Elde
{ {
public string ClassName { get { return "ControlBoard"; } } public string ClassName { get { return "ControlBoard"; } }
/// <summary>Max. number of components of this class in the system</summary>
public int MaxCount { get { return 1; } }
public IComponent DummyComponent() { return new ControlBoardDev(); } public IComponent DummyComponent() { return new ControlBoardDev(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new ControlBoardDev(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new ControlBoardDev(cfg); }
@ -30,7 +27,5 @@ namespace TBF.BenchControl.Elde
{ {
return ComponentCfgBase.CreateFromDbEntity(Elde.ControlBoardCfg.Serializer, component, this); return ComponentCfgBase.CreateFromDbEntity(Elde.ControlBoardCfg.Serializer, component, this);
} }
public void ResetStaticProperties() { ControlBoardDev.ResetStaticProperties(); }
} }
} }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.CoverTest
{ {
public string ClassName { get { return "Elde.CoverTest"; } } public string ClassName { get { return "Elde.CoverTest"; } }
public void ResetStaticProperties() { CoverTest.ResetStaticProperties(); }
public IComponent DummyComponent() { return new CoverTest(); } public IComponent DummyComponent() { return new CoverTest(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new CoverTest(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new CoverTest(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.Diverter
{ {
public string ClassName { get { return "Diverter"; } } public string ClassName { get { return "Diverter"; } }
public void ResetStaticProperties() { Diverter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Diverter(); } public IComponent DummyComponent() { return new Diverter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Diverter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Diverter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.FixedStartRegisterReader
{ {
public string ClassName { get { return "RegisterReader for standing start/stop"; } } public string ClassName { get { return "RegisterReader for standing start/stop"; } }
public void ResetStaticProperties() { RegisterReader.ResetStaticProperties(); }
public IComponent DummyComponent() { return new RegisterReader(); } public IComponent DummyComponent() { return new RegisterReader(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegisterReader(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegisterReader(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.FlowMeter
{ {
public string ClassName { get { return "FlowMeter"; } } public string ClassName { get { return "FlowMeter"; } }
public void ResetStaticProperties() { FlowMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new FlowMeter(); } public IComponent DummyComponent() { return new FlowMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new FlowMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new FlowMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.FlowMeterDewa
{ {
public string ClassName { get { return "FlowMeterDewa"; } } public string ClassName { get { return "FlowMeterDewa"; } }
public void ResetStaticProperties() { FlowMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new FlowMeter(); } public IComponent DummyComponent() { return new FlowMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new FlowMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new FlowMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.FlowMeterTriplet
{ {
public string ClassName { get { return "FlowMeterTriplet"; } } public string ClassName { get { return "FlowMeterTriplet"; } }
public void ResetStaticProperties() { FlowMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new FlowMeter(); } public IComponent DummyComponent() { return new FlowMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new FlowMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new FlowMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.FlowMeterTwins
{ {
public string ClassName { get { return "FlowMeterTwins"; } } public string ClassName { get { return "FlowMeterTwins"; } }
public void ResetStaticProperties() { FlowMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new FlowMeter(); } public IComponent DummyComponent() { return new FlowMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new FlowMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new FlowMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.PressureMeter
{ {
public string ClassName { get { return "PressureMeter"; } } public string ClassName { get { return "PressureMeter"; } }
public void ResetStaticProperties() { PressureMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new PressureMeter(); } public IComponent DummyComponent() { return new PressureMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new PressureMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new PressureMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.PressureMeterInternal
{ {
public string ClassName { get { return "PressureMeterInternal"; } } public string ClassName { get { return "PressureMeterInternal"; } }
public void ResetStaticProperties() { PressureMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new PressureMeter(); } public IComponent DummyComponent() { return new PressureMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new PressureMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new PressureMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.Pump
{ {
public string ClassName { get { return "Pump"; } } public string ClassName { get { return "Pump"; } }
public void ResetStaticProperties() { Pump.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Pump(); } public IComponent DummyComponent() { return new Pump(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Pump(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Pump(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.PumpTandem
{ {
public string ClassName { get { return "PumpTandem"; } } public string ClassName { get { return "PumpTandem"; } }
public void ResetStaticProperties() { Pump.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Pump(); } public IComponent DummyComponent() { return new Pump(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Pump(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Pump(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.PumpWithFM
{ {
public string ClassName { get { return "PumpWithFM"; } } public string ClassName { get { return "PumpWithFM"; } }
public void ResetStaticProperties() { Pump.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Pump(); } public IComponent DummyComponent() { return new Pump(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Pump(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Pump(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.RegulValve
{ {
public string ClassName { get { return "RegulationValve"; } } public string ClassName { get { return "RegulationValve"; } }
public void ResetStaticProperties() { RegulValve.ResetStaticProperties(); }
public IComponent DummyComponent() { return new RegulValve(); } public IComponent DummyComponent() { return new RegulValve(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegulValve(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegulValve(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.RegulValveCoax
{ {
public string ClassName { get { return "RegulationValve-Coax"; } } public string ClassName { get { return "RegulationValve-Coax"; } }
public void ResetStaticProperties() { RegulValve.ResetStaticProperties(); }
public IComponent DummyComponent() { return new RegulValve(); } public IComponent DummyComponent() { return new RegulValve(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegulValve(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegulValve(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.RegulValveMilwaukee
{ {
public string ClassName { get { return "RegulationValveMilwaukee"; } } public string ClassName { get { return "RegulationValveMilwaukee"; } }
public void ResetStaticProperties() { RegulValve.ResetStaticProperties(); }
public IComponent DummyComponent() { return new RegulValve(); } public IComponent DummyComponent() { return new RegulValve(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegulValve(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegulValve(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.RegulValveTandem
{ {
public string ClassName { get { return "RegulationValveTandem"; } } public string ClassName { get { return "RegulationValveTandem"; } }
public void ResetStaticProperties() { RegulValveTandem.ResetStaticProperties(); }
public IComponent DummyComponent() { return new RegulValveTandem(); } public IComponent DummyComponent() { return new RegulValveTandem(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegulValveTandem(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new RegulValveTandem(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.TempMeter
{ {
public string ClassName { get { return "TempMeter"; } } public string ClassName { get { return "TempMeter"; } }
public void ResetStaticProperties() { TempMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new TempMeter(); } public IComponent DummyComponent() { return new TempMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TempMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TempMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.TempMeterInternal
{ {
public string ClassName { get { return "TempMeterInternal"; } } public string ClassName { get { return "TempMeterInternal"; } }
public void ResetStaticProperties() { TempMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new TempMeter(); } public IComponent DummyComponent() { return new TempMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TempMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TempMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.TempMeterMeret
{ {
public string ClassName { get { return "TempMeterMeret"; } } public string ClassName { get { return "TempMeterMeret"; } }
public void ResetStaticProperties() { TempMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new TempMeter(); } public IComponent DummyComponent() { return new TempMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TempMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TempMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.Valve
{ {
public string ClassName { get { return "Valve"; } } public string ClassName { get { return "Valve"; } }
public void ResetStaticProperties() { Valve.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Valve(); } public IComponent DummyComponent() { return new Valve(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Valve(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Valve(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Elde.ValveEx
{ {
public string ClassName { get { return "ValveEx"; } } public string ClassName { get { return "ValveEx"; } }
public void ResetStaticProperties() { Valve.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Valve(); } public IComponent DummyComponent() { return new Valve(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Valve(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Valve(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Hart.Common
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Hart.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Hart(); } public IComponent DummyComponent() { return new Hart(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Hart(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Hart(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Hart.Nivotrack
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Nivotrack.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Nivotrack(); } public IComponent DummyComponent() { return new Nivotrack(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Nivotrack(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Nivotrack(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Keithley.Multimeter_2010_RS232
{ {
public string ClassName { get { return GetType().Namespace.Substring(17); } } public string ClassName { get { return GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Multimeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Multimeter(); } public IComponent DummyComponent() { return new Multimeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Multimeter(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Multimeter(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Keithley.TempMeter
{ {
public string ClassName { get { return GetType().Namespace.Substring(17); } } public string ClassName { get { return GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { TempMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new TempMeter(); } public IComponent DummyComponent() { return new TempMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TempMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TempMeter(cfg, components); }

View File

@ -30,7 +30,5 @@ namespace TBF.BenchControl.MettlerToledo.Multi
{ {
return ComponentCfgBase.CreateFromDbEntity(BalanceCfg.Serializer, component, this); return ComponentCfgBase.CreateFromDbEntity(BalanceCfg.Serializer, component, this);
} }
public void ResetStaticProperties() { BalanceDev.ResetStaticProperties(); }
} }
} }

View File

@ -30,7 +30,5 @@ namespace TBF.BenchControl.MettlerToledo.Standard
{ {
return ComponentCfgBase.CreateFromDbEntity(BalanceCfg.Serializer, component, this); return ComponentCfgBase.CreateFromDbEntity(BalanceCfg.Serializer, component, this);
} }
public void ResetStaticProperties() { BalanceDev.ResetStaticProperties(); }
} }
} }

View File

@ -30,7 +30,5 @@ namespace TBF.BenchControl.MettlerToledo.Standard
{ {
return ComponentCfgBase.CreateFromDbEntity(BalanceCfg.Serializer, component, this); return ComponentCfgBase.CreateFromDbEntity(BalanceCfg.Serializer, component, this);
} }
public void ResetStaticProperties() { BalanceNewDev.ResetStaticProperties(); }
} }
} }

View File

@ -30,7 +30,5 @@ namespace TBF.BenchControl.MettlerToledo.Standard
{ {
return ComponentCfgBase.CreateFromDbEntity(BalanceCfg.Serializer, component, this); return ComponentCfgBase.CreateFromDbEntity(BalanceCfg.Serializer, component, this);
} }
public void ResetStaticProperties() { BalanceOld.ResetStaticProperties(); }
} }
} }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Modbus.CometAmbient
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Ambient.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Ambient(); } public IComponent DummyComponent() { return new Ambient(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Ambient(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Ambient(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Modbus.Common
{ {
public string ClassName { get { return "Modbus"; } } public string ClassName { get { return "Modbus"; } }
public void ResetStaticProperties() { Modbus.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Modbus(); } public IComponent DummyComponent() { return new Modbus(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Modbus(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Modbus(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Modbus.Easytherm
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Easytherm.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Easytherm(); } public IComponent DummyComponent() { return new Easytherm(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Easytherm(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Easytherm(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Modbus.Novus
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Novus.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Novus(); } public IComponent DummyComponent() { return new Novus(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Novus(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Novus(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Modbus.PressureMeter.Meret
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { PressureMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new PressureMeter(); } public IComponent DummyComponent() { return new PressureMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new PressureMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new PressureMeter(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Modbus.QuidoRS
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { QuidoRS.ResetStaticProperties(); }
public IComponent DummyComponent() { return new QuidoRS(); } public IComponent DummyComponent() { return new QuidoRS(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new QuidoRS(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new QuidoRS(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Modbus.TankSelector
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { TankSelector.ResetStaticProperties(); }
public IComponent DummyComponent() { return new TankSelector(); } public IComponent DummyComponent() { return new TankSelector(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TankSelector(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new TankSelector(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Modbus.UltrasoundLevelMeter
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { LevelMeter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new LevelMeter(); } public IComponent DummyComponent() { return new LevelMeter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new LevelMeter(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new LevelMeter(cfg, components); }

View File

@ -8,9 +8,7 @@ namespace TBF.BenchControl.Modbus.WaterAnalyzer
{ {
public class Factory : IComponentFactory public class Factory : IComponentFactory
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Analyzer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Analyzer(); } public IComponent DummyComponent() { return new Analyzer(); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Modbus.WaterAnalyzer2
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Analyzer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Analyzer(); } public IComponent DummyComponent() { return new Analyzer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Analyzer(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Analyzer(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Network.Adapter
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Netadapter.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Netadapter(); } public IComponent DummyComponent() { return new Netadapter(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Netadapter(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Netadapter(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Network.Camera.CLP1611
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Camera.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Camera(); } public IComponent DummyComponent() { return new Camera(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Camera(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Camera(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Network.Camera.Display
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Display.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Display(); } public IComponent DummyComponent() { return new Display(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Display(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Display(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Network.Camera.Roi
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Roi.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Roi(); } public IComponent DummyComponent() { return new Roi(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Roi(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Roi(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Network.Camera.RoiForFixedStart
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Roi.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Roi(); } public IComponent DummyComponent() { return new Roi(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Roi(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Roi(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Network.Comet.Ambient
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Ambient.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Ambient(); } public IComponent DummyComponent() { return new Ambient(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Ambient(cfg, components); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Ambient(cfg, components); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Output.DB.ProductionTracing
{ {
public string ClassName { get { return "Output.DB.ProductionMonitoring"; } } /// For backward compatibility public string ClassName { get { return "Output.DB.ProductionMonitoring"; } } /// For backward compatibility
public void ResetStaticProperties() { Tracing.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Tracing(); } public IComponent DummyComponent() { return new Tracing(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Tracing(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Tracing(cfg); }

View File

@ -8,9 +8,7 @@ namespace TBF.BenchControl.Output.DB.SaveDiverterCorrections
{ {
public class Factory : IComponentFactory public class Factory : IComponentFactory
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { SaveDiverterCorr.ResetStaticProperties(); }
public IComponent DummyComponent() { return new SaveDiverterCorr(); } public IComponent DummyComponent() { return new SaveDiverterCorr(); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Output.DB.SaveFlowmeterCorrections
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { SaveFlowmeterCorr.ResetStaticProperties(); }
public IComponent DummyComponent() { return new SaveFlowmeterCorr(); } public IComponent DummyComponent() { return new SaveFlowmeterCorr(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new SaveFlowmeterCorr(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new SaveFlowmeterCorr(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Output.DB.SensusOracle
{ {
public string ClassName { get { return "Sensus-Oracle-Database"; } } public string ClassName { get { return "Sensus-Oracle-Database"; } }
public void ResetStaticProperties() { Database.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Database(); } public IComponent DummyComponent() { return new Database(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Database(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Database(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.EventTriggers.Iperl
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Trigger.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Trigger(); } public IComponent DummyComponent() { return new Trigger(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Trigger(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Trigger(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.EventTriggers.Standard
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Trigger.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Trigger(); } public IComponent DummyComponent() { return new Trigger(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Trigger(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Trigger(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.Basic
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.Basic
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".HeatMeters"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".HeatMeters"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.Basic
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.Elde
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.Enhanced
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.Enhanced
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".HeatMeters"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".HeatMeters"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.Enhanced
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.ImageArchiver
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Archiver.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Archiver(); } public IComponent DummyComponent() { return new Archiver(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Archiver(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Archiver(cfg); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Output.FileWriters.IperlLogger
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17); } } public string ClassName { get { return this.GetType().Namespace.Substring(17); } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.OneFilePerMeter
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.OneFilePerMeter
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".HeatMeters"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".HeatMeters"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.OneFilePerMeter
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.Xml
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -9,9 +9,7 @@ namespace TBF.BenchControl.Output.FileWriters.Xml
{ {
public class FactoryHeatMeters : IComponentFactory public class FactoryHeatMeters : IComponentFactory
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".HeatMeters"; } } public string ClassName { get { return GetType().Namespace.Substring(17) + ".HeatMeters"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }

View File

@ -11,8 +11,6 @@ namespace TBF.BenchControl.Output.FileWriters.Xml
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Writer(cfg); }

View File

@ -9,9 +9,7 @@ namespace TBF.BenchControl.Output.FileWriters.XmlBatch
{ {
public class FactorySingle : IComponentFactory public class FactorySingle : IComponentFactory
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Single"; } } public string ClassName { get { return GetType().Namespace.Substring(17) + ".Single"; } }
public void ResetStaticProperties() { Writer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Writer(); } public IComponent DummyComponent() { return new Writer(); }

View File

@ -10,8 +10,6 @@ namespace TBF.BenchControl.Output.Printers.Enhanced
{ {
public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } } public string ClassName { get { return this.GetType().Namespace.Substring(17) + ".Compound"; } }
public void ResetStaticProperties() { Printer.ResetStaticProperties(); }
public IComponent DummyComponent() { return new Printer(); } public IComponent DummyComponent() { return new Printer(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); } public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Printer(cfg); }

Some files were not shown because too many files have changed in this diff Show More