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/DAL/DriverLayer/Target.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Target.cs b/HDL_ON/DAL/DriverLayer/Target.cs index 6c7a044..e156080 100644 --- a/HDL_ON/DAL/DriverLayer/Target.cs +++ b/HDL_ON/DAL/DriverLayer/Target.cs @@ -3,10 +3,11 @@ using System.Text; using HDL_ON.Entity; -namespace HDL_ON +namespace HDL_ON.DriverLayer { /// <summary> - /// 鎺у埗鏁版嵁 + /// 鎺у埗鏁版嵁鍖呭ご + /// bus鏁版嵁鍖呭ご /// </summary> public class Target { @@ -71,7 +72,7 @@ bytes [15] = 0xAA; bytes [16] = (byte)(11 + AddData.Length); - bytes [17] = 252; //婧愬瓙缃戝彿 + bytes [17] = 0; //婧愬瓙缃戝彿 bytes [18] = 252; //婧愯澶囧彿 bytes [19] = (byte)(deviceType/256); bytes [20] = (byte)(deviceType%256); @@ -113,7 +114,7 @@ bytes [15] = 0xAA; bytes [16] = 0xFF;//鏁版嵁鍖呴暱搴� - bytes [17] = 252;//婧愬瓙缃戝彿 + bytes [17] = 0;//婧愬瓙缃戝彿 bytes [18] = 252;//婧愯澶囧彿 bytes [19] = (byte)(deviceType/256); bytes [20] = (byte)(deviceType%256); -- Gitblit v1.8.0