예제 #1
0
        public override IDriverNode CreateDriverNode(IDriverContext ctx)
        {
            var dev = new ModBusMasterDevice(ctx, _modBusDriver);

            _childs.Add(dev);
            return(dev);
        }
예제 #2
0
 public ModBusMasterAttribute(IDriverContext driverContext, ModBusMasterDevice parent, IModBusMasterDriver driver, ModBusAttribute attribute) : base(driverContext)
 {
     Driver     = driver;
     _parent    = parent;
     _attribute = attribute;
 }