From c4a3f8db90530a727ffab77c3bb5bb7d782792bf Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 25 八月 2025 15:50:27 +0800
Subject: [PATCH] 上传代码;

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

diff --git a/HMI.Core/Util/MSMQHelper.cs b/HMI.Core/Util/MSMQHelper.cs
index 14c8125..41dcf48 100644
--- a/HMI.Core/Util/MSMQHelper.cs
+++ b/HMI.Core/Util/MSMQHelper.cs
@@ -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