Initialization( ) changed, is abstract in ComponentBase, builds OK.
This commit is contained in:
@@ -23,9 +23,15 @@ namespace TBF.Rig.Dummy.Diverter
|
||||
public FloatBox SwitchTimeStart { get { return switchTimeStart; } }
|
||||
public FloatBox SwitchTimeEnd { get { return switchTimeEnd; } }
|
||||
|
||||
public Component()
|
||||
{
|
||||
}
|
||||
public int DiverterNr { get { return 0; } }
|
||||
public bool State { get { return false; } }
|
||||
public int StartThreshold { get { return 50; } }
|
||||
public int ThresholdLo { get { return 10; } }
|
||||
public int ThresholdHi { get { return 90; } }
|
||||
public double TestTimeCorrection(double flow) { return 0; }
|
||||
|
||||
|
||||
public Component() { }
|
||||
|
||||
public Component(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
@@ -35,15 +41,6 @@ namespace TBF.Rig.Dummy.Diverter
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public int DiverterNr { get { return 0; } }
|
||||
public bool State { get { return false; } }
|
||||
public int StartThreshold { get { return 50; } }
|
||||
public int ThresholdLo { get { return 10; } }
|
||||
public int ThresholdHi { get { return 90; } }
|
||||
|
||||
public double TestTimeCorrection(double flow)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
public override void Initialize() { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user