(1) UI.Procedures.ProcedureParamsMixedCtrl, (2) Modbus.Novus added, (3) cleanup

This commit is contained in:
Milan Hanajik
2021-03-29 18:25:51 +02:00
parent 6be8af6d63
commit 1a8ef4f1be
24 changed files with 1477 additions and 33 deletions
@@ -8,7 +8,7 @@ namespace TBF.Rig.Output.DB.ProductionTracing
{
public class Factory : IComponentFactory
{
public string ClassName { get { return "Output.DB.ProductionMonitoring"; } } /// For backward compatibility
public string ClassName { get { return GetType().Namespace.Substring(8); } } /// For backward compatibility
public override string ToString() { return ClassName; }
public void ResetStaticProperties() { Tracing.ResetStaticProperties(); }
@@ -17,7 +17,7 @@ namespace TBF.Rig.Output.DB.ProductionTracing
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Tracing(cfg); }
public IComponentCfg DefaultConfig() { return new MonitoringCfg(this.GetType().Namespace.Substring(24), this); }
public IComponentCfg DefaultConfig() { return new MonitoringCfg("ProductionTracing", this); }
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
{
@@ -8,7 +8,7 @@ namespace TBF.Rig.Output.DB.SaveDiverterCorrections
{
public class Factory : IComponentFactory
{
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
public string ClassName { get { return GetType().Namespace.Substring(8); } }
public override string ToString() { return ClassName; }
public void ResetStaticProperties() { SaveDiverterCorr.ResetStaticProperties(); }
@@ -17,7 +17,7 @@ namespace TBF.Rig.Output.DB.SaveDiverterCorrections
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new SaveDiverterCorr(cfg); }
public IComponentCfg DefaultConfig() { return new SaveDiverterCorrCfg(this.GetType().Namespace.Substring(18), this); }
public IComponentCfg DefaultConfig() { return new SaveDiverterCorrCfg("SaveDiverterCorrections", this); }
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
{
@@ -8,7 +8,7 @@ namespace TBF.Rig.Output.DB.SaveFlowmeterCorrections
{
public class Factory : IComponentFactory
{
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
public string ClassName { get { return GetType().Namespace.Substring(8); } }
public override string ToString() { return ClassName; }
public void ResetStaticProperties() { SaveFlowmeterCorr.ResetStaticProperties(); }
@@ -17,7 +17,7 @@ namespace TBF.Rig.Output.DB.SaveFlowmeterCorrections
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new SaveFlowmeterCorr(cfg); }
public IComponentCfg DefaultConfig() { return new SaveFlowmeterCorrCfg(this.GetType().Namespace.Substring(18), this); }
public IComponentCfg DefaultConfig() { return new SaveFlowmeterCorrCfg("SaveFlowmeterCorrections", this); }
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
{
+2 -2
View File
@@ -8,7 +8,7 @@ namespace TBF.Rig.Output.DB.SensusOracle
{
public class Factory : IComponentFactory
{
public string ClassName { get { return "Sensus-Oracle-Database"; } }
public string ClassName { get { return GetType().Namespace.Substring(8); } }
public override string ToString() { return ClassName; }
public void ResetStaticProperties() { Database.ResetStaticProperties(); }
@@ -17,7 +17,7 @@ namespace TBF.Rig.Output.DB.SensusOracle
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Database(cfg); }
public IComponentCfg DefaultConfig() { return new DatabaseCfg("Sensus-Oracle-DB", this); }
public IComponentCfg DefaultConfig() { return new DatabaseCfg("SensusOracle", this); }
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
{