BenchControl.Uni.Diverter/FlowMeter/RegReader added, etc. (many changes and refactorization).

This commit is contained in:
Milan Hanajik
2021-02-24 14:15:10 +01:00
parent 5325d7f6ee
commit 4cf4192ebb
163 changed files with 6766 additions and 1041 deletions
@@ -19,7 +19,7 @@ namespace TBF.BenchControl.Elde.TempMeterMeret
readonly TempMeterCfg tempMtrCfg;
public SchematicDrawing.IDrawingItem DrawingItem { get { return tempMtrCfg as SchematicDrawing.IDrawingItem; } }
public readonly ControlBoardDev ControlBoard;
public readonly CBoard ControlBoard;
public TempMeter() {}
@@ -28,7 +28,7 @@ namespace TBF.BenchControl.Elde.TempMeterMeret
{
tempMtrCfg = cfg as TempMeterCfg;
ControlBoard = TbfComponents.FindComponent(cfg.ParentName, components) as ControlBoardDev;
ControlBoard = TbfComponents.FindComponent(cfg.ParentName, components) as CBoard;
if (ControlBoard == null) throw new Exception("Cannot find " + Name + " parent");
/// Prepare data for SendCalibData() control board component method