HDL-ON_Android/Assets/Language.ini
@@ -547,11 +547,11 @@ 559=Bind a third-party account 560=Bound 561=Original password 562=PhotovoltaicEnergyStorage 562=Photovoltaic 563=Normal operation 564=Working mode:---- 565=Power generation today: --- kW · H 566=Current power generation: --- w 564= ---- 565= ---- kW·h 566= ---- w 567=Battery SOC: --% 568=Running/Total:--/-- 570=Out:{0}°/In:{1}° @@ -1768,9 +1768,9 @@ 561=原密码 562=光伏储能 563=工作正常 564=工作模式: ---- 565=今日发电: ----KW·h 566=发电功率: ----w 564= ---- 565= ----KW·h 566= ----w 567=电池SOC: --% 568=运行数量/总数量: --/-- 569=人居环境 @@ -2963,11 +2963,11 @@ 559=Bind a third-party account 560=Bound 561=Original password 562=PhotovoltaicEnergyStorage 562=Photovoltaic 563=Normal operation 564=Working mode:---- 565=Power generation today: --- kW · H 566=Current power generation: --- w 564= ---- 565= ---- kW·h 566= ---- w 567=Battery SOC: --% 568=Running/Total:--/-- 570=Out:{0}°/In:{1}° @@ -4166,11 +4166,11 @@ 559=Bind a third-party account 560=Bound 561=Original password 562=PhotovoltaicEnergyStorage 562=Photovoltaic 563=Normal operation 564=Working mode:---- 565=Power generation today: --- kW · H 566=Current power generation: --- w 564= ---- 565= ---- kW·h 566= ---- w 567=Battery SOC: --% 568=Running/Total:--/-- 570=Out:{0}°/In:{1}° HDL-ON_Android/Assets/Phone/FunctionIcon/Inverter/Icon1.png
HDL-ON_Android/Assets/Phone/FunctionIcon/Inverter/Icon2.png
HDL-ON_Android/Assets/Phone/FunctionIcon/Inverter/Icon3.png
HDL-ON_Android/HDL-ON_Android.csproj
@@ -293,6 +293,9 @@ <AndroidAsset Include="Assets\h5\static\img\co2-reduction-ic.9c75228c.png" /> <AndroidAsset Include="Assets\h5\static\img\equal-plant-ic.7ef6befa.png" /> <AndroidAsset Include="Assets\h5\static\img\coal-save-ic.6c5fd125.png" /> <AndroidAsset Include="Assets\Phone\FunctionIcon\Inverter\Icon1.png" /> <AndroidAsset Include="Assets\Phone\FunctionIcon\Inverter\Icon2.png" /> <AndroidAsset Include="Assets\Phone\FunctionIcon\Inverter\Icon3.png" /> </ItemGroup> <ItemGroup> <AndroidResource Include="Resources\values\colors.xml" /> @@ -1501,6 +1504,7 @@ <Folder Include="Zxing\" /> <Folder Include="Assets\Phone\FunctionIcon\CAC\" /> <Folder Include="Assets\Phone\FunctionIcon\Panel\" /> <Folder Include="Assets\Phone\FunctionIcon\Inverter\" /> </ItemGroup> <Import Project="..\HDL_ON\HDL_ON.projitems" Label="Shared" Condition="Exists('..\HDL_ON\HDL_ON.projitems')" /> <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> 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:versionName="1.6.1" package="com.hdl.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202210111"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.6.1" package="com.hdl.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202210131"> <uses-sdk android:minSdkVersion="26" android:targetSdkVersion="29" /> <!--友盟--> <!--<uses-sdk android:minSdkVersion="8"></uses-sdk>--> HDL-ON_iOS/HDL-ON_iOS.csproj
@@ -489,6 +489,7 @@ <Folder Include="Base.lproj\" /> <Folder Include="Resources\Phone\FunctionIcon\CAC\" /> <Folder Include="Resources\Phone\FunctionIcon\Panel\" /> <Folder Include="Resources\Phone\FunctionIcon\Inverter\" /> </ItemGroup> <ItemGroup> <InterfaceDefinition Include="LaunchScreen.storyboard" /> @@ -1540,6 +1541,12 @@ <BundleResource Include="Resources\h5\static\img\co2-reduction-ic.9c75228c.png" /> <BundleResource Include="Resources\h5\static\img\equal-plant-ic.7ef6befa.png" /> <BundleResource Include="Resources\h5\static\img\coal-save-ic.6c5fd125.png" /> <BundleResource Include="Resources\Phone\FunctionIcon\Inverter\Icon1.png" /> <BundleResource Include="Resources\Phone\FunctionIcon\Inverter\Icon2.png" /> <BundleResource Include="Resources\Phone\FunctionIcon\Inverter\Icon3.png" /> <BundleResource Include="Resources\Phone\Public\IotCheckIcon.png" /> <BundleResource Include="Resources\Phone\Public\IotCheckOnIcon.png" /> <BundleResource Include="Resources\Phone\Public\LinkIotIcon.png" /> </ItemGroup> <ItemGroup> <ITunesArtwork Include="iTunesArtwork" /> HDL-ON_iOS/Info.plist
@@ -100,9 +100,9 @@ <key>UIStatusBarStyle</key> <string>UIStatusBarStyleLightContent</string> <key>CFBundleShortVersionString</key> <string>1.6.102210091</string> <string>1.6.102210131</string> <key>CFBundleVersion</key> <string>1.6.110091</string> <string>1.6.110131</string> <key>NSLocationWhenInUseUsageDescription</key> <string>Use geographic location to provide services such as weather</string> <key>NSAppleMusicUsageDescription</key> HDL-ON_iOS/Resources/Language.ini
@@ -547,11 +547,11 @@ 559=Bind a third-party account 560=Bound 561=Original password 562=PhotovoltaicEnergyStorage 562=Photovoltaic 563=Normal operation 564=Working mode:---- 565=Power generation today: --- kW · H 566=Current power generation: --- w 564= ---- 565= ---- kW·h 566= ---- w 567=Battery SOC: --% 568=Running/Total:--/-- 570=Out:{0}°/In:{1}° @@ -1768,9 +1768,9 @@ 561=原密码 562=光伏储能 563=工作正常 564=工作模式: ---- 565=今日发电: ----KW·h 566=发电功率: ----w 564= ---- 565= ----KW·h 566= ----w 567=电池SOC: --% 568=运行数量/总数量: --/-- 569=人居环境 @@ -2963,11 +2963,11 @@ 559=Bind a third-party account 560=Bound 561=Original password 562=PhotovoltaicEnergyStorage 562=Photovoltaic 563=Normal operation 564=Working mode:---- 565=Power generation today: --- kW · H 566=Current power generation: --- w 564= ---- 565= ---- kW·h 566= ---- w 567=Battery SOC: --% 568=Running/Total:--/-- 570=Out:{0}°/In:{1}° @@ -4166,11 +4166,11 @@ 559=Bind a third-party account 560=Bound 561=Original password 562=PhotovoltaicEnergyStorage 562=Photovoltaic 563=Normal operation 564=Working mode:---- 565=Power generation today: --- kW · H 566=Current power generation: --- w 564= ---- 565= ---- kW·h 566= ---- w 567=Battery SOC: --% 568=Running/Total:--/-- 570=Out:{0}°/In:{1}° HDL-ON_iOS/Resources/Phone/FunctionIcon/Inverter/Icon1.png
HDL-ON_iOS/Resources/Phone/FunctionIcon/Inverter/Icon2.png
HDL-ON_iOS/Resources/Phone/FunctionIcon/Inverter/Icon3.png
HDL-ON_iOS/Resources/Phone/Public/IotCheckIcon.png
HDL-ON_iOS/Resources/Phone/Public/IotCheckOnIcon.png
HDL-ON_iOS/Resources/Phone/Public/LinkIotIcon.png
HDL_ON/Common/ApiUtlis.cs
@@ -318,7 +318,7 @@ { IsBackground = true }.Start(); //===================读取逻辑列表========================== UI.UI2.Intelligence.Automation.MainView.GetLogicList(); UI.UI2.Intelligence.Automation.MainView.GetLogicList(true); //===================读取可视对讲数据========================== //判断是否有可视对讲数据,有则显示可视对讲icon HDL_ON/DAL/Server/HttpUtil.cs
@@ -17,7 +17,6 @@ /// 固定域名,正式环境 /// 公共域名就近解析 /// </summary> public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm /// <summary> HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -1227,12 +1227,23 @@ //}; //inverterListView.AddChidren(btnWorkStatus); Button btnWorkingMode = new Button() Button btnWorkingModeIcon = new Button() { X = Application.GetRealWidth(16), Y = btnOpenCount.Bottom + Application.GetRealHeight(5), Width = Application.GetRealWidth(14), Height = Application.GetRealWidth(14), UnSelectedImagePath = "FunctionIcon/Inverter/Icon1.png" }; inverterListView.AddChidren(btnWorkingModeIcon); Button btnWorkingMode = new Button() { X = Application.GetRealWidth(37), Y = btnOpenCount.Bottom + Application.GetRealHeight(5),// + Application.GetRealHeight(16), Width = Application.GetRealWidth(148), Height = Application.GetRealHeight(18), Height = Application.GetRealHeight(14), TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.PromptFontSize_FirstLevel, TextID = StringId.WorkingMode, @@ -1240,12 +1251,23 @@ }; inverterListView.AddChidren(btnWorkingMode); Button btnPowerTenerationToday = new Button() Button btnPowerTenerationTodayIcon = new Button() { X = Application.GetRealWidth(16), Y = btnWorkingMode.Bottom + Application.GetRealHeight(5), Y = btnWorkingMode.Bottom + Application.GetRealHeight(10), Width = Application.GetRealWidth(14), Height = Application.GetRealWidth(14), UnSelectedImagePath = "FunctionIcon/Inverter/Icon2.png" }; inverterListView.AddChidren(btnPowerTenerationTodayIcon); Button btnPowerTenerationToday = new Button() { X = Application.GetRealWidth(37), Y = btnWorkingMode.Bottom + Application.GetRealHeight(10), Width = Application.GetRealWidth(148), Height = Application.GetRealHeight(21), Height = Application.GetRealHeight(14), TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.PromptFontSize_FirstLevel, TextID = StringId.PowerTenerationToday, @@ -1253,13 +1275,22 @@ }; inverterListView.AddChidren(btnPowerTenerationToday); Button btnCurrentPowerGenerationIcon = new Button() { X = Application.GetRealWidth(16), Y = btnPowerTenerationToday.Bottom + Application.GetRealHeight(10), Width = Application.GetRealWidth(14), Height = Application.GetRealWidth(14), UnSelectedImagePath = "FunctionIcon/Inverter/Icon3.png" }; inverterListView.AddChidren(btnCurrentPowerGenerationIcon); Button btnCurrentPowerGeneration = new Button() { X = Application.GetRealWidth(16), Y = btnPowerTenerationToday.Bottom + Application.GetRealHeight(5), X = Application.GetRealWidth(37), Y = btnPowerTenerationToday.Bottom + Application.GetRealHeight(10), Width = Application.GetRealWidth(148), Height = Application.GetRealHeight(21), Height = Application.GetRealHeight(14), TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.PromptFontSize_FirstLevel, TextID = StringId.CurrentPowerGeneration, @@ -1267,17 +1298,17 @@ }; inverterListView.AddChidren(btnCurrentPowerGeneration); Button btnBatterySOC = new Button() { X = Application.GetRealWidth(16), Y = btnCurrentPowerGeneration.Bottom, Width = Application.GetRealWidth(148), Height = Application.GetRealHeight(18), TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.PromptFontSize_FirstLevel, TextID = StringId.BatterySOC, TextAlignment = TextAlignment.CenterLeft, }; //Button btnBatterySOC = new Button() //{ // X = Application.GetRealWidth(37), // Y = btnCurrentPowerGeneration.Bottom, // Width = Application.GetRealWidth(148), // Height = Application.GetRealHeight(18), // TextColor = CSS_Color.FirstLevelTitleColor, // TextSize = CSS_FontSize.PromptFontSize_FirstLevel, // TextID = StringId.BatterySOC, // TextAlignment = TextAlignment.CenterLeft, //}; //inverterListView.AddChidren(btnBatterySOC); //Button btnOperationDataTotalData = new Button() @@ -1354,7 +1385,7 @@ { h5BasePage.RemoveFromParent(); }); refreshInverterInfo(btnPowerTenerationToday, btnWorkingMode, btnCurrentPowerGeneration, btnBatterySOC); refreshInverterInfo(btnPowerTenerationToday, btnWorkingMode, btnCurrentPowerGeneration); } else if (jObj["method"].ToString() == "setPageIndex") { @@ -1367,7 +1398,7 @@ }; refreshInverterInfo(btnPowerTenerationToday, btnWorkingMode, btnCurrentPowerGeneration, btnBatterySOC); refreshInverterInfo(btnPowerTenerationToday, btnWorkingMode, btnCurrentPowerGeneration); index++; } @@ -1377,7 +1408,7 @@ #endregion } void refreshInverterInfo(Button btnPowerTenerationToday, Button btnWorkingMode, Button btnCurrentPowerGeneration, Button btnBatterySOC) void refreshInverterInfo(Button btnPowerTenerationToday, Button btnWorkingMode, Button btnCurrentPowerGeneration) { new System.Threading.Thread(() => { @@ -1398,7 +1429,7 @@ { Application.RunOnMainThread(() => { btnPowerTenerationToday.Text = Language.StringByID(StringId.PowerTenerationToday).Replace("----", info.totalElectricityPvToday); btnPowerTenerationToday.Text = info.totalElectricityPvToday + "kW·h";// Language.StringByID(StringId.PowerTenerationToday).Replace("----", info.totalElectricityPvToday); string workModeString = ""; if (Language.CurrentLanguage == "Chinese") { switch (info.workMode) @@ -1429,9 +1460,9 @@ break; } } btnWorkingMode.Text = Language.StringByID(StringId.WorkingMode).Replace("----", workModeString); btnCurrentPowerGeneration.Text = Language.StringByID(StringId.CurrentPowerGeneration).Replace("----", info.powerPvNow); btnBatterySOC.Text = Language.StringByID(StringId.BatterySOC).Replace("--", info.batterySoc); btnWorkingMode.Text = workModeString;// Language.StringByID(StringId.WorkingMode).Replace("----", workModeString); btnCurrentPowerGeneration.Text = info.powerPvNow + "w";// Language.StringByID(StringId.CurrentPowerGeneration).Replace("----", info.powerPvNow); //btnBatterySOC.Text = Language.StringByID(StringId.BatterySOC).Replace("--", info.batterySoc); }); } catch (Exception ex) HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs
@@ -258,9 +258,9 @@ /// <summary> /// 获取逻辑列表 /// </summary> public static void GetLogicList() public static void GetLogicList(bool needRefresh = false)//增加强制刷新 { if (Logic.LogicList.Count != 0) if (Logic.LogicList.Count != 0 || !needRefresh) { //自动化列表为0才去获取自动化列表; return; HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/iot_BindTipPage.cs
@@ -257,6 +257,7 @@ var http = new HttpServerRequest(); var waitPage = new Loading(); this.AddChidren(waitPage); dialog.Close(); waitPage.Start(""); new System.Threading.Thread(() => { @@ -279,7 +280,6 @@ } else { dialog.Close(); if (Language.CurrentLanguage != "Chinese") { new Alert("", "Operation failed", "").Show();