From 8e4dd3cdef1348bcf1285576bb946afb85ce2526 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 08 十二月 2020 17:31:27 +0800 Subject: [PATCH] 增加分享设备的时候,判断当前房间分享设备总数,从而决定是否需要增加或者移除房间分享 --- HDL_ON/Entity/Function/Function.cs | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs index 29ec0d6..1e58983 100644 --- a/HDL_ON/Entity/Function/Function.cs +++ b/HDL_ON/Entity/Function/Function.cs @@ -126,6 +126,10 @@ /// </summary> public bool collect = false; /// <summary> + /// 鏄惁鍦ㄧ嚎 + /// </summary> + public bool online = true; + /// <summary> /// 浜戠鏁版嵁鍒涘缓鐨勬椂闂� /// </summary> public string createTime = ""; @@ -368,6 +372,8 @@ public string spk = ""; public List<AlinkControlAttributes> attributes = new List<AlinkControlAttributes>(); + //[Newtonsoft.Json.JsonIgnore] + public BusData bus = new BusData(); } /// <summary> @@ -763,6 +769,7 @@ public class BusData { public string addresses = "FFFF"; + [Newtonsoft.Json.JsonIgnore] public byte SubnetID { get @@ -770,6 +777,7 @@ return Convert.ToByte(addresses.Substring(0, 2), 16); } } + [Newtonsoft.Json.JsonIgnore] public byte DeviceID { get -- Gitblit v1.8.0