FixedStartMassCollection modified, ControlBoard.Elde repmoved, ver. 3.1.1624

This commit is contained in:
Milan Hanajik
2021-04-16 14:06:47 +02:00
parent 95d5d16c83
commit 847956f708
46 changed files with 113 additions and 3688 deletions
+3 -3
View File
@@ -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());