HSReservoirInitializeRoutine.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using Aitex.Core.RT.Routine;
  2. using MECF.Framework.Common.Routine;
  3. using PunkHPX8_Core;
  4. using PunkHPX8_RT.Devices.Reservoir;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace PunkHPX8_RT.Modules.Reservoir
  11. {
  12. public class HSReservoirInitializeRoutine : RoutineBase, IRoutine
  13. {
  14. /// <summary>
  15. /// 构造函数
  16. /// </summary>
  17. /// <param name="module"></param>
  18. public HSReservoirInitializeRoutine(string module) : base(module)
  19. {
  20. }
  21. /// <summary>
  22. /// 启动
  23. /// </summary>
  24. /// <param name="objs"></param>
  25. /// <returns></returns>
  26. public RState Start(params object[] objs)
  27. {
  28. return RState.Running;
  29. }
  30. /// <summary>
  31. /// 监控
  32. /// </summary>
  33. /// <returns></returns>
  34. public RState Monitor()
  35. {
  36. return RState.End;
  37. }
  38. /// <summary>
  39. /// 中止
  40. /// </summary>
  41. public void Abort()
  42. {
  43. }
  44. }
  45. }