From f08871fe7d148d667f2f11f80f64de71a0d9504c Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 15 六月 2026 18:19:37 +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