From 427ca74954126ce0d9aced18752442d064851863 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期日, 06 十二月 2020 14:27:35 +0800 Subject: [PATCH] 20201206 --- 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