From 33656fa9abd15ed00a390024b439568d2713ca1a Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期日, 06 十二月 2020 17:44:36 +0800 Subject: [PATCH] 2020-12-06 1.修改挤下线判断标记。2.修改房间和场景加载云端图片路径 --- HDL_ON/Entity/Function/Function.cs | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs index 1dc4393..1e58983 100644 --- a/HDL_ON/Entity/Function/Function.cs +++ b/HDL_ON/Entity/Function/Function.cs @@ -30,6 +30,7 @@ public Function() { } + #region base info /// <summary> @@ -89,15 +90,16 @@ } } } - /// <summary> - /// 鍔熻兘绫诲瀷 - /// </summary> + ///// <summary> + ///// 鍔熻兘绫诲瀷 + ///// </summary> public FunctionType functionType { get { var _functionTypeString = sid.Substring(16, 4); return (FunctionType)Enum.ToObject(typeof(FunctionType), Convert.ToInt32(_functionTypeString, 16)); + } } @@ -123,6 +125,10 @@ /// 鏄惁鏀惰棌 /// </summary> public bool collect = false; + /// <summary> + /// 鏄惁鍦ㄧ嚎 + /// </summary> + public bool online = true; /// <summary> /// 浜戠鏁版嵁鍒涘缓鐨勬椂闂� /// </summary> @@ -366,6 +372,8 @@ public string spk = ""; public List<AlinkControlAttributes> attributes = new List<AlinkControlAttributes>(); + //[Newtonsoft.Json.JsonIgnore] + public BusData bus = new BusData(); } /// <summary> @@ -761,6 +769,7 @@ public class BusData { public string addresses = "FFFF"; + [Newtonsoft.Json.JsonIgnore] public byte SubnetID { get @@ -768,6 +777,7 @@ return Convert.ToByte(addresses.Substring(0, 2), 16); } } + [Newtonsoft.Json.JsonIgnore] public byte DeviceID { get -- Gitblit v1.8.0