[BF] v1.3.1.0 Forgot some settings, now configuration setting also works again
This commit is contained in:
		
							parent
							
								
									db935e019c
								
							
						
					
					
						commit
						d9dfe7d63a
					
				| @ -17,11 +17,11 @@ namespace BlubbFish.IoT.Zway.Devices.CommandClasses.CommandClassSubs { | |||||||
|       } |       } | ||||||
|       set { |       set { | ||||||
|         if (this.Size == 1 && Int16.TryParse(value.ToString(), out Int16 value16)) { |         if (this.Size == 1 && Int16.TryParse(value.ToString(), out Int16 value16)) { | ||||||
|           this.http.GetVoid("ZWave.zway/Run/devices[" + this.DeviceId + "].instances[" + this.Instance + "].commandClasses[" + this.Commandclass + "].Set(" + this.SensorId + "," + value16 + ",1)"); |           this.SetTriple(this.SensorId, value16, 1); | ||||||
|         } else if(this.Size == 2 && Int32.TryParse(value.ToString(), out Int32 value32)) { |         } else if(this.Size == 2 && Int32.TryParse(value.ToString(), out Int32 value32)) { | ||||||
|           this.http.GetVoid("ZWave.zway/Run/devices[" + this.DeviceId + "].instances[" + this.Instance + "].commandClasses[" + this.Commandclass + "].Set(" + this.SensorId + "," + value32 + ",2)"); |           this.SetTriple(this.SensorId, value32, 2); | ||||||
|         } else if(this.Size == 4) { |         } else if(this.Size == 4) { | ||||||
|           this.http.GetVoid("ZWave.zway/Run/devices[" + this.DeviceId + "].instances[" + this.Instance + "].commandClasses[" + this.Commandclass + "].Set(" + this.SensorId + "," + value + ",4)"); |           this.SetTriple(this.SensorId, value, 4); | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -176,7 +176,9 @@ namespace BlubbFish.IoT.Zway.Interfaces { | |||||||
|       this.http.GetVoid("ZWave.zway/Run/devices[" + this.DeviceId + "].instances[" + this.Instance + "].commandClasses[" + ((Int32)this.Commandclass).ToString() + "].Set(" + value1 + "," + value2 + ")"); |       this.http.GetVoid("ZWave.zway/Run/devices[" + this.DeviceId + "].instances[" + this.Instance + "].commandClasses[" + ((Int32)this.Commandclass).ToString() + "].Set(" + value1 + "," + value2 + ")"); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     protected void SetTuple(Int32 v1, Int32 v2) => this.SetTuple(v1, (Double)v2); |     protected void SetTriple(Double v1, Double v2, Double v3) { | ||||||
|  |       this.http.GetVoid("ZWave.zway/Run/devices[" + this.DeviceId + "].instances[" + this.Instance + "].commandClasses[" + ((Int32)this.Commandclass).ToString() + "].Set(" + v1 + "," + v2 + "," + v3 + ")"); | ||||||
|  |     } | ||||||
| 
 | 
 | ||||||
|     protected Boolean CheckSetUpdateTime(JsonData json) { |     protected Boolean CheckSetUpdateTime(JsonData json) { | ||||||
|       if (json.Keys.Contains("updateTime") && (json["updateTime"].IsInt || json["updateTime"].IsLong)) { |       if (json.Keys.Contains("updateTime") && (json["updateTime"].IsInt || json["updateTime"].IsLong)) { | ||||||
|  | |||||||
| @ -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.1.0")] | [assembly: AssemblyVersion("1.3.2.0")] | ||||||
| [assembly: AssemblyFileVersion("1.3.1.0")] | [assembly: AssemblyFileVersion("1.3.2.0")] | ||||||
|  | |||||||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user