39 satır
1.4 KiB
C#
39 satır
1.4 KiB
C#
// ********************************************************************************
|
|
// 文件名字: Command.S2F13
|
|
// 文件描述: Command.S2F13
|
|
// 开发人员: Hupe
|
|
// 创建时间: 2021/4/19 10:52
|
|
//
|
|
// 更新历史:
|
|
// + 创建 Command.S2F13.cs 文件. by Hupe @2021/4/19 10:52
|
|
// ********************************************************************************
|
|
|
|
using ARI.EAP.HOST;
|
|
using ARI.EAP.HOST.SRD;
|
|
using Glorysoft.SECS.EQP.Message;
|
|
using Glorysoft.SECS.EQP.Utilities;
|
|
using Glorysoft.SECSwell;
|
|
using System;
|
|
|
|
namespace Glorysoft.SECS.EQP.Commands
|
|
{
|
|
public static partial class Command
|
|
{
|
|
public static void S2F13Command(object tag = null)
|
|
{
|
|
if (SimulatorInfo.Instance.Context != null && SimulatorInfo.Instance.Context.IsConnected)
|
|
{
|
|
var trans = SimulatorInfo.Instance.Context.GetTransaction(2, 13, "S2F13");
|
|
foreach(var ec in Configurations.conf.sRDConfiguration.ecvs)
|
|
{
|
|
trans.Primary.Root.Add(SECSUtil.CreateSECSItem(ec.name, eSECS_FORMAT.U4, ec.ecid));
|
|
}
|
|
|
|
Global.MF.addlog(trans, LoggerService.Send, trans.Primary.Description, 0);
|
|
LoggerService.SECSLogger.Info(trans.Primary);
|
|
trans.Tag = tag;
|
|
SimulatorInfo.Instance.Context.SendMessage(trans);
|
|
}
|
|
}
|
|
}
|
|
} |