Initialization( ) changed, is abstract in ComponentBase, builds OK.

This commit is contained in:
Milan Hanajik
2021-04-03 09:39:17 +02:00
parent a58fe1f997
commit c53cb8ace0
106 changed files with 441 additions and 312 deletions
@@ -50,11 +50,14 @@ namespace TBF.Rig.Output.DB.SaveDiverterCorrections
: base(cfg)
{
myCfg = cfg as SaveDiverterCorrCfg;
currentOp = CurrentOp.None;
log.Warn(this.ToString());
}
public override void Initialize()
{
currentOp = CurrentOp.None;
}
/// <summary>
/// Writes the test cycle results into a file, Events: Event.ResultsWritten
@@ -50,11 +50,14 @@ namespace TBF.Rig.Output.DB.SaveFlowmeterCorrections
: base(cfg)
{
myCfg = cfg as SaveFlowmeterCorrCfg;
currentOp = CurrentOp.None;
log.Warn(this.ToString());
}
public override void Initialize()
{
currentOp = CurrentOp.None;
}
/// <summary>
/// Writes the test cycle results into a file, Events: Event.ResultsWritten
@@ -25,10 +25,12 @@ namespace TBF.Rig.Output.EventTriggers.Standard
: base(cfg)
{
triggerCfg = cfg as TriggerCfg;
if (triggerCfg == null) throw new ArgumentException("triggerCfg");
log.Warn(this.ToString());
}
public override void Initialize() { }
#region Configuration Change Handling
public static void OnCfgChange(object sender, CfgChangeArgs args)
@@ -67,6 +67,8 @@ namespace TBF.Rig.Output.FileWriters.ImageArchiver
log.Debug(ToString());
}
public override void Initialize() { }
/// <summary>
/// Returns a file name derived from a DateTime structure.
@@ -49,11 +49,14 @@ namespace TBF.Rig.Output.FileWriters.IperlLogger
: base(cfg)
{
writerCfg = cfg as WriterCfg;
currentOp = CurrentOp.None;
log.Warn(this.ToString());
}
public override void Initialize()
{
currentOp = CurrentOp.None;
}
/// <summary>
/// Returns a file name derived from a DateTime structure.