[BF] v.1.3.3 fixing polling once bug
This commit is contained in:
parent
d9dfe7d63a
commit
b29e1d2a14
@ -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()");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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.
Loading…
Reference in New Issue
Block a user