private static IOpenZWaveDeviceValueMatcher CreateMatcher(OpenZWaveDevice device, IOpenZWaveDeviceValueMatcher unitsMatcher) { var result = new CompositeMatcher( new IdMatcher(device.Id), new CommandClassMatcher(CommandClass.SensorMultilevel), unitsMatcher ); return(result); }
public ThermostatSetpointDataEntry(OpenZWaveDevice device, ThermostatSetpointType setpointType) : base(device, CommandClass.ThermostatSetpoint, GetSetpointIndex(setpointType)) { }
public IlluminanceSensorDataEntry(OpenZWaveDevice device) : base(device, UnitsMatcher.Illuminance()) { }
public ThermometerDataEntry(OpenZWaveDevice device) : base(device, CommandClass.SensorMultilevel) { }
public ImmediatePowerDataEntry(OpenZWaveDevice device) : base(device, CommandClass.Meter, 8) { }
protected ByteNodeDataEntry(OpenZWaveDevice device, CommandClass commandClass) : base(device, commandClass) { }
public SwitchBinaryDataEntry(OpenZWaveDevice device) : base(device, CommandClass.SwitchBinary) { }
protected BoolNodeDataEntry(OpenZWaveDevice device, CommandClass commandClass, bool?initialValueIsValid = null) : base(device, commandClass, initialValueIsValid: initialValueIsValid) { }
public ThermostatFanModeDataEntry(OpenZWaveDevice device) : base(device, CommandClass.ThermostatFanMode) { }
public BinarySensorDataEntry(OpenZWaveDevice device) : base(device, CommandClass.SensorBinary, false) { }
public SwitchMultilevelDataEntry(OpenZWaveDevice device) : base(device, CommandClass.SwitchMultilevel) { }
public HumiditySensorDataEntry(OpenZWaveDevice device) : base(device, UnitsMatcher.Humidity()) { }
protected DecimalNodeDataEntry(OpenZWaveDevice device, CommandClass commandClass, byte?index = null) : base(device, commandClass, index) { }
public ThermostatCoreCurrentActionDataEntry(OpenZWaveDevice device) : base(device, CommandClass.ThermostatOperatingState) { }
protected TemperatureNodeDataEntry(OpenZWaveDevice device, CommandClass commandClass, byte?index = null) : base(device, commandClass, index) { }
protected NodeDataEntry(OpenZWaveDevice device, CommandClass commandClass, byte?index = null, bool?initialValueIsValid = null) : this(device, CompositeMatcher.Create(device.Id, commandClass, index), initialValueIsValid) { }
protected MeasurementNodeDataEntry(OpenZWaveDevice device, IOpenZWaveDeviceValueMatcher unitsMatcher) : base(device, CreateMatcher(device, unitsMatcher)) { }
protected NodeDataEntry(OpenZWaveDevice device, IOpenZWaveDeviceValueMatcher matcher, bool?initialValueIsValid = null) { Device = device; Matcher = matcher; _initialValueIsValid = initialValueIsValid ?? true; }
public ThermostatFanCurrentActionDataEntry(OpenZWaveDevice device) : base(device, CommandClass.ThermostatFanState) { }
protected WritableTemperatureNodeDataEntry(OpenZWaveDevice device, CommandClass commandClass, byte index) : base(device, commandClass, index) { }