From e08a444a9d7acea0cf39f50d22d29179f6a59292 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 01 十二月 2020 09:37:11 +0800 Subject: [PATCH] 2020-12-1 --- HDL_ON/DAL/DriverLayer/Target.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/HDL_ON/DriverLayer/Target.cs b/HDL_ON/DAL/DriverLayer/Target.cs similarity index 96% rename from HDL_ON/DriverLayer/Target.cs rename to HDL_ON/DAL/DriverLayer/Target.cs index 6c7a044..e156080 100644 --- a/HDL_ON/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