From c00da77d00a479fa5d022346a6d9075f90a5c087 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期六, 14 九月 2024 10:05:34 +0800
Subject: [PATCH] 退出登录时间调整,新风,音乐
---
HDL_ON/Entity/Function/InverterInfo.cs | 95 ++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 89 insertions(+), 6 deletions(-)
diff --git a/HDL_ON/Entity/Function/InverterInfo.cs b/HDL_ON/Entity/Function/InverterInfo.cs
index 5e73d1f..e119a6a 100644
--- a/HDL_ON/Entity/Function/InverterInfo.cs
+++ b/HDL_ON/Entity/Function/InverterInfo.cs
@@ -1,12 +1,74 @@
锘縰sing System;
using System.Collections.Generic;
+using HDL_ON.UI.UI2;
+using Shared;
namespace HDL_ON.Entity
{
+
+ public class Inverter
+ {
+ static Inverter _control;
+ public static Inverter Ins
+ {
+ get
+ {
+ if (_control == null)
+ {
+ _control = new Inverter();
+ }
+ return _control;
+ }
+ }
+
+
+ WebView _h5Page;
+
+ string showPageUrl = "";
+
+ public WebView H5Page
+ {
+ get
+ {
+ if(_h5Page == null)
+ {
+ _h5Page = new WebView();
+ }
+
+
+ return _h5Page;
+ }
+ set
+ {
+ _h5Page = value;
+ }
+ }
+ /// <summary>
+ /// 鍔犺浇鎸囧畾Url鐨剋ebview
+ /// </summary>
+ /// <param name="showUrl"></param>
+ public void ShowWebviewFormUrl(string showUrl)
+ {
+
+ if (showUrl == showPageUrl)
+ {
+ return;
+ }
+ showPageUrl = showUrl;
+ _h5Page.LoadFileUrl(showPageUrl);
+ }
+
+ /// <summary>
+ /// h5鐣岄潰鐨勯〉闈㈢储寮�
+ /// </summary>
+ public string PageIndex = "1";
+
+ }
+
/// <summary>
/// 鍏変紡鏁版嵁
/// </summary>
- public class InverterInfo
+ public class InverterInfo : Function
{
public InverterInfo()
{
@@ -14,10 +76,10 @@
public string gatewayId;// 缃戝叧Id long
public string gatewayName;//缃戝叧鍚嶇О String
- public string deviceId;// 璁惧id Long
- public string name;//璁惧鍚嶇О string
- public string spk;//璁惧spk string
- public string sid;//璁惧sid string
+ //public string deviceId;// 璁惧id Long
+ //public string name;//璁惧鍚嶇О string
+ //public string spk;//璁惧spk string
+ //public string sid;//璁惧sid string
public string oid;//璁惧oid string
public string omodel;// 璁惧鍨嬪彿 string
public string osn;// 璁惧sn
@@ -25,7 +87,7 @@
public string totalElectricityPvToday;// 浠婃棩鍙戠數閲� String
public string systemStatus;// 鐘舵�� String
public string inv;// 閫嗗彉鍣ㄧ姸鎬� String
- public List<InverterStatusInfo> status = new List<InverterStatusInfo>();// 灞炴�у綋鍓嶇姸鎬� array
+ //public List<InverterStatusInfo> status = new List<InverterStatusInfo>();// 灞炴�у綋鍓嶇姸鎬� array
}
/// <summary>
@@ -36,5 +98,26 @@
public string key;// 灞炴�у悕绉� string
public string value;// 灞炴�у�� string
}
+
+
+ /// <summary>
+ /// 瀹跺涵鍏変紡缁熻鏁版嵁
+ /// </summary>
+ public class StatisticsInfo
+ {
+ public string workMode;// 宸ヤ綔妯″紡 String
+ public string totalElectricityPvToday;// 浠婃棩鍙戠數閲� String
+ public string totalElectricityPvMonth;// 鏈湀鍙戠數閲� String
+ public string totalElectricityPvYear;// 鏈勾鍙戠數閲� String
+ public string totalElectricityPv;//鎬诲彂鐢甸噺 String
+ public string powerPvNow;// 褰撳墠鍙戠數鍔熺巼 String
+ public string powerRNow;// 褰撳墠鐢佃〃鍔熺巼 String
+ public string batteryPowerNow;// 褰撳墠鐢垫睜鍔熺巼 String
+ public string powerLoadNow;//褰撳墠璐熻浇鍔熺巼 String
+ public string batterySoc;// 鐢垫睜soc String
+ public string systemStatus;// 鐘舵�� String
+ public string earningsToday;// 浠婃棩鏀剁泭 String
+ }
+
}
--
Gitblit v1.8.0