From 1a204747c1074d4c56c5926f7c15e5c134d516fa Mon Sep 17 00:00:00 2001 From: 温居城 <wenjucheng@wenjuchengdeMacBook-Pro.local> Date: 星期五, 19 十一月 2021 18:19:20 +0800 Subject: [PATCH] 20201-11-19-01 --- 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