From e073fe7864d815379e4b118b9bcb8a935395381f Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 16 十二月 2020 09:07:23 +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