From 1ba40bc52716e732f53bf74a68db9eb9d75c0844 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 16 十二月 2020 10:42:04 +0800
Subject: [PATCH] 20201216-1

---
 HDL_ON/DAL/Server/NewApiRes.cs |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/DAL/Server/NewApiRes.cs b/HDL_ON/DAL/Server/NewApiRes.cs
index 581018d..9b014e5 100644
--- a/HDL_ON/DAL/Server/NewApiRes.cs
+++ b/HDL_ON/DAL/Server/NewApiRes.cs
@@ -570,6 +570,23 @@
         /// OFF_LINE(1,"涓嬬嚎"),;
         /// </summary>
         public string gatewayStatus;
+        /// <summary>
+        /// 缃戝叧鏄惁鍦ㄧ嚎
+        /// </summary>
+        public bool GatewayOnline
+        {
+            get
+            {
+                if (gatewayStatus == "ON_LINE")
+                {
+                    return true;
+                }
+                else
+                {
+                    return false;
+                }
+            }
+        }
 
         ///// <summary>
         ///// 

--
Gitblit v1.8.0