36 lines
1.2 KiB
C#
36 lines
1.2 KiB
C#
|
// ********************************************************************************
|
|||
|
// 文件名字: Command.S7F5
|
|||
|
// 文件描述: Command.S7F5
|
|||
|
// 开发人员: Michael
|
|||
|
// 创建时间: 2019/11/8 0:08
|
|||
|
//
|
|||
|
// 更新历史:
|
|||
|
// + 创建 Command.S7F5.cs 文件. by Michael @2019/11/8 0:08
|
|||
|
// ********************************************************************************
|
|||
|
|
|||
|
using ARI.EAP.HOST;
|
|||
|
using Glorysoft.SECS.EQP.Message;
|
|||
|
using Glorysoft.SECS.EQP.Utilities;
|
|||
|
using System;
|
|||
|
|
|||
|
namespace Glorysoft.SECS.EQP.Commands
|
|||
|
{
|
|||
|
public partial class Command
|
|||
|
{
|
|||
|
public static void S7F19Command(object tag = null)
|
|||
|
{
|
|||
|
try
|
|||
|
{
|
|||
|
var trans = SimulatorInfo.Instance.Context.GetTransaction(7, 19, "S7F19");
|
|||
|
trans.Tag = tag;
|
|||
|
SimulatorInfo.Instance.Context.SendMessage(trans);
|
|||
|
Global.MF.addlog(LoggerService.HtoE, $"S{trans.Primary.Stream}F{trans.Primary.Function}", LoggerService.Send, trans.Description, "=" + trans.Primary.SystemBytes.ToString());
|
|||
|
LoggerService.SECSLogger.Info(trans.Primary);
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
LoggerService.SYSLogger.Error(e);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|