wei
2020-12-18 ed1c010c40e9324318171edefec5e9dbf46474a4
HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs
@@ -29,6 +29,14 @@
                    {
                        bodyView.arcBar.Progress = Convert.ToInt32(Convert.ToDouble(uFh.trait_temp.curValue));
                    }
                    if(uFh.trait_on_off.curValue.ToString() == "on")
                    {
                        bodyView.arcBar.Enable = true;
                    }
                    else
                    {
                        bodyView.arcBar.Enable = false;
                    }
                });
            }
            catch (Exception ex)
@@ -153,7 +161,7 @@
                fh.modeTemp.TryGetValue(curMode, out pro);
                arcBar.Progress = pro;
                System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>();
                d.Add(FunctionAttributeKey.Mode, fh.curModeIndex.ToString());
                d.Add(FunctionAttributeKey.Mode, fh.trait_mode.curValue.ToString());
                Control.Ins.SendWriteCommand(fh, d);
                dialog.Close();
            };