RecipeStep.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 IsCallSubStepTemp { get; set; }
  20. public bool IsLoopStartStep { get; set; }
  21. public bool IsLoopEndStep { get; set; }
  22. public int LoopCount { get; set; }
  23. public int LoopStartStep { get; set; }
  24. public int LoopEndStep { get; set; }
  25. public bool IsTimeMeasurementStartStep { get; set; }
  26. public bool IsTimeMeasurementStopStep { get; set; }
  27. public string FilmThickFormula { get; set; }
  28. public float FilmThickCoefficientA { get; set; }
  29. public float FilmThickCoefficientB { get; set; }
  30. public EnumEndByCondition EndBy { get; set; }
  31. public double EndByValue { get; set; }
  32. public string AlarmConditionTable { get; set; }
  33. public Dictionary<int, AlarmActions> AlarmActionSets { get; set; } = new Dictionary<int, AlarmActions>();
  34. public Dictionary<string, string> RecipeCommands { get; set; } = new Dictionary<string, string>();
  35. public List<RecipeStep> AbortRecipeSteps { get; set; }
  36. public List<RecipeStep> SubRecipeSteps { get; set; }
  37. public int SubRecipeLoopCount { get; set; }
  38. public int SubRecipeLoopCountTemp { get; set; }
  39. public string SubRecipeTableInfo { get; set; }
  40. public string AbortRecipeTableInfo { get; set; }
  41. public string RecipeType { get; set; }
  42. }
  43. public class AlarmActions
  44. {
  45. public string ProcessingType;
  46. public string ProcessingDetails;
  47. public List<RecipeStep> AbortRecipeStepList = new List<RecipeStep>();
  48. }
  49. }