IComponentCfg and IComponentFactory interfaces and all derived classes modified.
This commit is contained in:
@@ -25,10 +25,10 @@ namespace TBF.BenchControl.Modbus.QuidoRS
|
||||
{
|
||||
}
|
||||
|
||||
public QuidoRS(QuidoRSCfg cfg, IList<Generic.IComponent> components)
|
||||
public QuidoRS(Generic.IComponentCfg cfg, IList<Generic.IComponent> components)
|
||||
: base(cfg)
|
||||
{
|
||||
quidoRSCfg = cfg;
|
||||
quidoRSCfg = cfg as QuidoRSCfg;
|
||||
|
||||
modbus = (GenericDevices.IModbus)TbfComponents.FindComponent(cfg.ParentName, components);
|
||||
if (modbus == null) throw new Exception("Cannot find " + Name + " parent");
|
||||
|
||||
Reference in New Issue
Block a user