[BF] v.1.3.3 fixing polling once bug

This commit is contained in:
BlubbFish 2017-12-19 17:33:31 +00:00
parent d9dfe7d63a
commit b29e1d2a14
3 changed files with 7 additions and 4 deletions

View File

@ -153,13 +153,16 @@ namespace BlubbFish.IoT.Zway.Interfaces {
protected void PollSubGlobal() {
Boolean poll = false;
Boolean pollonce = false;
foreach (KeyValuePair<Int32, ACommandClass> item in this.Sub) {
if (item.Value.Polling) {
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()");
}
}

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,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.2.0")]
[assembly: AssemblyFileVersion("1.3.2.0")]
[assembly: AssemblyVersion("1.3.3.0")]
[assembly: AssemblyFileVersion("1.3.3.0")]

Binary file not shown.