From 649f0223cf1bacbc3df0eada80a839b0d58c7039 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 06 七月 2021 09:46:06 +0800
Subject: [PATCH] 更新温居城自动化代码
---
HDL_ON/Entity/ResponseEntity/RegionInfoRes.cs | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 113 insertions(+), 6 deletions(-)
diff --git a/HDL_ON/Entity/ResponseEntity/RegionInfoRes.cs b/HDL_ON/Entity/ResponseEntity/RegionInfoRes.cs
index 9eb0a13..7028c70 100644
--- a/HDL_ON/Entity/ResponseEntity/RegionInfoRes.cs
+++ b/HDL_ON/Entity/ResponseEntity/RegionInfoRes.cs
@@ -1,20 +1,127 @@
锘縰sing System;
-
+using System.Collections.Generic;
namespace HDL_ON
{
+ //[Serializable]
+ //public class RegionInfoRes
+ //{
+ // public string RegionID { get; set; }
+
+ // /// <summary>
+ // /// 鍖哄煙鍚嶇О(濡�:骞垮窞銆佹繁鍦崇瓑)
+ // /// </summary>
+ // public string RegionName { get; set; }
+ // /// <summary>
+ // /// 浣忓畢鍚嶇О
+ // /// </summary>
+ // public string Name { get;set; }
+ // /// <summary>
+ // /// 浣忓畢鍦板潃
+ // /// </summary>
+ // public string Address { get; set; }
+
+ // //{
+ // // {
+ // // "Id": "1107487",
+ // // "HomeStatus": 2,
+ // // "UserGuid": "22980",
+ // // "Name": "鍟�",
+ // // "Address": null,
+ // // "Longitude": 0.0,
+ // // "Latitude": 0.0,
+ // // "RegionName": null,
+ // // "Company": null,
+ // // "ContactPerson": null,
+ // // "ContactPersonPhone": null,
+ // // "Remarks": null,
+ // // "ChangeDate": null,
+ // //"AccountType": 0,
+ // // "CreatedOnUtc": "2020-05-27T06:52:03",
+ // public bool IsOthreShare = false;
+ // // "MainUserDistributedMark": null,
+ // public List<HomeGateways> homeGateways = new List<HomeGateways>();
+ //}
+
+ public class HomeGateways
+ {
+ public string GatewayUniqueId = "";
+ }
+
[Serializable]
public class RegionInfoRes
{
- public string RegionID { get; set; }
-
/// <summary>
- /// 鍖哄煙鍚嶇О(濡�:骞垮窞銆佹繁鍦崇瓑)
+ /// 浣忓畢ID
/// </summary>
- public string RegionName { get; set; }
+ public string id { get; set; }
/// <summary>
/// 浣忓畢鍚嶇О
/// </summary>
- public string Name { get;set; }
+ public string homeName { get; set; }
+ /// <summary>
+ /// 浣忓畢鍦板潃
+ /// </summary>
+ public string homeAddress { get; set; }
+ /// <summary>
+ /// 鏄惁涓哄叾浠栦富鐢ㄦ埛鍒嗕韩杩囨潵鐨勪綇瀹�
+ /// </summary>
+ public bool isOtherShare { get; set; }
+
+ //2020-11-13 鏂板
+ /// <summary>
+ /// 浠呭瓙璐﹀彿鐧婚檰鐨勬椂鍊欎娇鐢�,褰撱�怚sOthreShare銆戜负"true"锛�
+ /// 瀛愯处鎴风被鍨� 1.ORDINARY 2.DEBUG 3.ADMIN
+ /// </summary>
+ public string accountType;
+ /// <summary>
+ /// 鏄惁鏀寔杩滅▼
+ /// </summary>
+ public bool isRemoteControl;//??
+ /// <summary>
+ /// 缁忓害
+ /// </summary>
+ public double longitude;
+ /// <summary>
+ /// 绾害
+ /// </summary>
+ public double latitude;
+ /// <summary>
+ /// 浜や粯鐘舵��
+ /// </summary>
+ public string deliverstatus;
+ /// <summary>
+ /// 浣忓畢绫诲瀷 Zigbee, Buspro, A
+ /// </summary>
+ public string homeType;
+ /// <summary>
+ /// 鍖哄煙鏈嶅姟鍣�
+ /// </summary>
+ public string regionUrl;
+ /// <summary>
+ /// emq鏈嶅姟鍣�
+ /// </summary>
+ public string emqUrl;
+ /// <summary>
+ /// 浣忓畢鍖哄煙Id
+ /// </summary>
+ public string homeRegionId;
+ /// <summary>
+ /// 鏄惁鍏佽鍒涘缓鍦烘櫙
+ /// </summary>
+ public bool isAllowCreateScene;//??
+ /// <summary>
+ /// 鏄惁缁戝畾缃戝叧
+ /// </summary>
+ public bool isBindGateway;
+ /// <summary>
+ /// 璋冭瘯浜哄憳ID
+ /// </summary>
+ public string debugStaffUserId;
+ /// <summary>
+ /// 璋冭瘯鏉冮檺鏄惁鎵撳紑
+ /// </summary>
+ public bool debugPerm;
}
+
}
--
Gitblit v1.8.0