From 2ed75b8b337048e5d75e6d9ec8307633134f02fd Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 10 十月 2019 11:33:04 +0800 Subject: [PATCH] 个人中心添加楼层和创建房间,实装二级验证 --- ZigbeeApp/Shared/Common/CommonPage.cs | 25 +++++++++++++++---------- 1 files changed, 15 insertions(+), 10 deletions(-) diff --git a/ZigbeeApp/Shared/Common/CommonPage.cs b/ZigbeeApp/Shared/Common/CommonPage.cs index bf1c822..0179b96 100755 --- a/ZigbeeApp/Shared/Common/CommonPage.cs +++ b/ZigbeeApp/Shared/Common/CommonPage.cs @@ -53,11 +53,11 @@ public static string LogoString = @"Logo/Logo.png"; public static string RegisterLogoString = @"Logo/Register_logo.png"; public static string RequestHttpsHost = "https://global.hdlcontrol.com/HangZhouHdlCloudApi"; - //public static string RequestHttpsHost = "http://172.16.2.225:13061"; + //public static string RequestHttpsHost = "http://172.16.2.192:13061"; /// <summary> /// 鐗堟湰鍙� /// </summary> - public static string CodeIDString = "1.0.19071501"; + public static string CodeIDString = "1.0.19080501"; /// <summary> /// 娉ㄥ唽鏉ユ簮(0:HDL On 1:Zigbee) /// </summary> @@ -76,9 +76,9 @@ /// </summary> public static string RequestVersion = "1.0"; /// <summary> - /// 宸﹁竟璺濈灞忓箷鐨勫搴�--50 + /// 宸﹁竟璺濈灞忓箷鐨勫搴�--58 /// </summary> - public static int XLeft = 50; + public static int XLeft = 58; /// <summary> /// button楂樺害--110 /// </summary> @@ -130,9 +130,9 @@ /// </summary> public static int Navigation_Height = 220; /// <summary> - /// 搴曡竟鏍忛珮搴� 160 + /// 搴曡竟鏍忛珮搴� /// </summary> - public static int TabbarHeight = 160; + public const int TabbarHeight = 141; /// <summary> /// 绾挎潯鐨勯珮搴�--瀹為檯鍍忕礌3 /// </summary> @@ -177,7 +177,11 @@ /// 褰撳墠缃戠粶杩炴帴鐨勬ā寮� 0:娌℃湁缃戠粶 1锛氳繙绋嬭繛鎺ワ紝涔熷彨3G,4G 2锛歐IFI /// </summary> public static int nowNetworkMode = 0; - + /// <summary> + /// 鍗犱綅瀛椾綋澶у皬 + /// 11 + /// </summary> + public static int PlaceHolderTextSize = 11; /// <summary> @@ -378,13 +382,14 @@ return null; } int MaxIndex = 0; - int NewID = 0; + int NewVersion = 0; for (int i = 0; i < responeData.pageData.Count; i++) { var apkInfo = responeData.pageData[i]; - if (int.Parse(apkInfo.Id) > NewID) + var version = int.Parse(apkInfo.FirmwareVersion.Replace(".", "")); + if (version > NewVersion) { - NewID = int.Parse(apkInfo.Id); + NewVersion = version; MaxIndex = i; } } -- Gitblit v1.8.0