[BF] v1.3.4.0 Fixing Json Names
[NF] v1.2.2.0 Mqtt can now get and set values
This commit is contained in:
parent
b29e1d2a14
commit
0834e09178
@ -54,7 +54,7 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses {
|
|||||||
|
|
||||||
public override Dictionary<String, Object> ToDictionary() {
|
public override Dictionary<String, Object> ToDictionary() {
|
||||||
return new Dictionary<String, Object> {
|
return new Dictionary<String, Object> {
|
||||||
{ "level", this.Level },
|
{ "Level", this.Level },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -78,8 +78,8 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses {
|
|||||||
|
|
||||||
public override Dictionary<String, Object> ToDictionary() {
|
public override Dictionary<String, Object> ToDictionary() {
|
||||||
return new Dictionary<String, Object> {
|
return new Dictionary<String, Object> {
|
||||||
{ "scene", this.Scene },
|
{ "Scene", this.Scene },
|
||||||
{ "key", this.Key },
|
{ "Key", this.Key },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -61,8 +61,8 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses.CommandClassSubs {
|
|||||||
|
|
||||||
public override Dictionary<String, Object> ToDictionary() {
|
public override Dictionary<String, Object> ToDictionary() {
|
||||||
return new Dictionary<String, Object> {
|
return new Dictionary<String, Object> {
|
||||||
{ "level", this.Level },
|
{ "Level", this.Level },
|
||||||
{ "size", this.Size },
|
{ "Size", this.Size },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -52,9 +52,9 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses.CommandClassSubs {
|
|||||||
|
|
||||||
public override Dictionary<String, Object> ToDictionary() {
|
public override Dictionary<String, Object> ToDictionary() {
|
||||||
return new Dictionary<String, Object> {
|
return new Dictionary<String, Object> {
|
||||||
{ "level", this.Level },
|
{ "Level", this.Level },
|
||||||
{ "type", this.Type },
|
{ "Type", this.Type },
|
||||||
{ "scale", this.Scale },
|
{ "Scale", this.Scale },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -52,9 +52,9 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses.CommandClassSubs {
|
|||||||
|
|
||||||
public override Dictionary<String, Object> ToDictionary() {
|
public override Dictionary<String, Object> ToDictionary() {
|
||||||
return new Dictionary<String, Object> {
|
return new Dictionary<String, Object> {
|
||||||
{ "level", this.Level },
|
{ "Level", this.Level },
|
||||||
{ "type", this.Type },
|
{ "Type", this.Type },
|
||||||
{ "scale", this.Scale },
|
{ "Scale", this.Scale },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -82,12 +82,12 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses.CommandClassSubs {
|
|||||||
|
|
||||||
public override Dictionary<String, Object> ToDictionary() {
|
public override Dictionary<String, Object> ToDictionary() {
|
||||||
return new Dictionary<String, Object> {
|
return new Dictionary<String, Object> {
|
||||||
{ "level", this.Level },
|
{ "Level", this.Level },
|
||||||
{ "type", this.Type },
|
{ "Type", this.Type },
|
||||||
{ "scale", this.Scale },
|
{ "Scale", this.Scale },
|
||||||
{ "tempmax", this.TempMax },
|
{ "TempMax", this.TempMax },
|
||||||
{ "tempmin", this.TempMin },
|
{ "TempMin", this.TempMin },
|
||||||
{ "hasminmax", this.HasMinMax },
|
{ "HasMinMax", this.HasMinMax },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,7 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses {
|
|||||||
|
|
||||||
public override Dictionary<String, Object> ToDictionary() {
|
public override Dictionary<String, Object> ToDictionary() {
|
||||||
return new Dictionary<String, Object> {
|
return new Dictionary<String, Object> {
|
||||||
{ "level", this.Level },
|
{ "Level", this.Level },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses {
|
|||||||
|
|
||||||
public override Dictionary<String, Object> ToDictionary() {
|
public override Dictionary<String, Object> ToDictionary() {
|
||||||
return new Dictionary<String, Object> {
|
return new Dictionary<String, Object> {
|
||||||
{ "level", this.Level }
|
{ "Level", this.Level }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses {
|
|||||||
|
|
||||||
public override Dictionary<String, Object> ToDictionary() {
|
public override Dictionary<String, Object> ToDictionary() {
|
||||||
return new Dictionary<String, Object> {
|
return new Dictionary<String, Object> {
|
||||||
{ "level", this.Level }
|
{ "Level", this.Level }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,8 +71,8 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses {
|
|||||||
modes.Add(item.Key.ToString(), item.Value);
|
modes.Add(item.Key.ToString(), item.Value);
|
||||||
}
|
}
|
||||||
Dictionary<String, Object> json = new Dictionary<String, Object> {
|
Dictionary<String, Object> json = new Dictionary<String, Object> {
|
||||||
{ "level", this.Level },
|
{ "Level", this.Level },
|
||||||
{ "modes", modes }
|
{ "ValidModes", modes }
|
||||||
};
|
};
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
@ -124,13 +124,13 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses {
|
|||||||
|
|
||||||
public override Dictionary<String, Object> ToDictionary() {
|
public override Dictionary<String, Object> ToDictionary() {
|
||||||
return new Dictionary<String, Object> {
|
return new Dictionary<String, Object> {
|
||||||
{"interval", this.Interval },
|
{ "Interval", this.Interval },
|
||||||
{"againstnode", this.AgainstNode },
|
{ "AgainstNode", this.AgainstNode },
|
||||||
{ "wakeupmin", this.WakeupMin },
|
{ "WakeupMin", this.WakeupMin },
|
||||||
{ "wakeupmax", this.WakeupMax },
|
{ "WakeupMax", this.WakeupMax },
|
||||||
{ "wakeupdefault", this.WakeupDefault },
|
{ "WakeupDefault", this.WakeupDefault },
|
||||||
{ "lastwakeup", this.LastWakeup.ToString() },
|
{ "LastWakeup", this.LastWakeup.ToString() },
|
||||||
{ "lastsleep", this.LastSleep.ToString() }
|
{ "LastSleep", this.LastSleep.ToString() }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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.3.0")]
|
[assembly: AssemblyVersion("1.3.4.0")]
|
||||||
[assembly: AssemblyFileVersion("1.3.3.0")]
|
[assembly: AssemblyFileVersion("1.3.4.0")]
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user