public override IDriverNode CreateDriverNode(IDriverContext ctx) { var dev = new ModBusMasterDevice(ctx, _modBusDriver); _childs.Add(dev); return(dev); }
public ModBusMasterAttribute(IDriverContext driverContext, ModBusMasterDevice parent, IModBusMasterDriver driver, ModBusAttribute attribute) : base(driverContext) { Driver = driver; _parent = parent; _attribute = attribute; }