.vs/HDL_APP_Project/xs/UserPrefs.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL-ON_Android/Assets/Language.ini | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL-ON_Android/Properties/AndroidManifest.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL-ON_Android/Resources/Resource.designer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL-ON_iOS/Resources/Language.ini | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/Common/ApiUtlis.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/Common/R.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/1-HomePage/HomePage.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/3-Intelligence/Automation/PublicInterface.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalPage.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
.vs/HDL_APP_Project/xs/UserPrefs.xml
@@ -1,30 +1,39 @@ <Properties StartupConfiguration="{D998E133-F0DD-4760-BE3C-461632F54DA4}|Default"> <Properties StartupConfiguration="{09712674-2A38-407B-B1E2-560B2C352F9A}|Default"> <MonoDevelop.Ide.ItemProperties.HDL-ON__iOS PreferredExecutionTarget="MonoDevelop.IPhone.IPhoneDeviceTarget.6242be7109c740c6cb8999a8904b6e0ea8d45192" /> <MonoDevelop.Ide.Workbench ActiveDocument="HDL_ON/Common/ApiUtlis.cs"> <MonoDevelop.Ide.Workbench ActiveDocument="HDL_ON/DAL/Server/HttpUtil.cs"> <Files> <File FileName="HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs" Line="1" Column="1" /> <File FileName="HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs" Line="282" Column="39" /> <File FileName="HDL_ON/UI/UI2/4-PersonalCenter/FaceManagement/FacePassagePage.cs" Line="489" Column="57" /> <File FileName="HDL_ON/UI/UI2/4-PersonalCenter/FaceManagement/FaceSettingResultPage.cs" Line="61" Column="14" /> <File FileName="HDL_ON/Common/R.cs" Line="11" Column="41" /> <File FileName="HDL-ON_iOS/Resources/Language.ini" Line="1604" Column="11" /> <File FileName="HDL-ON_Android/Assets/Language.ini" Line="2172" Column="11" /> <File FileName="HDL_ON/Common/ApiUtlis.cs" Line="1" Column="1" /> <File FileName="HDL-ON_iOS/Resources/Language.ini" Line="1603" Column="7" /> <File FileName="HDL-ON_Android/Assets/Language.ini" Line="2184" Column="17" /> <File FileName="HDL_ON/Common/ApiUtlis.cs" Line="286" Column="28" /> <File FileName="HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalPage.cs" Line="489" Column="60" /> <File FileName="HDL_ON/Common/R.cs" Line="22" Column="26" /> <File FileName="HDL_ON/Entity/Function/Sensor.cs" Line="201" Column="73" /> <File FileName="HDL_ON/UI/UI2/1-HomePage/HomePage.cs" Line="567" Column="62" /> <File FileName="HDL_ON/DAL/DriverLayer/Control.cs" Line="482" Column="14" /> <File FileName="HDL_ON/DAL/Mqtt/MqttClient.cs" Line="313" Column="51" /> <File FileName="HDL_ON/DAL/Server/HttpUtil.cs" Line="1" Column="1" /> </Files> <Pads> <Pad Id="ProjectPad"> <State name="__root__"> <Node name="HDL_APP_Project" expanded="True"> <Node name="HDL_ON" expanded="True"> <Node name="Common" expanded="True"> <Node name="ApiUtlis.cs" selected="True" /> <Node name="DAL" expanded="True"> <Node name="Server" expanded="True"> <Node name="HttpUtil.cs" selected="True" /> </Node> </Node> </Node> <Node name="HDL-ON_Android" expanded="True"> <Node name="Assets" expanded="True" /> </Node> <Node name="HDL-ON_iOS" expanded="True"> <Node name="Resources" expanded="True" /> <Node name="UI" expanded="True"> <Node name="UI2" expanded="True"> <Node name="3-Intelligence" expanded="True"> <Node name="Automation" expanded="True" /> </Node> </Node> </Node> </Node> </Node> </State> @@ -42,7 +51,7 @@ <String>Shared.Droid.TouchID/Shared.Droid.TouchID.csproj</String> <String>Shared.IOS/Shared.IOS.csproj</String> </DisabledProjects> <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhone" /> <MonoDevelop.Ide.Workspace ActiveConfiguration="Release|iPhone" /> <MonoDevelop.Ide.ItemProperties.HDL-ON__Android PreferredExecutionTarget="Android.SelectDevice" /> <MonoDevelop.Ide.DebuggingService.Breakpoints> <BreakpointStore> @@ -56,7 +65,8 @@ <Breakpoint file="/Users/kaede/Desktop/HDL_APP_Project/HDL_ON/UI/UI2/4-PersonalCenter/FaceManagement/FacePassagePage.cs" relfile="HDL_ON/UI/UI2/4-PersonalCenter/FaceManagement/FacePassagePage.cs" line="224" column="1" /> <Breakpoint file="/Users/kaede/Desktop/HDL_APP_Project/HDL_ON/UI/UI2/4-PersonalCenter/FaceManagement/FacePassagePage.cs" relfile="HDL_ON/UI/UI2/4-PersonalCenter/FaceManagement/FacePassagePage.cs" line="466" column="1" /> <Breakpoint file="/Users/kaede/Desktop/HDL_APP_Project/HDL_ON/UI/UI2/4-PersonalCenter/FaceManagement/FacePassagePage.cs" relfile="HDL_ON/UI/UI2/4-PersonalCenter/FaceManagement/FacePassagePage.cs" line="523" column="1" /> <Breakpoint file="/Users/kaede/Desktop/HDL_APP_Project/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalPage.cs" relfile="HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalPage.cs" line="279" column="1" /> <Breakpoint file="/Users/kaede/Desktop/HDL_APP_Project/HDL_ON/DAL/Mqtt/MqttClient.cs" relfile="HDL_ON/DAL/Mqtt/MqttClient.cs" line="314" column="1" /> <Breakpoint file="/Users/kaede/Desktop/HDL_APP_Project/HDL_ON/DAL/Mqtt/MqttClient.cs" relfile="HDL_ON/DAL/Mqtt/MqttClient.cs" line="312" column="1" /> </BreakpointStore> </MonoDevelop.Ide.DebuggingService.Breakpoints> <MultiItemStartupConfigurations /> HDL-ON_Android/Assets/Language.ini
@@ -489,11 +489,11 @@ 501=Security alarm: {0} is triggered. 502=Clear the security alarm? 503=Exceeding standard 504=Class I standard 505=Secondary standard 504=Secondary standard 505=Class I standard 506=Face input succeeded 506=Face input failed 507=Face input failed 508=Formaldehyde 1000=Room Humidity 1001=V-chip @@ -1600,10 +1600,11 @@ 501=安防报警:{0}被触发。 502=是否解除安防警报? 503=超标 504=一级 505=二级 504=二级 505=一级 506=人脸录入成功 506=人脸录入失败 507=人脸录入失败 508=甲醛 1000=室内湿度 1001=童锁 @@ -2095,7 +2096,6 @@ 7148=撤防 7149=手动 7150=智能 9000=请使用新的手机账号登录APP 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="202108272" android:versionName="1.2.202108272" package="com.hdl.onpro"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="202108273" android:versionName="1.2.202108273" package="com.hdl.onpro"> <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="29" /> <!-- 乐橙可视对讲需要的权限 --> <!--<uses-permission android:name="android.permission.INTERNET" />--> HDL-ON_Android/Resources/Resource.designer.cs
Diff too large HDL-ON_iOS/Resources/Language.ini
@@ -489,11 +489,11 @@ 501=Security alarm: {0} is triggered. 502=Clear the security alarm? 503=Exceeding standard 504=Class I standard 505=Secondary standard 504=Secondary standard 505=Class I standard 506=Face input succeeded 506=Face input failed 507=Face input failed 508=Formaldehyde 1000=Room Humidity 1001=V-chip @@ -1600,10 +1600,11 @@ 501=安防报警:{0}被触发。 502=是否解除安防警报? 503=超标 504=一级 505=二级 504=二级 505=一级 506=人脸录入成功 506=人脸录入失败 507=人脸录入失败 508=甲醛 1000=室内湿度 1001=童锁 HDL_ON/Common/ApiUtlis.cs
@@ -277,19 +277,11 @@ UI.UI2.PersonalCenter.PirDevice.PirSend.LcSubAccessToken = video.subAccountToken; } else if (video.interphoneType == InterphoneType.HDL.ToString()) { isInterphoneType_HDL = true; } else if(video.interphoneType == InterphoneType.HDL.ToString()) { DB_ResidenceData.Instance.SupportFacePass = true; DB_ResidenceData.Instance.SaveResidenceData(); DB_ResidenceData.Instance.SaveResidenceData(); } } } //======================安防==================== GetSecurityList(); //======================SIP账号==================== //======================获取Sip账号并且初始化SDK可视对讲设备列表==================== //如果检测线程没启动,才继续下面操作 因为App有可能刚启动马上收到推送了,然后才执行到这里 @@ -307,7 +299,10 @@ HDLLinphone.Current.LogoutAllAccount(); } } //======================安防==================== GetSecurityList(); } catch (Exception ex) { HDL_ON/Common/R.cs
@@ -4,7 +4,10 @@ { public static class StringId { /// <summary> /// 甲醛 /// </summary> public const int Formaldehyde = 508; /// <summary> /// 人脸录入失败 /// </summary> HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -549,16 +549,16 @@ // }, //}); FunctionList.List.Functions.Add(new Function() { spk = SPK.AirFreshStandard, name = "测试新风", attributes = new List<FunctionAttributes>() { new FunctionAttributes(){ key = "on_off",curValue= "on",state = "on" }, new FunctionAttributes(){ key = "fan",curValue= "low",state = "low" ,value = new List<string>(){ "high", "medium", "low" } }, }, }); //FunctionList.List.Functions.Add(new Function() //{ // spk = SPK.AirFreshStandard, // name = "测试新风", // attributes = new List<FunctionAttributes>() // { // new FunctionAttributes(){ key = "on_off",curValue= "on",state = "on" }, // new FunctionAttributes(){ key = "fan",curValue= "low",state = "low" ,value = new List<string>(){ "high", "medium", "low" } }, // }, //}); //FunctionList.List.Functions.Add(new Function() //{ HDL_ON/UI/UI2/3-Intelligence/Automation/PublicInterface.cs
@@ -713,9 +713,9 @@ case "tvoc": { list = new List<string> { Language.StringByID(StringId.zhengchang)+ ":0~399PPB", Language.StringByID(StringId.chaobiao)+ ":400~699PPB", Language.StringByID(StringId.yanzhong)+":>700PPB", Language.StringByID(StringId.zhengchang)+ ":0~399mg/m3", Language.StringByID(StringId.chaobiao)+ ":400~699mg/m3", Language.StringByID(StringId.yanzhong)+":>700mg/m3", }; } break; @@ -727,7 +727,6 @@ }; } break; } return list; } @@ -986,15 +985,15 @@ if (intValue >=1 && intValue <= 3) { text = Language.StringByID(StringId.zhengchang) + ":0~399PPB"; text = Language.StringByID(StringId.zhengchang) + ":0~399mg/m3"; } else if (intValue >=4 && intValue<=6) { text = Language.StringByID(StringId.chaobiao) + ":400~699PPB"; text = Language.StringByID(StringId.chaobiao) + ":400~699mg/m3"; } else if (intValue >= 7 && intValue <= 9) { text = Language.StringByID(StringId.yanzhong) + ":>700PPB"; text = Language.StringByID(StringId.yanzhong) + ":>700mg/m3"; } } break; @@ -1055,15 +1054,15 @@ break; case "tvoc": { if (text == Language.StringByID(StringId.zhengchang) + ":0~399PPB") if (text == Language.StringByID(StringId.zhengchang) + ":0~399mg/m3") { value = "2"; } else if (text == Language.StringByID(StringId.chaobiao) + ":400~699PPB") else if (text == Language.StringByID(StringId.chaobiao) + ":400~699mg/m3") { value = "5"; } else if (text == Language.StringByID(StringId.yanzhong) +":>700PPB") else if (text == Language.StringByID(StringId.yanzhong) + ":>700mg/m3") { value = "8"; } HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalPage.cs
@@ -381,6 +381,10 @@ imagePath = "FunctionIcon/EnvirSensor/TempBg.png"; iconPath = "FunctionIcon/EnvirSensor/TempIcon.png"; break; case SPK.SensorHcho: imagePath = "FunctionIcon/EnvirSensor/HchoBg.png"; iconPath = "FunctionIcon/EnvirSensor/HchoIcon.png"; break; } sensorView.BackgroundImagePath = imagePath; @@ -431,12 +435,13 @@ Width = Application.GetRealWidth(100), Height = Application.GetRealWidth(32), TextAlignment = TextAlignment.CenterLeft, TextColor = CSS_Color.FirstLevelTitleColor, TextColor = sensorTemp.GetLevelColorList(sensor.spk)[sensorTemp.GetCurLevel(sensor) - 1], TextSize = CSS_FontSize.SubheadingFontSize, TextID = levelTextList[sensorTemp.GetCurLevel(sensor) - 1], Tag = "SensorLevel", }; sensorView.AddChidren(btnLevel); btnLevel.MouseUpEventHandler = (sender, e) => { #region @@ -523,7 +528,7 @@ btnTitle.Text = Language.StringByID(StringId.Temp) + "(°C)"; break; case SPK.SensorTVOC: btnTitle.Text = "TVOC(PPM)"; btnTitle.Text = "TVOC(mg/m3)"; break; case SPK.SensorCO2: btnTitle.Text = "CO2(PPM)"; @@ -531,6 +536,9 @@ case SPK.SensorHumidity: btnTitle.Text = Language.StringByID(StringId.Humidity) + "(%)"; break; case SPK.SensorHcho: btnTitle.Text = Language.StringByID(StringId.Formaldehyde) +"(mg/m3)"; break; } FrameLayout subTitleView = new FrameLayout()