1 Commits
Author SHA1 Message Date
BlubbFish b29e1d2a14 [BF] v.1.3.3 fixing polling once bug 2017-12-19 17:33:31 +00:00
3 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -153,13 +153,16 @@ namespace BlubbFish.IoT.Zway.Interfaces {
protected void PollSubGlobal() { protected void PollSubGlobal() {
Boolean poll = false; Boolean poll = false;
Boolean pollonce = false;
foreach (KeyValuePair<Int32, ACommandClass> item in this.Sub) { foreach (KeyValuePair<Int32, ACommandClass> item in this.Sub) {
if (item.Value.Polling) { if (item.Value.Polling) {
poll = true; poll = true;
break; }
if(item.Value.PollOnce) {
pollonce = true;
} }
} }
if (poll) { if (poll || pollonce) {
this.http.GetVoid("ZWave.zway/Run/devices[" + this.DeviceId + "].instances[" + this.Instance + "].commandClasses[" + ((Int32)this.Commandclass).ToString() + "].Get()"); this.http.GetVoid("ZWave.zway/Run/devices[" + this.DeviceId + "].instances[" + this.Instance + "].commandClasses[" + ((Int32)this.Commandclass).ToString() + "].Get()");
} }
} }
+2 -2
View File
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben: // indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.2.0")] [assembly: AssemblyVersion("1.3.3.0")]
[assembly: AssemblyFileVersion("1.3.2.0")] [assembly: AssemblyFileVersion("1.3.3.0")]
Binary file not shown.