From 60fea1a35f8bfd2eb1399cae05d853b93b3674f9 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期五, 03 一月 2020 13:47:35 +0800 Subject: [PATCH] 2020-01-03 1.增加信mqtt网关设备类型支持。 2.住宅ID改为string类型。 --- Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs index efeb54a..9053a8f 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs @@ -19,11 +19,11 @@ public static FrameLayout UserPageView = new FrameLayout (); - public static Button LinkStatusTip = new Button () { - Height = Application.GetRealHeight (36), - Width = Application.GetRealWidth (640), - BackgroundColor = SkinStyle.Current.LinkStatusTipColor - }; + //public static Button LinkStatusTip = new Button () { + // Height = Application.GetRealHeight (36), + // Width = Application.GetRealWidth (640), + // BackgroundColor = SkinStyle.Current.LinkStatusTipColor + //}; public static PageLayout FavoritePageView = new PageLayout () { IsShowPoint = false, @@ -282,11 +282,11 @@ Language.CurrentLanguage = "English"; //var lii = new LightLogic () { Type = DeviceType.LightRGB, LoopID = 1, DeviceID = 4, SubnetID = 42, Name = "RGB" }; //IO.FileUtils.SaveEquipmentMessage (lii, lii.LoopID.ToString ()); - //var lii1 = new LightSwitch () { LoopID = 1, DeviceID = 6, SubnetID = 42, Name = "缁х數鍣�" }; - //IO.FileUtils.SaveEquipmentMessage (lii1, lii1.LoopID.ToString ()); - //var lii11 = new LightDimming () { LoopID = 1, DeviceID = 9, SubnetID = 42, Name = "璋冨厜鍣�" }; + var lii1 = new LightSwitch () { LoopID = 1, DeviceID = 2, SubnetID = 232, Name = "缁х數鍣�" }; + IO.FileUtils.SaveEquipmentMessage (lii1, lii1.LoopID.ToString ()); + //var lii11 = new LightDimming () { LoopID = 1, DeviceID = 1, SubnetID = 232, Name = "璋冨厜鍣�" }; //IO.FileUtils.SaveEquipmentMessage (lii11, lii11.LoopID.ToString ()); - //var lii111 = new LightDimming () { LoopID = 11, DeviceID = 9, SubnetID = 42, Name = "璋冨厜鍣�2" }; + //var lii111 = new LightDimming () { LoopID = 1, DeviceID = 8, SubnetID = 232, Name = "璋冨厜鍣�2" }; //IO.FileUtils.SaveEquipmentMessage (lii111, lii111.LoopID.ToString ()); @@ -323,7 +323,7 @@ //IO.FileUtils.SaveEquipmentMessage (ud3, "3"); #endif UserHomePage.FrameLayoutMain.AddChidren (UserPageView); - UserHomePage.FrameLayoutMain.AddChidren (LinkStatusTip); + //UserHomePage.FrameLayoutMain.AddChidren (LinkStatusTip); UserPageView.AddChidren (FavoritePageView); FavoritePageView.AddChidren (FavoriteBodyView); -- Gitblit v1.8.0