From 3aa397ab145382935492b11c1f18c9634e69910b Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期四, 10 十二月 2020 16:45:00 +0800
Subject: [PATCH] 请合并,门锁和晾衣架第一版代码

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/DataCorrectionForm.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/DataCorrectionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/DataCorrectionForm.cs
old mode 100644
new mode 100755
index 89ecc4c..591b6fa
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/DataCorrectionForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/DataCorrectionForm.cs
@@ -153,14 +153,14 @@
                 {
                     devicePic.UnSelectedImagePath = "Device/SensorTemperature.png";
                     btnName.Text = Language.StringByID(R.MyInternationalizationString.Temperature) + "  (鈩�)";
-                    invalidText1 = btnNum.Text;
+                    invalidText1 = btnNum.Text;
                 }
                 else
                 {
                     line2.Visible = false;
                     devicePic.UnSelectedImagePath = "Device/SensorHumidity.png";
                     btnName.Text = Language.StringByID(R.MyInternationalizationString.Humidity) + "  (%)";
-                    invalidText2 = btnNum.Text;
+                    invalidText2 = btnNum.Text;
                 }
 
                 btnNum.TextChangeEventHandler += (sender, e) =>
@@ -196,13 +196,13 @@
                     else
                     {
                         invalidText2 = btnNum.Text;
-                    }
-
+                    }
+                   
                 };
 
                 btnReduction.MouseDownEventHandler += async (sender, e) =>
                 {
-                    if (!string.IsNullOrEmpty(btnNum.Text))
+                    if(!string.IsNullOrEmpty(btnNum.Text))
                     {
                         double vTemp = double.Parse(btnNum.Text);
                         vTemp -= 0.1;
@@ -322,7 +322,7 @@
             {
                 try
                 {
-                    if (string.IsNullOrEmpty(invalidText1))
+                    if (string.IsNullOrEmpty(invalidText1) )
                     {
                         Application.RunOnMainThread(() =>
                         {
@@ -330,7 +330,7 @@
                         });
                         return;
                     }
-                    if (string.IsNullOrEmpty(invalidText2))
+                    if ( string.IsNullOrEmpty(invalidText2))
                     {
                         Application.RunOnMainThread(() =>
                         {

--
Gitblit v1.8.0