示例#1
0
        private byte[] sentMessage; // bytes of last sent message, used to match the echo

        public InsteonMessenger(InsteonNetwork network)
        {
            if (network == null)
            {
                throw new ArgumentNullException(nameof(network));
            }

            this.network         = network;
            bridge               = new InsteonNetworkBridge(this);
            ControllerProperties = new Dictionary <PropertyKey, int>();
        }
        private byte[] sentMessage; // bytes of last sent message, used to match the echo

        public InsteonMessenger(InsteonNetwork network)
        {
            if (network == null)
            {
                throw new ArgumentNullException(nameof(network));
            }

            this.network = network;
            bridge = new InsteonNetworkBridge(this);
            ControllerProperties = new Dictionary<PropertyKey, int>();
        }