| | |
| | | Dictionary<string, string> deviceConditionsInfo = new Dictionary<string, string>(); |
| | | Dictionary<string, string> userdictionary = new Dictionary<string, string>(); |
| | | |
| | | public void Show(CommonDevice common, Dictionary<string, string> editdeviceConditionsInfo=null) |
| | | public async void Show(CommonDevice common, Dictionary<string, string> editdeviceConditionsInfo=null) |
| | | { |
| | | if (!edit) |
| | | { |
| | |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | X = Application.GetRealWidth(176), |
| | | Width = Application.GetRealWidth(400), |
| | | Width = Application.GetRealWidth(600), |
| | | Height = Application.GetRealHeight(69), |
| | | Y = Application.GetRealHeight(92), |
| | | TextID = MyInternationalizationString.userlist, |
| | |
| | | BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, |
| | | }; |
| | | this.AddChidren(middle); |
| | | |
| | | if (Send.UserList.Count == 0) |
| | | { |
| | | var allMemberslist = await Send.AllMembers(common.DeviceAddr); |
| | | Send.UserList.AddRange(allMemberslist); |
| | | } |
| | | foreach (var user in Send.UserList) |
| | | { |
| | | |
| | |
| | | |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |