From ed3bfb7462d44747230437717e8673a5192f833f Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 30 十一月 2020 20:34:51 +0800 Subject: [PATCH] 2020-11-30-2 --- HDL_ON/DriverLayer/Target.cs | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Target.cs b/HDL_ON/DriverLayer/Target.cs similarity index 96% rename from HDL_ON/DAL/DriverLayer/Target.cs rename to HDL_ON/DriverLayer/Target.cs index e156080..6c7a044 100644 --- a/HDL_ON/DAL/DriverLayer/Target.cs +++ b/HDL_ON/DriverLayer/Target.cs @@ -3,11 +3,10 @@ using System.Text; using HDL_ON.Entity; -namespace HDL_ON.DriverLayer +namespace HDL_ON { /// <summary> - /// 鎺у埗鏁版嵁鍖呭ご - /// bus鏁版嵁鍖呭ご + /// 鎺у埗鏁版嵁 /// </summary> public class Target { @@ -72,7 +71,7 @@ bytes [15] = 0xAA; bytes [16] = (byte)(11 + AddData.Length); - bytes [17] = 0; //婧愬瓙缃戝彿 + bytes [17] = 252; //婧愬瓙缃戝彿 bytes [18] = 252; //婧愯澶囧彿 bytes [19] = (byte)(deviceType/256); bytes [20] = (byte)(deviceType%256); @@ -114,7 +113,7 @@ bytes [15] = 0xAA; bytes [16] = 0xFF;//鏁版嵁鍖呴暱搴� - bytes [17] = 0;//婧愬瓙缃戝彿 + bytes [17] = 252;//婧愬瓙缃戝彿 bytes [18] = 252;//婧愯澶囧彿 bytes [19] = (byte)(deviceType/256); bytes [20] = (byte)(deviceType%256); -- Gitblit v1.8.0