Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

QuartzMap.cs 1.1 KiB

2 anni fa
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace HKCardOUT.QuartzUtil
  7. {
  8. public class QuartzMap
  9. {
  10. /// <summary>
  11. /// 任务分组
  12. /// </summary>
  13. public string JobGroup { get; set; }
  14. /// <summary>
  15. /// 任务名称
  16. /// </summary>
  17. public string JobName { get; set; }
  18. /// <summary>
  19. /// 开始时间
  20. /// </summary>
  21. public DateTime StartTime { get; set; }
  22. /// <summary>
  23. /// 结束时间
  24. /// </summary>
  25. public DateTime? EndTime { get; set; }
  26. /// <summary>
  27. /// 执行任务间隔时间单位秒
  28. /// </summary>
  29. public int IntervalSecond { get; set; }
  30. /// <summary>
  31. /// 执行次数
  32. /// </summary>
  33. public int RunTimes { get; set; }
  34. /// <summary>
  35. /// 时间表达式
  36. /// </summary>
  37. public string Cron { get; set; }
  38. /// <summary>
  39. /// 任务描述
  40. /// </summary>
  41. public string JobDetail { get; set; }
  42. }
  43. }