29 lines
953 B
C#
29 lines
953 B
C#
|
// ********************************************************************************
|
|||
|
// 文件名字: HSMSDisconnectedHandler
|
|||
|
// 文件描述: HSMSDisconnectedHandler
|
|||
|
// 开发人员: Michael
|
|||
|
// 创建时间: 2019/11/8 0:08
|
|||
|
//
|
|||
|
// 更新历史:
|
|||
|
// + 创建 HSMSDisconnectedHandler.cs 文件. by Michael @2019/11/8 0:08
|
|||
|
// ********************************************************************************
|
|||
|
using ARI.EAP.HOST;
|
|||
|
using ARI.EAP.HOST.MQ;
|
|||
|
using ARI.EAP.HOST.MQ.body;
|
|||
|
using ARI.EAP.HOST.SRD;
|
|||
|
using Glorysoft.SECS.EQP.Common;
|
|||
|
using Glorysoft.SECSwell;
|
|||
|
using System;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Glorysoft.SECS.EQP.Handlers
|
|||
|
{
|
|||
|
public class HSMSDisconnectedHandler : ISECSMessageHandler
|
|||
|
{
|
|||
|
public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
|
|||
|
{
|
|||
|
SimulatorInfo.Instance.IsConnected = false;
|
|||
|
Global.MF.ConnectStatusSet(false);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|