BenchControl.Uni.Diverter/FlowMeter/RegReader added, etc. (many changes and refactorization).
This commit is contained in:
@@ -18,7 +18,7 @@ namespace TBF.BenchControl.Elde.FlowMeter
|
||||
readonly FlowMeterCfg flowMeterCfg;
|
||||
public SchematicDrawing.IDrawingItem DrawingItem { get { return flowMeterCfg as SchematicDrawing.IDrawingItem; } }
|
||||
|
||||
readonly ControlBoardDev controlBoard;
|
||||
readonly CBoard controlBoard;
|
||||
|
||||
public int Idx1 { get { return flowMeterCfg.Idx1; } }
|
||||
public double NominalFlow { get { return flowMeterCfg.NominalFlow; } }
|
||||
@@ -53,7 +53,7 @@ namespace TBF.BenchControl.Elde.FlowMeter
|
||||
{
|
||||
flowMeterCfg = cfg as FlowMeterCfg;
|
||||
|
||||
controlBoard = (ControlBoardDev)TbfComponents.FindComponent(cfg.ParentName, components);
|
||||
controlBoard = (CBoard)TbfComponents.FindComponent(cfg.ParentName, components);
|
||||
if (controlBoard == null) throw new Exception("Cannot find " + Name + " parent");
|
||||
|
||||
/// Prepare data for SendCalibData() control board component method
|
||||
|
||||
Reference in New Issue
Block a user