30 lines
1.1 KiB
C#
30 lines
1.1 KiB
C#
|
// ********************************************************************************
|
|||
|
// 文件名字: Command.S5F3
|
|||
|
// 文件描述: Command.S5F3
|
|||
|
// 开发人员: Michael
|
|||
|
// 创建时间: 2019/11/8 0:08
|
|||
|
//
|
|||
|
// 更新历史:
|
|||
|
// + 创建 Command.S5F3.cs 文件. by Michael @2019/11/8 0:08
|
|||
|
// ********************************************************************************
|
|||
|
|
|||
|
using Glorysoft.SECS.EQP.Message;
|
|||
|
|
|||
|
namespace Glorysoft.SECS.EQP.Commands
|
|||
|
{
|
|||
|
public partial class Command
|
|||
|
{
|
|||
|
public static void S5F1Command(S5F1Item items, object tag = null)
|
|||
|
{
|
|||
|
if (SimulatorInfo.Instance.Context != null && SimulatorInfo.Instance.Context.IsConnected)
|
|||
|
{
|
|||
|
var trans = SimulatorInfo.Instance.Context.GetTransaction(5, 1, "S5F1");
|
|||
|
trans.Primary.Root.Item(1).Value = items.ALCD;
|
|||
|
trans.Primary.Root.Item(2).Value = items.ALID;
|
|||
|
trans.Primary.Root.Item(3).Value = items.ALTX;
|
|||
|
trans.Tag = tag;
|
|||
|
SimulatorInfo.Instance.Context.SendMessage(trans);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|