From f441a3c49f8b5cedee3e4def6fbb448ef40eb9cb Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 10 六月 2020 14:46:58 +0800
Subject: [PATCH] Crabtree-ON 2020-06-10 基于最新HDL ON 优化问题,Crabtree-ONAPP部分功能同步修改优化调整 1. 增加大图片大文件上传处理. 2.远程连接交互提示,由原来的Loading修改成顶部Tip提示。 3.灯光全开、全关和场景控制多线程发送,和HDLON同样加锁处理。 4.Android ,判断移动网络失败,网络监测修复方法修改,后台前台切换优化。

---
 Crabtree/SmartHome/HDL/Operation/ResponseEntity/GatewayRes.cs |   92 ++++++++++++++++++++++++++++++++--------------
 1 files changed, 64 insertions(+), 28 deletions(-)

diff --git a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/GatewayRes.cs b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/GatewayRes.cs
old mode 100755
new mode 100644
index 382d6bf..b1bed41
--- a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/GatewayRes.cs
+++ b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/GatewayRes.cs
@@ -1,34 +1,70 @@
 锘縰sing System;
-
+using System.Collections.Generic;
+
 namespace Shared
-{
+{
+
+    [Serializable]
    public class AllBindGatewarysPaggerRes
    {
        public int PageIndex;
        public int PageSize;
        public int TotalCount;
        public int TotalPages;
        public bool HasPreviousPage;
        public bool HasNextPage;
        public string RegionName;

        public List<GatewayRes> PageData = new List<GatewayRes> ();

    }
+
+
+    /// <summary>
+    /// 浠庢帴鍙h幏鍙栫綉鍏冲垪琛ㄧ殑缁撴灉
+    /// </summary>
+    public class GetGatewayResult
+    {
+        /// <summary>
+        /// 缃戝叧鍒楄〃
+        /// </summary>
+        public List<GatewayRes> PageData = new List<GatewayRes> ();
+    }
+
     [Serializable]
     public class GatewayRes
-    {
-        public int Id { get; set; }
-
-        public string MAC { get; set; }
-
-        public string ProjectName { get; set; }
-
-        public string UserName { get; set; }
-
-        public string GroupName { get; set; }
-
-        public string IPAddress { get; set; }
-
-        public int Port { get; set; }
-
-        public int SubnetID { get; set; }
-
-        public int DeviceID { get; set; }
-
-        public int Type { get; set; }
-
-        public string IsValid { get; set; }
-
-        public string Password { get; set; }
-
-        public string Region { get; set; }
+    {
+        /// <summary>
+        /// 缃戝叧Mac
+        /// </summary>
+        public string GatewayUniqueId { get; set; }
+        /// <summary>
+        /// 涓庢缃戝叧鍦ㄤ簯绔疎mq閫氫俊鏃讹紝璐熻浇鍔犺В鐨�16浣岮es瀵嗛挜
+        /// </summary>
+        public string AesKey { get; set; }
+        /// <summary>
+        /// 缃戝叧瀵瑰簲鐨勫敮涓�鐮�
+        /// </summary>
+        public string MacMark { get; set; }
+        /// <summary>
+        ///  缃戝叧鍦ㄤ簯绔疎mq鏄惁鍦ㄧ嚎 
+        /// </summary>
+        public bool MqttOnlineStatus { get; set; }
+
+        //public int Id { get; set; }
+
+        //public string MAC { get; set; }
+
+        //public string ProjectName { get; set; }
+
+        //public string UserName { get; set; }
+
+        //public string GroupName { get; set; }
+
+        //public string IPAddress { get; set; }
+
+        //public int Port { get; set; }
+
+        //public int SubnetID { get; set; }
+
+        //public int DeviceID { get; set; }
+
+        //public int Type { get; set; }
+
+        //public string IsValid { get; set; }
+
+        //public string Password { get; set; }
+
+        //public string Region { get; set; }
+
+
+
     }
 }

--
Gitblit v1.8.0