From c47895e6bb0d6b9f2df9cb296dcd1888a3dcfd52 Mon Sep 17 00:00:00 2001 From: BlubbFish Date: Thu, 2 Aug 2018 21:42:26 +0000 Subject: [PATCH] Add new Class and throw on exeption --- Zway/Devices/Device.cs | 2 +- Zway/Interfaces/ACommandClass.cs | 1 + Zway/ZwayController.cs | 2 +- Zway/bin/Release/Zway.dll | Bin 61952 -> 61952 bytes Zway/lib/HttpClient.cs | 12 ++++++------ 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Zway/Devices/Device.cs b/Zway/Devices/Device.cs index be64774..b4a57da 100644 --- a/Zway/Devices/Device.cs +++ b/Zway/Devices/Device.cs @@ -8,7 +8,7 @@ using LitJson; namespace BlubbFish.IoT.Zway.Devices { public class Device { - private Boolean polling; + private readonly Boolean polling; public delegate void UpdatedDevice(Object sender, DeviceUpdateEvent e); public event UpdatedDevice Update; diff --git a/Zway/Interfaces/ACommandClass.cs b/Zway/Interfaces/ACommandClass.cs index cdabf21..fcb3fe3 100644 --- a/Zway/Interfaces/ACommandClass.cs +++ b/Zway/Interfaces/ACommandClass.cs @@ -24,6 +24,7 @@ namespace BlubbFish.IoT.Zway.Interfaces { MeterPulse = 53, MeterTableMonitor = 61, ThermostatOperatingState = 66, + ClimateControlSchedule = 70, CRC16 = 86, AssociationGroupInformation = 89, DeviceResetLocally = 90, diff --git a/Zway/ZwayController.cs b/Zway/ZwayController.cs index 8d2adc8..96bf6d6 100644 --- a/Zway/ZwayController.cs +++ b/Zway/ZwayController.cs @@ -16,7 +16,7 @@ namespace BlubbFish.IoT.Zway { private Thread updatethread; private Thread pollthread; public static ReadOnlyDictionary namelist; - private Boolean polling; + private readonly Boolean polling; public delegate void DataUpdate(Object sender, DeviceUpdateEvent e); public event DataUpdate Update; diff --git a/Zway/bin/Release/Zway.dll b/Zway/bin/Release/Zway.dll index 6ea199876963f0e232d61c6a88e0be48978d9383..40502842849b2fb6a98b07578ccf4787af8615e2 100644 GIT binary patch delta 136 zcmZp8!rbtLc|r$sY_jaeZthxDMTQtYFLp+T1a4m-$;TE1Bxmw^u`4n>V>UKrF+^z_5pnkzvmZ28N(u gm*6OS(Y@YxpZYA5@-VQQYE%N0W^mnn^@TPk07bbcm;e9( delta 136 zcmZp8!rbtLc|r&CD@U1)-Q2aRj0`b+UhIqv3EaLwl8-G2NY3O1i9F+r29lY=Kyvf$ z+LQ4DYosNfPY@AsZP0n#pq