wxr
2023-02-01 fff515073c2e3dea325a9d835e0f607c01770974
空调温度控制
2个文件已修改
11 ■■■■ 已修改文件
HDL-ON_Android/Properties/AndroidManifest.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL-ON_Android/Properties/AndroidManifest.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.6.3" package="com.hdl.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202301121">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.6.3" package="com.hdl.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202302012">
    <uses-sdk android:minSdkVersion="26" android:targetSdkVersion="29" />
    <!--友盟-->
    <!--<uses-sdk android:minSdkVersion="8"></uses-sdk>-->
HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs
@@ -305,15 +305,18 @@
            };
            setTempBar.OnStopTrackingTouchEvent = (sender, e) => {
                temp = e;
                Dictionary<string, string> d = new Dictionary<string, string>();
                device.SetAttrState(FunctionAttributeKey.SetTemp, e.ToString());
                if (setTempAttr.step == "0.5")
                {
                    e = e / 2;
                    btnTemp.Text = (setTempAttr.min + ((double)e)).ToString("0.0");
                    double ex = (double)e / 2;
                    btnTemp.Text = (setTempAttr.min + ((double)ex)).ToString("0.0");
                    d.Add(FunctionAttributeKey.SetTemp, (setTempAttr.min + ex).ToString());
                }
                else
                {
                    btnTemp.Text = (setTempAttr.min + e).ToString();
                    d.Add(FunctionAttributeKey.SetTemp, (setTempAttr.min + e).ToString());
                }
#if __IOS__
@@ -323,8 +326,6 @@
#endif
                btnTempUint.X = btnTemp.Right;
                controlTime = DateTime.Now;
                Dictionary<string, string> d = new Dictionary<string, string>();
                d.Add(FunctionAttributeKey.SetTemp, (setTempAttr.min + e).ToString());
                Control.Ins.SendWriteCommand(device, d);
            };