コード例 #1
0
ファイル: ZWaveThermostatFan.cs プロジェクト: Mavtak/roomie
        public ZWaveThermostatFan(ZWaveDevice device)
        {
            _device     = device;
            _thermostat = device.BackingObject as GeneralThermostatV2;

            SupportedModes = new List <ThermostatFanMode>();

            if (_thermostat == null)
            {
                return;
            }

            SetCallbacks();
        }
コード例 #2
0
ファイル: ZWaveThermostatFan.cs プロジェクト: Mavtak/roomie
        public ZWaveThermostatFan(ZWaveDevice device)
        {
            _device = device;
            _thermostat = device.BackingObject as GeneralThermostatV2;

            SupportedModes = new List<ThermostatFanMode>();

            if (_thermostat == null)
            {
                return;
            }

            SetCallbacks();
        }
コード例 #3
0
        public ZWaveSetpointCollection(ZWaveDevice device)
        {
            _device     = device;
            _thermostat = device.BackingObject as GeneralThermostatV2;

            _setpoints = new Dictionary <ThermostatSetpointType, ITemperature>();

            if (_thermostat == null)
            {
                return;
            }

            SetCallbacks();
        }
コード例 #4
0
        public ZWaveSetpointCollection(ZWaveDevice device)
        {
            _device = device;
            _thermostat = device.BackingObject as GeneralThermostatV2;

            _setpoints = new Dictionary<ThermostatSetpointType, ITemperature>();

            if (_thermostat == null)
            {
                return;
            }

            SetCallbacks();
        }
コード例 #5
0
ファイル: ZWaveThermostat.cs プロジェクト: Mavtak/roomie
        public ZWaveThermostat(ZWaveDevice device)
        {
            _device     = device;
            _thermostat = device.BackingObject as GeneralThermostatV2;

            Core       = new ZWaveThermostatCore(device);
            Fan        = new ZWaveThermostatFan(device);
            _setpoints = new ZWaveSetpointCollection(device);

            if (_thermostat == null)
            {
                return;
            }

            SetCallbacks();
        }
コード例 #6
0
ファイル: ZWaveThermostat.cs プロジェクト: Mavtak/roomie
        public ZWaveThermostat(ZWaveDevice device)
        {
            _device = device;
            _thermostat = device.BackingObject as GeneralThermostatV2;

            Core = new ZWaveThermostatCore(device);
            Fan = new ZWaveThermostatFan(device);
            _setpoints = new ZWaveSetpointCollection(device);

            if (_thermostat == null)
            {
                return;
            }

            SetCallbacks();
        }