From dcc0f5b5d4315227c33d91e5750c296450d5a4d5 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 22 九月 2022 14:31:55 +0800
Subject: [PATCH] 光伏卡片数据显示

---
 HDL_ON/Entity/Function/InverterInfo.cs |   33 +++++++++++++++++++++++++++------
 1 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/HDL_ON/Entity/Function/InverterInfo.cs b/HDL_ON/Entity/Function/InverterInfo.cs
index 8751e7f..c6811cc 100644
--- a/HDL_ON/Entity/Function/InverterInfo.cs
+++ b/HDL_ON/Entity/Function/InverterInfo.cs
@@ -63,7 +63,7 @@
     /// <summary>
 	/// 鍏変紡鏁版嵁
 	/// </summary>
-    public class InverterInfo
+    public class InverterInfo : Function
     {
         public InverterInfo()
         {
@@ -71,10 +71,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	
@@ -82,7 +82,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>
@@ -93,5 +93,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