2022-04-01 17:03:54 +08:00
|
|
|
|
// ********************************************************************************
|
|
|
|
|
// 文件名字: 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");
|
2022-12-16 13:01:24 +08:00
|
|
|
|
foreach(var ec in Configurations.conf.sRDConfiguration.ecvs)
|
2022-04-01 17:03:54 +08:00
|
|
|
|
{
|
|
|
|
|
trans.Primary.Root.Add(SECSUtil.CreateSECSItem(ec.name, eSECS_FORMAT.U4, ec.ecid));
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-16 13:01:24 +08:00
|
|
|
|
Global.MF.addlog(trans, LoggerService.Send, trans.Primary.Description, 0);
|
2022-04-01 17:03:54 +08:00
|
|
|
|
LoggerService.SECSLogger.Info(trans.Primary);
|
|
|
|
|
trans.Tag = tag;
|
|
|
|
|
SimulatorInfo.Instance.Context.SendMessage(trans);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|