Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

S2F44Handler.cs 1.1 KiB

2 år sedan
1 år sedan
2 år sedan
123456789101112131415161718192021222324252627282930313233343536
  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. using System;
  17. using ARI.EAP.HOST;
  18. namespace Glorysoft.SECS.EQP.Handlers
  19. {
  20. public class S2F44Handler : ISECSMessageHandler
  21. {
  22. public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
  23. {
  24. Global.MF.addlog(trans, LoggerService.Receive, "Reset/Set Spooling", 1);
  25. LoggerService.SECSLogger.Info(trans.Secondary);
  26. if (trans.Tag != null)
  27. {
  28. var scenario = trans.Tag as Scenario;
  29. Thread.Sleep(500);
  30. scenario.ExecuteNextStep();
  31. }
  32. }
  33. }
  34. }