dc/Handlers/HSMSDisconnectedHandler.cs
13118993771@163.com b593a243a5 V1.0
2022-07-27 14:46:20 +08:00

30 lines
1005 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.Common;
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;
EquipmentStatus.EqConnectState = ConnectState.disconnected;
}
}
}