From 393825c701ad97e13ad71c1fac1f6914e3d0feba Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 27 十一月 2020 13:35:37 +0800 Subject: [PATCH] 20201127 接受bus数据修改完成,搜索网关、一端口修改完成 --- HDL_ON/DAL/DriverLayer/Target.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Target.cs b/HDL_ON/DAL/DriverLayer/Target.cs index fc258c6..e156080 100644 --- a/HDL_ON/DAL/DriverLayer/Target.cs +++ b/HDL_ON/DAL/DriverLayer/Target.cs @@ -6,7 +6,8 @@ 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