Initialization( ) changed, is abstract in ComponentBase, builds OK.
This commit is contained in:
@@ -29,9 +29,7 @@ namespace TBF.Rig.Keithley.TempMeter
|
||||
Dictionary<DoubleBox, IOperation> operations2;
|
||||
|
||||
|
||||
public TempMeter()
|
||||
{
|
||||
}
|
||||
public TempMeter() { }
|
||||
|
||||
public TempMeter(Generic.IComponentCfg cfg, IList<Generic.IComponent> components)
|
||||
: base(cfg)
|
||||
@@ -41,12 +39,15 @@ namespace TBF.Rig.Keithley.TempMeter
|
||||
Multimeter = (Multimeter)TbfComponents.FindComponent(cfg.ParentName, components);
|
||||
if (Multimeter == null) throw new Exception("Cannot find " + Name + " parent");
|
||||
|
||||
operations = new Dictionary<DoubleBox, IOperation>();
|
||||
operations2 = new Dictionary<DoubleBox, IOperation>();
|
||||
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
operations = new Dictionary<DoubleBox, IOperation>();
|
||||
operations2 = new Dictionary<DoubleBox, IOperation>();
|
||||
}
|
||||
|
||||
///
|
||||
/// Calendar support
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user