| | |
| | | public void Show(CommonDevice common, bool edit,string str_if,Dictionary<string, object> editdeviceActionInfo = null) |
| | | { |
| | | #region 布局界面 |
| | | actionsInfo = editdeviceActionInfo; |
| | | |
| | | |
| | | this.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; |
| | | TopView view = new TopView(); |
| | | this.AddChidren(view.TopRowView()); |
| | |
| | | actionsInfo.Add("DeviceAddr", common.DeviceAddr); |
| | | actionsInfo.Add("Epoint", common.DeviceEpoint); |
| | | actionsInfo.Add("Time", 0); |
| | | } |
| | | if (actionsInfo.ContainsKey("TaskList")) |
| | | { |
| | | actionsInfo.Remove("TaskList"); |
| | | } |
| | | actionsInfo.Add("TaskList", TaskList); |
| | | } |
| | | |
| | | } |
| | | public void CurrentDeviceView(string if_str, CommonDevice common, bool edit, Button button) |
| | | { |
| | | #region 布局界面 |