RecipeStep.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System.Collections.Generic;
  2. namespace FurnaceRT.Equipments.PMs.RecipeExecutions
  3. {
  4. public enum EnumEndByCondition
  5. {
  6. ByTime,
  7. ByStable,
  8. ByStep,
  9. ByStandbyFactor,
  10. }
  11. public class RecipeStep
  12. {
  13. public string StepName { get; set; }
  14. public double StepTime { get; set; }
  15. public bool IsJumpStep { get; set; }
  16. public int JumpStepNo { get; set; }
  17. public string JumpStepName { get; set; }
  18. public bool IsCallSubStep { get; set; }
  19. public bool IsLoopStartStep { get; set; }
  20. public bool IsLoopEndStep { get; set; }
  21. public int LoopCount { get; set; }
  22. public int LoopStartStep { get; set; }
  23. public int LoopEndStep { get; set; }
  24. public bool IsTimeMeasurementStartStep { get; set; }
  25. public bool IsTimeMeasurementStopStep { get; set; }
  26. public string FilmThickFormula { get; set; }
  27. public float FilmThickCoefficientA { get; set; }
  28. public float FilmThickCoefficientB { get; set; }
  29. public EnumEndByCondition EndBy { get; set; }
  30. public double EndByValue { get; set; }
  31. public string AlarmConditionTable { get; set; }
  32. public Dictionary<int, AlarmActions> AlarmActionSets { get; set; } = new Dictionary<int, AlarmActions>();
  33. public Dictionary<string, string> RecipeCommands { get; set; } = new Dictionary<string, string>();
  34. public List<RecipeStep> AbortRecipeSteps { get; set; }
  35. public List<RecipeStep> SubRecipeSteps { get; set; }
  36. public int SubRecipeLoopCount { get; set; }
  37. public string SubRecipeTableInfo { get; set; }
  38. public string AbortRecipeTableInfo { get; set; }
  39. public string RecipeType { get; set; }
  40. }
  41. public class AlarmActions
  42. {
  43. public string ProcessingType;
  44. public string ProcessingDetails;
  45. public List<RecipeStep> AbortRecipeStepList = new List<RecipeStep>();
  46. }
  47. }