.vs/HDL_APP_Project/xs/UserPrefs.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL-ON_Android/Properties/AndroidManifest.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/DAL/Server/HttpUtil.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/Entity/Function/Scene.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/MainPage.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
.vs/HDL_APP_Project/xs/UserPrefs.xml
@@ -1,16 +1,8 @@ <Properties StartupConfiguration="{09712674-2A38-407B-B1E2-560B2C352F9A}|Default"> <Properties StartupConfiguration="{D998E133-F0DD-4760-BE3C-461632F54DA4}|Default"> <MonoDevelop.Ide.ItemProperties.HDL-ON__iOS PreferredExecutionTarget="MonoDevelop.IPhone.IPhoneDeviceTarget" /> <MonoDevelop.Ide.Workbench ActiveDocument="HDL_ON/UI/MainPage.cs"> <MonoDevelop.Ide.Workbench> <Files> <File FileName="HDL_ON/DAL/Server/HttpUtil.cs" Line="21" Column="87" /> <File FileName="HDL_ON/DAL/DriverLayer/Control.cs" Line="1142" Column="38" /> <File FileName="HDL_ON/UI/UI2/UserPage.cs" Line="1" Column="1" /> <File FileName="HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs" Line="880" Column="6" /> <File FileName="HDL_ON/Entity/Function/Function.cs" Line="1575" Column="25" /> <File FileName="HDL_ON/DAL/DriverLayer/Control_Udp.cs" Line="832" Column="30" /> <File FileName="HDL_ON/DAL/DriverLayer/Packet.cs" Line="224" Column="50" /> <File FileName="HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs" Line="79" Column="30" /> <File FileName="HDL_ON/UI/MainPage.cs" Line="111" Column="27" /> <File FileName="HDL_ON/DAL/Server/HttpUtil.cs" Line="21" Column="85" /> </Files> <Pads> <Pad Id="ProjectPad"> @@ -18,26 +10,11 @@ <Node name="HDL_APP_Project" expanded="True"> <Node name="HDL_ON" expanded="True"> <Node name="DAL" expanded="True"> <Node name="DriverLayer" expanded="True" /> </Node> <Node name="Entity" expanded="True"> <Node name="Function" expanded="True" /> </Node> <Node name="UI" expanded="True"> <Node name="UI0-Public" expanded="True" /> <Node name="UI2" expanded="True"> <Node name="4-PersonalCenter" expanded="True" /> </Node> <Node name="MainPage.cs" selected="True" /> <Node name="Server" expanded="True" /> </Node> </Node> <Node name="HDL-ON_iOS" expanded="True" /> <Node name="HDL-ON_iOS" expanded="True" selected="True" /> </Node> </State> </Pad> <Pad Id="MonoDevelop.Debugger.WatchPad"> <State> <Value>this.Height</Value> </State> </Pad> </Pads> @@ -53,6 +30,7 @@ <MonoDevelop.Ide.DebuggingService.Breakpoints> <BreakpointStore> <Breakpoint file="/Users/kaede/Desktop/HDL_APP_Project/HDL_ON/DAL/Server/HttpServerRequest.cs" relfile="HDL_ON/DAL/Server/HttpServerRequest.cs" line="1415" column="1" /> <Breakpoint file="/Users/kaede/Desktop/HDL_APP_Project/HDL_ON/Entity/Function/Scene.cs" relfile="HDL_ON/Entity/Function/Scene.cs" line="333" column="1" /> </BreakpointStore> </MonoDevelop.Ide.DebuggingService.Breakpoints> <MultiItemStartupConfigurations /> HDL-ON_Android/Properties/AndroidManifest.xml
@@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="202111031" android:versionName="1.3.202111031" package="com.hdl.onpro"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="202111041" android:versionName="1.3.202111041" package="com.hdl.onpro"> <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="28" /> <!-- 乐橙可视对讲需要的权限 --> <!--<uses-permission android:name="android.permission.INTERNET" />--> HDL_ON/DAL/Server/HttpUtil.cs
@@ -17,8 +17,8 @@ /// 固定域名,正式环境 /// 公共域名就近解析 /// </summary> //public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm /// <summary> /// RegionMark /// </summary> HDL_ON/Entity/Function/Scene.cs
@@ -223,6 +223,18 @@ return "SceneData_" + sid; } } /// <summary> /// 执行倒计时 /// </summary> int countdownTime = 0; /// <summary> /// 重置执行倒计时 /// </summary> public void ResetCountdownTime() { countdownTime = 0; } /// <summary> /// 场景执行\倒计时 /// </summary> @@ -232,31 +244,30 @@ //场景正在倒计时执行中 if (LastExecutionTime != "" && Convert.ToDouble(LastExecutionTime) + Convert.ToDouble(delay) > Convert.ToDouble(Utlis.GetTimestamp(false))) { int time = 0; int.TryParse(Convert.ToInt32( Convert.ToDouble(LastExecutionTime) + Convert.ToDouble(delay) - Convert.ToDouble(Utlis.GetTimestamp(false)) ).ToString(), out time); if (time > 0) ).ToString(), out countdownTime); if (countdownTime > 0) { new System.Threading.Thread(() => { if (time > 0) if (countdownTime > 0) { while (time > 0) while (countdownTime > 0) { Application.RunOnMainThread(() => { if (time > 60) if (countdownTime > 60) { btnShowDelay.Text = (time / 60).ToString() + "min" + time % 60 + "s"; btnShowDelay.Text = (countdownTime / 60).ToString() + "min" + countdownTime % 60 + "s"; } else { btnShowDelay.Text = time.ToString() + "s"; btnShowDelay.Text = countdownTime.ToString() + "s"; } }); System.Threading.Thread.Sleep(1000); time--; countdownTime--; } Application.RunOnMainThread(() => { @@ -317,6 +328,8 @@ var revPack = pm.EditScene(this); if (revPack.Code == StateCode.SUCCESS) { //重置执行倒计时 this.countdownTime = 0; if(MainPage.NoLoginMode) { var ssd = System.Text.Encoding.UTF8.GetBytes(Newtonsoft.Json.JsonConvert.SerializeObject(this)); @@ -349,6 +362,7 @@ var revPack = pm.EditScene(this); if (revPack.Code == StateCode.SUCCESS) { this.countdownTime = 0; var scenes = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Scene>>(revPack.Data.ToString()); var tempScene = scenes.Find((obj) => obj.sid == sid); if (tempScene != null) HDL_ON/UI/MainPage.cs
@@ -25,7 +25,7 @@ /// <summary> /// 版本号 /// </summary> public static string VersionString = "1.3.1103"; public static string VersionString = "1.3.1104"; ///// <summary> ///// 客户端类型 ///// </summary> HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -851,55 +851,55 @@ #endregion #region 获取支持 FrameLayout supView = new FrameLayout() { Height = Application.GetRealWidth(44), BackgroundColor = 0xFFFF0000, }; supportView.AddChidren(supView); supView.MouseUpEventHandler = (sender, e) => { Dialog dialog = new Dialog(); //FrameLayout supView = new FrameLayout() //{ // Height = Application.GetRealWidth(44), // BackgroundColor = 0xFFFF0000, //}; //supportView.AddChidren(supView); //supView.MouseUpEventHandler = (sender, e) => { // Dialog dialog = new Dialog(); var bodyView = new FrameLayout(); dialog.AddChidren(bodyView); // var bodyView = new FrameLayout(); // dialog.AddChidren(bodyView); var contentView = new VerticalScrolViewLayout() { Height = Application.GetRealHeight(600), BackgroundColor = CSS_Color.MainBackgroundColor, }; bodyView.AddChidren(contentView); // var contentView = new VerticalScrolViewLayout() // { // Height = Application.GetRealHeight(600), // BackgroundColor = CSS_Color.MainBackgroundColor, // }; // bodyView.AddChidren(contentView); var btnClose = new Button() { Y = Application.GetRealHeight(600), Height = Application.GetRealHeight(67), BackgroundColor = CSS_Color.WarningColor, Text = "关 闭", TextAlignment = TextAlignment.CenterLeft, TextSize = CSS_FontSize.SubheadingFontSize, }; btnClose.MouseUpEventHandler = (sender, e) => { dialog.Close(); }; bodyView.AddChidren(btnClose); // var btnClose = new Button() // { // Y = Application.GetRealHeight(600), // Height = Application.GetRealHeight(67), // BackgroundColor = CSS_Color.WarningColor, // Text = "关 闭", // TextAlignment = TextAlignment.CenterLeft, // TextSize = CSS_FontSize.SubheadingFontSize, // }; // btnClose.MouseUpEventHandler = (sender, e) => { // dialog.Close(); // }; // bodyView.AddChidren(btnClose); foreach (var msg in Control.Ins.MsgInfoList) { var et = new TextView() { IsMoreLines = true, Height = Application.GetRealHeight(150), Width = Application.GetRealWidth(300), TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.TextFontSize, Text = msg, }; contentView.AddChidren(et); } // foreach (var msg in Control.Ins.MsgInfoList) // { // var et = new TextView() // { // IsMoreLines = true, // Height = Application.GetRealHeight(150), // Width = Application.GetRealWidth(300), // TextColor = CSS_Color.FirstLevelTitleColor, // TextSize = CSS_FontSize.TextFontSize, // Text = msg, // }; // contentView.AddChidren(et); // } dialog.Show(); }; // dialog.Show(); //}; //Button btnSupportIcon = new Button() //{