From d1b72117058f1131046b6aa3add8e3ccfae033d8 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 10:36:07 +0800
Subject: [PATCH] docs: CAN 模拟器独立 TCP 服务进程设计规格(统一 CanDeviceDriver + 双工推送协议)
---
HMI.Core/Util/HexUtil.cs | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/HMI.Core/Util/HexUtil.cs b/HMI.Core/Util/HexUtil.cs
index 546bd63..19a79b7 100644
--- a/HMI.Core/Util/HexUtil.cs
+++ b/HMI.Core/Util/HexUtil.cs
@@ -2,15 +2,15 @@
namespace HMI.Core.Util
{
- public class HexUtil
- {
- public static byte[] ToBytesFromHexString(string hexString)
- {
- //浠� ' ' 鍒嗗壊瀛楃涓诧紝骞跺幓鎺夌┖瀛楃
- string[] chars = hexString.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
- byte[] returnBytes;
- returnBytes = BitConverter.GetBytes(Convert.ToInt32(chars[0]));
- return returnBytes;
- }
- }
+ //public class HexUtil
+ //{
+ // public static byte[] ToBytesFromHexString(string hexString)
+ // {
+ // //浠� ' ' 鍒嗗壊瀛楃涓诧紝骞跺幓鎺夌┖瀛楃
+ // string[] chars = hexString.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
+ // byte[] returnBytes;
+ // returnBytes = BitConverter.GetBytes(Convert.ToInt32(chars[0]));
+ // return returnBytes;
+ // }
+ //}
}
--
Gitblit v1.9.1