internal bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { var result = _dataEntry.ProcessValueUpdate(value, updateType); if (result) { _device.UpdateCurrentAction(); } return(result); }
internal bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { var result = _dataEntry.ProcessValueUpdate(value, updateType); if (result) { _device.UpdateCurrentAction(); } return result; }
public bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { if (_mode.ProcessValueUpdate(value, updateType)) { return(true); } if (_currentAction.ProcessValueUpdate(value, updateType)) { return(true); } return(false); }
public bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { if (_mode.ProcessValueUpdate(value, updateType)) { return true; } if (_currentAction.ProcessValueUpdate(value, updateType)) { return true; } return false; }
public bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { var availableSetpoints = _setpoints.Values.Where(x => x.HasValue()).ToArray(); foreach (var setpoint in availableSetpoints) { if (setpoint.ProcessValueUpdate(value, updateType)) { return(true); } } return(false); }
internal bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { if (_toggleSwitch.ProcessValueUpdate(value, updateType)) { return(true); } if (_dimmerSwitch.ProcessValueUpdate(value, updateType)) { return(true); } if (_binarySensor.ProcessValueUpdate(value, updateType)) { return(true); } if (_powerSensor.ProcessValueUpdate(value, updateType)) { return(true); } if (_humiditySensor.ProcessValueUpdate(value, updateType)) { return(true); } if (_illuminanceSensor.ProcessValueUpdate(value, updateType)) { return(true); } if (_temperatureSensor.ProcessValueUpdate(value, updateType)) { return(true); } if (_thermostat.ProcessValueUpdate(value, updateType)) { return(true); } return(false); }
public bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { if (_core.ProcessValueUpdate(value, updateType)) { return(true); } if (_fan.ProcessValueUpdate(value, updateType)) { return(true); } if (_setpoints.ProcessValueUpdate(value, updateType)) { return(true); } return(false); }
public bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { if (!Matches(value)) { return(false); } if (!_initialValueIsValid && updateType == ValueUpdateType.Add) { return(true); } RefreshLastUpdated(); var @event = CreateDeviceEvent(); Device.AddEvent(@event); return(true); }
internal bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { var result = _dataEntry.ProcessValueUpdate(value, updateType); return result; }
private void HandleDeviceValueUpdated(OpenZWaveDevice device, OpenZWaveDeviceValue value, ValueUpdateType updateType) { HandleDeviceConnected(device, true); device.ProcessValueUpdate(value, updateType); }
public bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { if (_core.ProcessValueUpdate(value, updateType)) { return true; } if (_fan.ProcessValueUpdate(value, updateType)) { return true; } if (_setpoints.ProcessValueUpdate(value, updateType)) { return true; } return false; }
public bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { var availableSetpoints = _setpoints.Values.Where(x => x.HasValue()).ToArray(); foreach (var setpoint in availableSetpoints) { if (setpoint.ProcessValueUpdate(value, updateType)) { return true; } } return false; }
internal bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { var result = _dataEntry.ProcessValueUpdate(value, updateType); return(result); }
internal bool ProcessValueUpdate(OpenZWaveDeviceValue value, ValueUpdateType updateType) { if (_toggleSwitch.ProcessValueUpdate(value, updateType)) { return true; } if (_dimmerSwitch.ProcessValueUpdate(value, updateType)) { return true; } if (_binarySensor.ProcessValueUpdate(value, updateType)) { return true; } if (_powerSensor.ProcessValueUpdate(value, updateType)) { return true; } if (_humiditySensor.ProcessValueUpdate(value, updateType)) { return true; } if (_illuminanceSensor.ProcessValueUpdate(value, updateType)) { return true; } if (_temperatureSensor.ProcessValueUpdate(value, updateType)) { return true; } if (_thermostat.ProcessValueUpdate(value, updateType)) { return true; } return false; }