(1) UI.Procedures.ProcedureParamsMixedCtrl, (2) Modbus.Novus added, (3) cleanup
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user