From 771a0e7b6b1276087515bbe94de28358cb92963b Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 04 六月 2026 10:32:27 +0800
Subject: [PATCH] 优化老化;

---
 HMI.Core/Util/MSMQHelper.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/HMI.Core/Util/MSMQHelper.cs b/HMI.Core/Util/MSMQHelper.cs
index 14c8125..efa87d5 100644
--- a/HMI.Core/Util/MSMQHelper.cs
+++ b/HMI.Core/Util/MSMQHelper.cs
@@ -13,7 +13,7 @@
     /// <summary>
     /// 娑堟伅闃熷垪鎿嶄綔绫�
     /// </summary>
-    public class MSMQHelper
+    public class MSMQHelperCCC
     {
         /// <summary>
         /// 娑堟伅闃熷垪鍚嶇О
@@ -34,7 +34,7 @@
         /// 鏋勯�犲嚱鏁�
         /// </summary>
         /// <param name="Name">娑堟伅闃熷垪鍚嶇О</param>
-        public MSMQHelper(string Name)
+        public MSMQHelperCCC(string Name)
         {
             try
             {
@@ -87,13 +87,13 @@
             {
                 MessageID = string.Empty;
                 MsgString = string.Empty;
-                TimeSpan Time = new TimeSpan(TimeOut*10000);
+                TimeSpan Time = new TimeSpan(TimeOut);
                 Message MsgReceived = null;
                 try
                 {
                     MsgReceived = this.msgQueue.Receive(Time);
                 }
-                catch(Exception ex)
+                catch
                 {
                     // do nothing
                 }

--
Gitblit v1.9.1