You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 rivejä
1.3 KiB

  1. // ********************************************************************************
  2. // 文件名字: S1F14Handler
  3. // 文件描述: S1F14Handler
  4. // 开发人员: Michael
  5. // 创建时间: 2019/11/8 0:08
  6. //
  7. // 更新历史:
  8. // + 创建 S1F14Handler.cs 文件. by Michael @2019/11/8 0:08
  9. // ********************************************************************************
  10. using Glorysoft.SECS.EQP.Common;
  11. using Glorysoft.SECS.EQP.Message;
  12. using Glorysoft.SECS.EQP.Utilities;
  13. using Glorysoft.SECSwell;
  14. using System.Linq;
  15. using System.Threading;
  16. namespace Glorysoft.SECS.EQP.Handlers
  17. {
  18. public class S1F13Handler : ISECSMessageHandler
  19. {
  20. public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
  21. {
  22. SECSMessage reply = trans.Secondary;
  23. reply.Root.Item(1).Value = 0;
  24. SimulatorInfo.Instance.Context?.ReplyMessage(trans);
  25. //S1F14Item item = new S1F14Item();
  26. //item.COMMACK = reply.Root.Item(1).Value.To<byte[]>().FirstOrDefault();
  27. //item.MDLN = reply.Root.Item(2).Item(1).Value.ToString();
  28. //item.SOFTREV = reply.Root.Item(2).Item(2).Value.ToString();
  29. //var scenario = trans.Tag as Scenario;
  30. //Thread.Sleep(500);
  31. //scenario.ExecuteNextStep();
  32. }
  33. }
  34. }