Exemplo n.º 1
0
 public KnxDpt4Attribute(IDriverContext driverContext, IKnxDriver knxDriver) : base(driverContext, knxDriver)
 {
 }
Exemplo n.º 2
0
 public Knx3Level(IDriverContext driverContext, IKnxDriver driver) : base(driverContext)
 {
     _driver     = driver;
     _mainGroups = new List <KnxMainGroup>();
 }
Exemplo n.º 3
0
 public KnxMiddleGroup(IDriverContext driverContext, IKnxDriver knxDriver) : base(driverContext, knxDriver)
 {
 }
Exemplo n.º 4
0
        internal static KnxLevelBase CreateDriverNode(string key, IDriverContext ctx, IKnxDriver driver)
        {
            KnxLevelBase attribute = null;

            switch (key)
            {
            case "knx-dpt1":
                attribute = new KnxDpt1Attribute(ctx, driver);
                break;

            case "knx-dpt2":
                attribute = new KnxDpt2Attribute(ctx, driver);
                break;

            case "knx-dpt3":
                attribute = new KnxDpt3Attribute(ctx, driver);
                break;

            case "knx-dpt4":
                attribute = new KnxDpt4Attribute(ctx, driver);
                break;

            case "knx-dpt5":
                attribute = new KnxDpt5Attribute(ctx, driver);
                break;

            case "knx-dpt6":
                attribute = new KnxDpt6Attribute(ctx, driver);
                break;

            case "knx-dpt7":
                attribute = new KnxDpt7Attribute(ctx, driver);
                break;

            case "knx-dpt8":
                attribute = new KnxDpt8Attribute(ctx, driver);
                break;

            case "knx-dpt9":
                attribute = new KnxDpt9Attribute(ctx, driver);
                break;

            case "knx-dpt10":
                attribute = new KnxDpt10Attribute(ctx, driver);
                break;

            case "knx-dpt11":
                attribute = new KnxDpt11Attribute(ctx, driver);
                break;

            default:
                return(null);
            }

            return(attribute);
        }
Exemplo n.º 5
0
 protected KnxGroupAddress(IDriverContext driverContext, IKnxDriver knxDriver) : base(driverContext, knxDriver)
 {
 }
Exemplo n.º 6
0
 protected KnxLevelBase(IDriverContext driverContext, IKnxDriver driver) : base(driverContext)
 {
     Driver    = driver;
     _children = new List <KnxLevelBase>();
 }