old mode 100755
new mode 100644
| | |
| | | using 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> |
| | | /// 从接口获取网关列表的结果 |
| | | /// </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> |
| | | /// 与此网关在云端Emq通信时,负载加解的16位Aes密钥 |
| | | /// </summary> |
| | | public string AesKey { get; set; } |
| | | /// <summary> |
| | | /// 网关对应的唯一码 |
| | | /// </summary> |
| | | public string MacMark { get; set; } |
| | | /// <summary> |
| | | /// 网关在云端Emq是否在线 |
| | | /// </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; } |
| | | |
| | | |
| | | |
| | | }
|
| | | }
|