wenxiangchao
3 天以前 b544d5cccd76735e034c8055918a50927b437474
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
                }