Implementation of feature/glspartcn-partition-sensor

Resolves #270
This commit is contained in:
Jason DeVito
2020-06-30 10:06:39 -05:00
parent e8a8d481aa
commit 8f35d13d4b
25 changed files with 1154 additions and 642 deletions

View File

@@ -18,9 +18,9 @@ namespace PepperDash.Essentials.Core.CrestronIO
public IntFeedback TemperatureFeedback { get; private set; }
public IntFeedback HumidityFeedback { get; private set; }
public C2nRthsController(string key, string name, GenericBase hardware) : base(key, name, hardware)
public C2nRthsController(string key, string name, GenericBase sensor) : base(key, name, sensor)
{
_device = hardware as C2nRths;
_device = sensor as C2nRths;
TemperatureFeedback = new IntFeedback(() => _device.TemperatureFeedback.UShortValue);
HumidityFeedback = new IntFeedback(() => _device.HumidityFeedback.UShortValue);