TskState.cs 566 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Text;
  5. namespace Ips.Library.Entity
  6. {
  7. /// <summary>
  8. /// 任务状态
  9. /// </summary>
  10. public enum TskState
  11. {
  12. [Description("未运行")]
  13. Stop = 0,
  14. [Description("等待运行")]
  15. Wait = 1,
  16. [Description("运行中")]
  17. Running = 2,
  18. [Description("停止中")]
  19. Stopping = 3,
  20. [Description("已完成")]
  21. Completed = 30,
  22. [Description("异常终止")]
  23. Fatal = 40
  24. }
  25. }