wxr
2024-09-05 eeb6f0b4bf0a81834325638401d5fa404e53db93
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TemperatureView.cs
@@ -11,7 +11,7 @@
        /// <param name="frameLayout">弹窗父控件</param>
        /// <param name="stateValue">之前状态值</param>
        /// <param name="action">返回结果</param>
        public void FLayoutView(FrameLayout frameLayout, string stateValue, Action<string> action,int min,int max,string unit)
        public void FLayoutView(FrameLayout frameLayout, string stateValue, Action<string> action,int min,int max,string unit, string setTempAttr)
        {
            FrameLayout frame = new FrameLayout
            {
@@ -32,7 +32,10 @@
            {
                //添加数据
                temperatureList.Add(i.ToString() + unit);
                temperatureList.Add((i + 0.5).ToString() + unit);
                if (setTempAttr == "0.5")
                {
                    temperatureList.Add((i + 0.5).ToString() + unit);
                }
            }
            //加载数据界面的设置方法(列表互不联动)
            view.mUIPickerView.setNPicker(temperatureList, null, null);