ControlBoards, IControlBoard iface, Devices, test methods.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
///
|
||||
/// Copyright (c) 2018 Sensus Slovensko a.s.
|
||||
/// Copyright (c) 2018-2020 Sensus Slovensko a.s.
|
||||
///
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using log4net;
|
||||
using TBF.BenchControl.ControlBoard.Legacy;
|
||||
using TBF.Boxes;
|
||||
using TBF.Resources;
|
||||
|
||||
@@ -25,7 +26,7 @@ namespace TBF.BenchControl.Elde.TempMeterMeret
|
||||
{
|
||||
tempMtrCfg = cfg as TempMeterCfg;
|
||||
|
||||
ControlBoard = (ControlBoardDev)TbfComponents.FindComponent(cfg.ParentName, components);
|
||||
ControlBoard = TbfComponents.FindComponent(cfg.ParentName, components) as ControlBoardDev;
|
||||
if (ControlBoard == null) throw new Exception("Cannot find " + Name + " parent");
|
||||
|
||||
/// Prepare data for SendCalibData() control board component method
|
||||
|
||||
Reference in New Issue
Block a user