From b6655c930866fadf3275587f4c692aa658bd9b21 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 24 六月 2020 10:57:07 +0800 Subject: [PATCH] 2020-06-24 1. 修改网络请求方法,改为HttpWebRequest支持自定义超时时间,默认10S。 2.后台回前台,超过20S断开远程重新连接。 --- Crabtree/.vs/SmartHome/xs/UserPrefs.xml | 59 ++++++++++++++++------------------------------------------- 1 files changed, 16 insertions(+), 43 deletions(-) diff --git a/Crabtree/.vs/SmartHome/xs/UserPrefs.xml b/Crabtree/.vs/SmartHome/xs/UserPrefs.xml index 29366d7..fda5691 100644 --- a/Crabtree/.vs/SmartHome/xs/UserPrefs.xml +++ b/Crabtree/.vs/SmartHome/xs/UserPrefs.xml @@ -1,59 +1,34 @@ 锘�<Properties StartupConfiguration="{1D83BF28-BA88-4152-BA41-D7EFE90A5437}|Default"> <MonoDevelop.Ide.ItemProperties.ON.Droid PreferredExecutionTarget="Android.Android_Accelerated_Oreo" /> - <MonoDevelop.Ide.Workbench ActiveDocument="SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs"> + <MonoDevelop.Ide.Workbench> <Files> - <File FileName="SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs" Line="599" Column="56" /> - <File FileName="SmartHome/UI/SimpleControl/Phone/Register/AccountRegistration.cs" /> - <File FileName="SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs" Line="12" Column="71" /> - <File FileName="SmartHome/HDL/Operation/UserInfo.cs" Line="70" Column="1" /> - <File FileName="SmartHome/UI/SimpleControl/MainPage.cs" Line="42" Column="56" /> - <File FileName="SmartHome/UI/SimpleControl/Phone/Guide/GuideAddGateway.cs" Line="451" Column="42" /> - <File FileName="SmartHome/HDL/Operation/BusSocket.cs" /> - <File FileName="SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs" Line="90" Column="1" /> - <File FileName="SmartHome/UI/SimpleControl/MqttCommon.cs" Line="100" Column="1" /> - <File FileName="SmartHome/UI/SimpleControl/Phone/User/UserSettingView.cs" /> - <File FileName="SmartHome/UI/SimpleControl/Phone/Guide/GuideSettingGateway.cs" Line="1" Column="1" /> <File FileName="ON/Properties/AndroidManifest.xml" /> - <File FileName="SmartHome/UI/SimpleControl/Phone/Guide/GuideAddResidence.cs" Line="589" Column="55" /> - <File FileName="SmartHome/HDL/Operation/UserConfig.cs" Line="1" Column="1" /> - <File FileName="SmartHome/UI/SimpleControl/Phone/Light/UserLightPage.cs" Line="595" Column="55" /> - <File FileName="SmartHome/UI/SimpleControl/Phone/Light/SystemLightSwitch.cs" Line="1" Column="1" /> - <File FileName="SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs" Line="543" Column="26" /> - <File FileName="SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToSocket.cs" Line="1" Column="1" /> - <File FileName="SmartHome/HDL/Operation/MyEnum.cs" Line="1" Column="1" /> + <File FileName="SmartHome/UI/SimpleControl/CommonPage.cs" /> + <File FileName="SmartHome/UI/SimpleControl/MqttCommon.cs" Line="420" Column="27" /> + <File FileName="SmartHome/UI/SimpleControl/MainPage.cs" Line="417" Column="31" /> + <File FileName="ON.Ios/Info.plist" /> + <File FileName="ON/Application.cs" /> + <File FileName="SmartHome/Net/HttpListener.cs" /> + <File FileName="SmartHome/UI/SimpleControl/EquipmentPublicClass.cs" /> + <File FileName="SmartHome/UI/SimpleControl/Phone/Schedule/HelpView.cs" /> + <File FileName="SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs" /> </Files> <Pads> <Pad Id="ProjectPad"> <State name="__root__"> <Node name="SmartHome" expanded="True"> - <Node name="ON.Droid" expanded="True"> - <Node name="Properties" expanded="True" /> - </Node> - <Node name="ON.Ios" expanded="True"> - <Node name="Resources" expanded="True"> - <Node name="Phone2" expanded="True"> - <Node name="CrabtreeAdd" expanded="True" /> - </Node> - </Node> - </Node> + <Node name="ON.Droid" selected="True" /> <Node name="Shared" expanded="True"> - <Node name="DLL" expanded="True" /> <Node name="HDL" expanded="True"> - <Node name="Operation" expanded="True"> - <Node name="ResponseEntity" expanded="True" /> - </Node> + <Node name="Operation" expanded="True" /> </Node> - <Node name="IO" expanded="True" /> <Node name="Net" expanded="True" /> <Node name="UI" expanded="True"> <Node name="SimpleControl" expanded="True"> <Node name="Phone" expanded="True"> - <Node name="Guide" expanded="True" /> - <Node name="Light" expanded="True"> - <Node name="UserDeviceToLight.cs" selected="True" /> - </Node> <Node name="Register" expanded="True" /> <Node name="Schedule" expanded="True" /> + <Node name="UniversalDevice" expanded="True" /> <Node name="User" expanded="True" /> <Node name="Warning" expanded="True" /> </Node> @@ -67,17 +42,15 @@ </MonoDevelop.Ide.Workbench> <MonoDevelop.Ide.ItemProperties.DroidService PreferredExecutionTarget="Android.Android_Accelerated_Oreo" /> <MonoDevelop.Ide.DebuggingService.PinnedWatches /> - <MonoDevelop.Ide.ItemProperties.DroidLib PreferredExecutionTarget="Android.SelectDevice" /> <DisabledProjects> <String>Shared.Droid/Shared.Droid.csproj</String> <String>Shared.IOS/Shared.IOS.csproj</String> + <String>DroidLib/DroidLib.csproj</String> </DisabledProjects> - <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhone" /> + <MonoDevelop.Ide.Workspace ActiveConfiguration="Release|iPhone" /> <MonoDevelop.Ide.ItemProperties.ON.Ios automaticSigning="False" PreferredExecutionTarget="MonoDevelop.IPhone.IPhoneDeviceTarget.254b82433419c7ca1850b1dfb524c79b7aeb0640" /> <MonoDevelop.Ide.DebuggingService.Breakpoints> - <BreakpointStore> - <Breakpoint file="/Users/jlchen/JLChen/ProjectsCode/HDLGit/CrabtreeOn/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs" relfile="SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs" line="536" column="1" /> - </BreakpointStore> + <BreakpointStore /> </MonoDevelop.Ide.DebuggingService.Breakpoints> <MultiItemStartupConfigurations /> </Properties> \ No newline at end of file -- Gitblit v1.8.0