From 0fa1534827bd21d763216550d11006fc1441c6cb Mon Sep 17 00:00:00 2001 From: tzy <hxb@hdlchina.com.cn> Date: 星期五, 14 五月 2021 17:08:45 +0800 Subject: [PATCH] 门锁初始上传 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs index df6caf4..4583c26 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs @@ -337,6 +337,18 @@ == 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 浣忓畢绠$悊 -- Gitblit v1.8.0