IComponentCfg and IComponentFactory interfaces and all derived classes modified.
This commit is contained in:
@@ -206,10 +206,10 @@ namespace TBF.BenchControl.Elde
|
||||
/// <summary>
|
||||
/// Constructor
|
||||
/// </summary>
|
||||
public ControlBoardDev(ControlBoardCfg cfg)
|
||||
public ControlBoardDev(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
{
|
||||
controlBoardCfg = cfg;
|
||||
controlBoardCfg = cfg as ControlBoardCfg;
|
||||
|
||||
#if DN100 || MUNICH || FUZHOU150
|
||||
FMFreq = new float[2] { 0, 0 }; /// Nr. of pumps: Fuzhou150=2, Fuzhou300=6, newer=6
|
||||
@@ -222,7 +222,7 @@ namespace TBF.BenchControl.Elde
|
||||
routeMask = 0;
|
||||
for (int i = 0; i < 64; i++)
|
||||
{
|
||||
if (i < cfg.VirtualValvesRangeLo || i > cfg.VirtualValvesRangeHi)
|
||||
if (i < controlBoardCfg.VirtualValvesRangeLo || i > controlBoardCfg.VirtualValvesRangeHi)
|
||||
{
|
||||
routeMask = routeMask | ((ulong)1 << i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user