FaultConst.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. package com.ruoyi.sim.constant;
  2. import java.util.HashSet;
  3. public class FaultConst {
  4. /**
  5. * 跳过的开始考试检查故障部位 集合。
  6. */
  7. public static HashSet<String> FAULT_SET_CHECK_PASS = new HashSet<>();
  8. public static HashSet<String> FAULT_SET_JUDGE_RIGHT_FROM_WRONG_SP2 = new HashSet<>();
  9. /**
  10. * 是否是 2型,3型 的 维护管
  11. */
  12. public static HashSet<String> FAULT_SET_WHG = new HashSet<>();
  13. static {
  14. {
  15. // 1型
  16. // 1型不存在
  17. // 2型
  18. FAULT_SET_CHECK_PASS.add("0002GZBW0001");
  19. FAULT_SET_CHECK_PASS.add("0002GZBW0005");
  20. FAULT_SET_CHECK_PASS.add("0002GZBW0009");
  21. // 3型
  22. FAULT_SET_CHECK_PASS.add("0003GZBW0006");
  23. FAULT_SET_CHECK_PASS.add("0003GZBW0007");
  24. }
  25. {
  26. // 1型
  27. // 1型不存在
  28. // 2型
  29. FAULT_SET_JUDGE_RIGHT_FROM_WRONG_SP2.add("0002GZBW0001");
  30. FAULT_SET_JUDGE_RIGHT_FROM_WRONG_SP2.add("0002GZBW0003");
  31. FAULT_SET_JUDGE_RIGHT_FROM_WRONG_SP2.add("0002GZBW0005");
  32. FAULT_SET_JUDGE_RIGHT_FROM_WRONG_SP2.add("0002GZBW0009");
  33. FAULT_SET_JUDGE_RIGHT_FROM_WRONG_SP2.add("0002GZBW0010");
  34. // 3型
  35. FAULT_SET_JUDGE_RIGHT_FROM_WRONG_SP2.add("0003GZBW0006");
  36. FAULT_SET_JUDGE_RIGHT_FROM_WRONG_SP2.add("0002GZBW0007");
  37. FAULT_SET_JUDGE_RIGHT_FROM_WRONG_SP2.add("0002GZBW0008");
  38. }
  39. {
  40. // 2型
  41. // FAULT_SET_WHG.add("0002GZBW0009");
  42. FAULT_SET_WHG.add("0002GZBW0010");
  43. // 3型
  44. // FAULT_SET_WHG.add("0003GZBW0007");
  45. FAULT_SET_WHG.add("0003GZBW0008");
  46. }
  47. }
  48. }