| | |
| | | == false ? StringId.Administrators : StringId.Member |
| | | }; |
| | | userTypeView.AddChidren(btnUserTypeName); |
| | | btnUserTypeName.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | var form = new DoorLockListPage(); |
| | | var listDevice = new System.Collections.Generic.List<Function>(); |
| | | listDevice.Add(new Function { name = "测试设备1", sid = "1111", spk = "door.sone" }); |
| | | listDevice.Add(new Function { name = "测试设备2", sid = "2222", spk = "door.sone" }); |
| | | listDevice.Add(new Function { name = "测试设备3", sid = "3333", spk = "door.sone" }); |
| | | listDevice.Add(new Function { name = "测试设备4", sid = "4444", spk = "door.sone" }); |
| | | listDevice.Add(new Function { name = "测试设备5", sid = "5555", spk = "door.sone" }); |
| | | listDevice.Add(new Function { name = "测试设备6", sid = "6666", spk = "door.sone" }); |
| | | form.AddForm(listDevice); |
| | | }; |
| | | #endregion |
| | | #region 住宅管理 |
| | | |