ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/DataCorrectionForm.cs
File was renamed from ZigbeeApp20200825/Shared/Phone/UserCenter/Device/Panel/DataCorrectionForm.cs
@@ -23,12 +23,12 @@
        double correctHValue = 0;
        /// <summary>
        /// 有效文本
        /// </summary>
        /// </summary>
        private string invalidText1 = "";
        /// <summary>
        /// 有效文本
        /// </summary>
        private string invalidText2 = "";
        /// </summary>
        private string invalidText2 = "";
        #endregion
        #region ■ 初始化____________________________ 
@@ -153,12 +153,14 @@
                {
                    devicePic.UnSelectedImagePath = "Device/SensorTemperature.png";
                    btnName.Text = Language.StringByID(R.MyInternationalizationString.Temperature) + "  (℃)";
                    invalidText1 = btnNum.Text;
                }
                else
                {
                    line2.Visible = false;
                    devicePic.UnSelectedImagePath = "Device/SensorHumidity.png";
                    btnName.Text = Language.StringByID(R.MyInternationalizationString.Humidity) + "  (%)";
                    invalidText2 = btnNum.Text;
                }
                btnNum.TextChangeEventHandler += (sender, e) =>
@@ -194,25 +196,25 @@
                    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;
                        btnNum.Text = vTemp.ToString();
                        if (curIndex == 0)
                        {
                        {
                            correctTValue = double.Parse(btnNum.Text);
                        }
                        else
                        {
                            correctHValue = double.Parse(btnNum.Text);
                        }
                        {
                            correctHValue = double.Parse(btnNum.Text);
                        }
                    }
                    if (curIndex == 0)
                    {
@@ -221,7 +223,7 @@
                    else
                    {
                        invalidText2 = btnNum.Text;
                    }
                    }
                };
                btnAdd.MouseDownEventHandler += async (sender, e) =>
@@ -232,11 +234,11 @@
                        vTemp += 0.1;
                        btnNum.Text = vTemp.ToString();
                        if (curIndex == 0)
                        {
                        {
                            correctTValue = double.Parse(btnNum.Text);
                        }
                        else
                        {
                        {
                            correctHValue = double.Parse(btnNum.Text);
                        }
                    }
@@ -320,7 +322,7 @@
            {
                try
                {
                    if (string.IsNullOrEmpty(invalidText1) )
                    if (string.IsNullOrEmpty(invalidText1))
                    {
                        Application.RunOnMainThread(() =>
                        {
@@ -328,7 +330,7 @@
                        });
                        return;
                    }
                    if ( string.IsNullOrEmpty(invalidText2))
                    if (string.IsNullOrEmpty(invalidText2))
                    {
                        Application.RunOnMainThread(() =>
                        {