From 427d1c7ecd04b03419eae157e32fe3367d8dffea Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 28 十一月 2019 09:53:25 +0800 Subject: [PATCH] 2019.11.28 --- ZigbeeApp/Shared/Phone/Device/Category/SelectDevice.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Category/SelectDevice.cs b/ZigbeeApp/Shared/Phone/Device/Category/SelectDevice.cs index 772c787..9b92c37 100644 --- a/ZigbeeApp/Shared/Phone/Device/Category/SelectDevice.cs +++ b/ZigbeeApp/Shared/Phone/Device/Category/SelectDevice.cs @@ -1078,7 +1078,7 @@ } if (tasklist.Data1 == 4 || tasklist.Data1 == 5) { - tempId = open.temperatureList.IndexOf(tasklist.Data2); + tempId = open.temperatureList.IndexOf(tasklist.Data2/100); } } @@ -1138,7 +1138,7 @@ { TaskType = taskType, Data1 = 4, - Data2 = open.temperatureList[tempId] + Data2 = open.temperatureList[tempId]*100 }; taskList.Add(taskInfo3); @@ -1150,7 +1150,7 @@ { TaskType = taskType, Data1 = 5, - Data2 = open.temperatureList[tempId] + Data2 = open.temperatureList[tempId]*100 }; taskList.Add(taskInfo3); } -- Gitblit v1.8.0