Activity.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using SKMC.Api.Common.Logger;
  2. using System.Collections.Generic;
  3. namespace SKMC.Api.Process.Model
  4. {
  5. /// <summary>
  6. /// 流程活动模型
  7. /// </summary>
  8. public class Activity
  9. {
  10. protected static readonly ILogger log = LogFactory.Get();
  11. /// <summary>
  12. /// 活动Id
  13. /// </summary>
  14. public int Id { get; set; }
  15. /// <summary>
  16. /// 活动名称
  17. /// </summary>
  18. public string Name { get; set; }
  19. /// <summary>
  20. /// 是否活动中
  21. /// </summary>
  22. public bool InAction { get; set; }
  23. /// <summary>
  24. /// Di触发条件集合
  25. /// </summary>
  26. public List<DioCnd> TriggerDiCnds { get; set; } = new List<DioCnd>();
  27. /// <summary>
  28. /// 电机触发条件集合
  29. /// </summary>
  30. public List<AxisCnd> TriggerAxisCnds { get; set; } = new List<AxisCnd>();
  31. /// <summary>
  32. /// 流程站点
  33. /// </summary>
  34. public ProcessStation ProcessStation { get; set; }
  35. }
  36. }