| | |
| | | { |
| | | 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) |
| | |
| | | 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(); |
| | | }; |