Exemplo n.º 1
0
        private static IOpenZWaveDeviceValueMatcher CreateMatcher(OpenZWaveDevice device, IOpenZWaveDeviceValueMatcher unitsMatcher)
        {
            var result = new CompositeMatcher(
                new IdMatcher(device.Id),
                new CommandClassMatcher(CommandClass.SensorMultilevel),
                unitsMatcher
                );

            return(result);
        }
Exemplo n.º 2
0
 public ThermostatSetpointDataEntry(OpenZWaveDevice device, ThermostatSetpointType setpointType)
     : base(device, CommandClass.ThermostatSetpoint, GetSetpointIndex(setpointType))
 {
 }
Exemplo n.º 3
0
 public IlluminanceSensorDataEntry(OpenZWaveDevice device)
     : base(device, UnitsMatcher.Illuminance())
 {
 }
Exemplo n.º 4
0
 public ThermometerDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.SensorMultilevel)
 {
 }
Exemplo n.º 5
0
 public ImmediatePowerDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.Meter, 8)
 {
 }
Exemplo n.º 6
0
 protected ByteNodeDataEntry(OpenZWaveDevice device, CommandClass commandClass)
     : base(device, commandClass)
 {
 }
Exemplo n.º 7
0
 public SwitchBinaryDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.SwitchBinary)
 {
 }
Exemplo n.º 8
0
 protected BoolNodeDataEntry(OpenZWaveDevice device, CommandClass commandClass, bool?initialValueIsValid = null)
     : base(device, commandClass, initialValueIsValid: initialValueIsValid)
 {
 }
Exemplo n.º 9
0
 public ThermostatFanModeDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.ThermostatFanMode)
 {
 }
Exemplo n.º 10
0
 public BinarySensorDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.SensorBinary, false)
 {
 }
Exemplo n.º 11
0
 public SwitchMultilevelDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.SwitchMultilevel)
 {
 }
Exemplo n.º 12
0
 public ThermostatSetpointDataEntry(OpenZWaveDevice device, ThermostatSetpointType setpointType)
     : base(device, CommandClass.ThermostatSetpoint, GetSetpointIndex(setpointType))
 {
 }
Exemplo n.º 13
0
 public HumiditySensorDataEntry(OpenZWaveDevice device)
     : base(device, UnitsMatcher.Humidity())
 {
 }
Exemplo n.º 14
0
 protected DecimalNodeDataEntry(OpenZWaveDevice device, CommandClass commandClass, byte?index = null)
     : base(device, commandClass, index)
 {
 }
Exemplo n.º 15
0
 public SwitchBinaryDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.SwitchBinary)
 {
 }
Exemplo n.º 16
0
 public ThermostatCoreCurrentActionDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.ThermostatOperatingState)
 {
 }
Exemplo n.º 17
0
 protected TemperatureNodeDataEntry(OpenZWaveDevice device, CommandClass commandClass, byte?index = null)
     : base(device, commandClass, index)
 {
 }
Exemplo n.º 18
0
 public ThermometerDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.SensorMultilevel)
 {
 }
Exemplo n.º 19
0
 protected NodeDataEntry(OpenZWaveDevice device, CommandClass commandClass, byte?index = null, bool?initialValueIsValid = null)
     : this(device, CompositeMatcher.Create(device.Id, commandClass, index), initialValueIsValid)
 {
 }
Exemplo n.º 20
0
 protected MeasurementNodeDataEntry(OpenZWaveDevice device, IOpenZWaveDeviceValueMatcher unitsMatcher)
     : base(device, CreateMatcher(device, unitsMatcher))
 {
 }
Exemplo n.º 21
0
 protected NodeDataEntry(OpenZWaveDevice device, IOpenZWaveDeviceValueMatcher matcher, bool?initialValueIsValid = null)
 {
     Device  = device;
     Matcher = matcher;
     _initialValueIsValid = initialValueIsValid ?? true;
 }
Exemplo n.º 22
0
 public ImmediatePowerDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.Meter, 8)
 {
 }
Exemplo n.º 23
0
 public ThermostatFanCurrentActionDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.ThermostatFanState)
 {
 }
Exemplo n.º 24
0
 public BinarySensorDataEntry(OpenZWaveDevice device)
     : base(device, CommandClass.SensorBinary, false)
 {
 }
Exemplo n.º 25
0
 protected WritableTemperatureNodeDataEntry(OpenZWaveDevice device, CommandClass commandClass, byte index)
     : base(device, commandClass, index)
 {
 }