| | |
| | | |
| | | public static FrameLayout UserMenuItem = new FrameLayout () { |
| | | Y = Application.GetRealHeight (Application.DesignHeight - userMenuItemHeight), |
| | | Height = Application.GetRealHeight (userMenuItemHeight+5), |
| | | Height = Application.GetMinRealAverage (userMenuItemHeight+5), |
| | | BackgroundColor = SkinStyle.Current.MainColor |
| | | }; |
| | | |
| | |
| | | |
| | | public static Button btnLinkStatus = new Button () { |
| | | Y = Application.GetRealHeight (10), |
| | | Width = Application.GetRealWidth (131), |
| | | Height = Application.GetRealHeight (80), |
| | | Width = Application.GetMinRealAverage (131), |
| | | Height = Application.GetMinRealAverage (80), |
| | | UnSelectedImagePath = MainPage.WiFiStatus, |
| | | }; |
| | | |
| | |
| | | //IO.FileUtils.SaveEquipmentMessage (mCurtainModel1, mCurtainModel1.LoopID.ToString ()); |
| | | ////var mCurtainModel2 = new CurtainModel () { LoopID = 2, DeviceID = 9, SubnetID = 42, Name = "窗帘2" }; |
| | | ////IO.FileUtils.SaveEquipmentMessage (mCurtainModel2, mCurtainModel2.LoopID.ToString ()); |
| | | ////var mCurtainModel3 = new CurtainModel () { LoopID = 1, DeviceID = 2, SubnetID = 42, Name = "窗帘3" }; |
| | | ////IO.FileUtils.SaveEquipmentMessage (mCurtainModel3, mCurtainModel3.LoopID.ToString ()); |
| | | //var mCurtainModel3 = new CurtainModel () { LoopID = 1, DeviceID = 2, SubnetID = 42, Name = "窗帘3" }; |
| | | //IO.FileUtils.SaveEquipmentMessage (mCurtainModel3, mCurtainModel3.LoopID.ToString ()); |
| | | |
| | | //var mCurtainRoller = new CurtainRoller () { LoopID = 1, DeviceID = 88, SubnetID = 42, Name = "窗帘CurtainRoller" }; |
| | | //IO.FileUtils.SaveEquipmentMessage (mCurtainRoller, mCurtainRoller.LoopID.ToString ()); |
| | |
| | | //IO.FileUtils.SaveEquipmentMessage (mCurtainTrietex, mCurtainTrietex.LoopID.ToString ()); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //var s1 = new LightEnergySocket () { LoopID = 1, DeviceID = 1, SubnetID = 44, Name = "EnergySocket" }; |
| | | //IO.FileUtils.SaveEquipmentMessage (s1, s1.LoopID.ToString ()); |