From 1afe548ac40cc7f975917ef9bf2e156595cf81f3 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 16 四月 2026 08:58:04 +0800
Subject: [PATCH] 优化;
---
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