| | |
| | | |
| | | btn.MouseUpEventHandler = (sender, e) => |
| | | { |
| | | System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); |
| | | d.Add(FunctionAttributeKey.Key, attr.key); |
| | | Dictionary<string, string> d = new Dictionary<string, string>(); |
| | | d.Add(attr.key, ""); |
| | | Control.Ins.SendWriteCommand(device, d); |
| | | |
| | | new System.Threading.Thread(() => |
| | |
| | | device.SetAttrState(FunctionAttributeKey.SetTemp, e.ToString()); |
| | | btnTemp.Text = e.ToString(); |
| | | }; |
| | | arcBar.MouseDownEventHandler = (sender, e) => { |
| | | Console.WriteLine("ddd"); |
| | | MainPage.BasePageView.ScrollEnabled =false; |
| | | }; |
| | | arcBar.MouseUpEventHandler = (sender, e) => { |
| | | Console.WriteLine("ddd2"); |
| | | MainPage.BasePageView.ScrollEnabled = true; |
| | | }; |
| | | } |
| | | /// <summary> |
| | | /// 控制模式事件 |