| | |
| | | function.SetAttrState(FunctionAttributeKey.FadeTime, e.ToString()); |
| | | var d = new System.Collections.Generic.Dictionary<string, string>(); |
| | | d.Add(FunctionAttributeKey.FadeTime, e.ToString()); |
| | | Control.Ins.SendWriteCommand(function, d); |
| | | //Control.Ins.SendWriteCommand(function, d); |
| | | function.SaveFunctionFile(); |
| | | }; |
| | | } |
| | |
| | | /// </summary> |
| | | void LoadEvent_DimmerBar() |
| | | { |
| | | if (function.online) |
| | | if (function.isOnline()) |
| | | { |
| | | dimmerBar.OnStartTrackingTouchEvent = (sender, e) => |
| | | { |
| | |
| | | { |
| | | btnSwitch.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | if (!function.online) |
| | | if (!function.isOnline()) |
| | | { |
| | | new Tip() |
| | | { |