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.PressureMeter
readonly PressureMeterCfg pressureMeterCfg;
public SchematicDrawing.IDrawingItem DrawingItem { get { return pressureMeterCfg as SchematicDrawing.IDrawingItem; } }
public readonly ControlBoardDev ControlBoard;
public readonly CBoard ControlBoard;
public readonly int Idx0; /// 0..3
public readonly byte RS485Address; /// 0..255
@@ -33,7 +33,7 @@ namespace TBF.BenchControl.Elde.PressureMeter
{
pressureMeterCfg = cfg as PressureMeterCfg;
ControlBoard = (ControlBoardDev)TbfComponents.FindComponent(cfg.ParentName, components);
ControlBoard = (CBoard)TbfComponents.FindComponent(cfg.ParentName, components);
if (ControlBoard == null) throw new Exception("Cannot find " + Name + " parent");
Idx0 = pressureMeterCfg.Idx0;