FixedStartMassCollection modified, ControlBoard.Elde repmoved, ver. 3.1.1624
This commit is contained in:
@@ -5,7 +5,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using Dirichlet.Numerics;
|
||||
using log4net;
|
||||
using TBF.Rig.ControlBoard.Legacy;
|
||||
using TBF.Rig.ControlBoard;
|
||||
using TBF.Rig.GenericDevices;
|
||||
using TBF.Resources;
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace TBF.Rig.Various.CoverTest
|
||||
|
||||
readonly CoverTestCfg coverTestCfg;
|
||||
|
||||
readonly CBoard controlBoard;
|
||||
readonly IControlBoard controlBoard;
|
||||
|
||||
int bitPosition; /// 0 .. 127
|
||||
UInt128 mask; /// derived from bitPosition in the constructor
|
||||
@@ -36,7 +36,7 @@ namespace TBF.Rig.Various.CoverTest
|
||||
{
|
||||
coverTestCfg = cfg as CoverTestCfg;
|
||||
|
||||
controlBoard = (CBoard)TbfComponents.FindComponent(cfg.ParentName, components);
|
||||
controlBoard = TbfComponents.FindComponent(cfg.ParentName, components) as IControlBoard;
|
||||
if (controlBoard == null) throw new Exception("Cannot find " + Name + " parent");
|
||||
|
||||
log.Warn(this.ToString());
|
||||
|
||||
Reference in New Issue
Block a user