Simulation Core
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

142 строки
4.3 KiB

  1. module UnitySignalVariables
  2. ! use CVoidEventHandlerCollection
  3. ! use CIntegerEventHandlerCollection
  4. type:: UnitySignalsType
  5. integer :: MudBucket = 0
  6. integer :: Elevator = 0
  7. integer :: FillupHead = 0
  8. integer :: Ibop = 0
  9. integer :: Kelly = 0
  10. integer :: MouseHole = 0
  11. integer :: OperationCondition = 0
  12. integer :: SafetyValve = 0
  13. integer :: operation = 0
  14. integer :: Slips = 0
  15. integer :: Slips_S = 0
  16. integer :: Swing = 0
  17. integer :: Swing_S = 0
  18. integer :: TdsBackupClamp = 0
  19. integer :: TdsSpine = 0
  20. integer :: TdsSwing = 0
  21. integer :: TdsTong = 0
  22. integer :: Tong = 0
  23. integer :: Tong_S = 0
  24. integer :: TdsConnectionModes = 0
  25. integer :: TdsElevatorModes = 0
  26. end type UnitySignalsType
  27. enum, bind(c)
  28. enumerator TONG_NEUTRAL
  29. enumerator TONG_BREAKOUT_BEGIN
  30. enumerator TONG_BREAKOUT_END
  31. enumerator TONG_MAKEUP_BEGIN
  32. enumerator TONG_MAKEUP_END
  33. enumerator TDS_SWING_NEUTRAL
  34. enumerator TDS_SWING_OFF_BEGIN
  35. enumerator TDS_SWING_OFF_END
  36. enumerator TDS_SWING_DRILL_BEGIN
  37. enumerator TDS_SWING_DRILL_END
  38. enumerator TDS_SWING_TILT_BEGIN
  39. enumerator TDS_SWING_TILT_END
  40. enumerator TDS_SPINE_NEUTRAL
  41. enumerator TDS_SPINE_CONNECT_BEGIN
  42. enumerator TDS_SPINE_CONNECT_END
  43. enumerator TDS_SPINE_DISCONNECT_BEGIN
  44. enumerator TDS_SPINE_DISCONNECT_END
  45. enumerator BACKUP_CLAMP_OFF_END
  46. enumerator BACKUP_CLAMP_OFF_BEGIN
  47. enumerator BACKUP_CLAMP_FW_BEGIN
  48. enumerator BACKUP_CLAMP_FW_END
  49. enumerator SWING_NEUTRAL
  50. enumerator SWING_MOUSE_HOLE_BEGIN
  51. enumerator SWING_MOUSE_HOLE_END
  52. enumerator SWING_RAT_HOLE_BEGIN
  53. enumerator SWING_RAT_HOLE_END
  54. enumerator SWING_WELL_BEGIN
  55. enumerator SWING_WELL_END
  56. end enum
  57. enum, bind(c)
  58. enumerator TDS_TONG_BREAKOUT_END
  59. enumerator TDS_TONG_BREAKOUT_BEGIN
  60. enumerator TDS_TONG_MAKEUP_BEGIN
  61. enumerator TDS_TONG_MAKEUP_END
  62. enumerator SAFETY_VALVE_NEUTRAL
  63. enumerator SAFETY_VALVE_REMOVE
  64. enumerator SAFETY_VALVE_INSTALL
  65. end enum
  66. enum, bind(c)
  67. enumerator OPERATION_DRILL
  68. enumerator OPERATION_TRIP
  69. end enum
  70. enum, bind(c)
  71. enumerator SLIPS_NEUTRAL
  72. enumerator SLIPS_SET_BEGIN
  73. enumerator SLIPS_SET_END
  74. enumerator SLIPS_UNSET_BEGIN
  75. enumerator SLIPS_UNSET_END
  76. enumerator MOUSE_HOLE_NEUTRAL
  77. enumerator MOUSE_HOLE_FILL
  78. enumerator MOUSE_HOLE_EMPTY
  79. enumerator KELLY_NEUTRAL
  80. enumerator KELLY_INSTALL
  81. enumerator KELLY_REMOVE
  82. !enumerator FILLUP_HEAD_NEUTRAL
  83. enumerator FILLUP_HEAD_REMOVE
  84. enumerator FILLUP_HEAD_INSTALL
  85. enumerator ELEVATOR_NEUTRAL
  86. enumerator ELEVATOR_LATCH_STRING_BEGIN
  87. enumerator ELEVATOR_LATCH_STRING_END
  88. enumerator ELEVATOR_UNLATCH_STRING_BEGIN
  89. enumerator ELEVATOR_UNLATCH_STRING_END
  90. enumerator ELEVATOR_LATCH_STAND_BEGIN
  91. enumerator ELEVATOR_LATCH_STAND_END
  92. enumerator ELEVATOR_UNLATCH_STAND_BEGIN
  93. enumerator ELEVATOR_UNLATCH_STAND_END
  94. enumerator ELEVATOR_LATCH_SINGLE_BEGIN
  95. enumerator ELEVATOR_LATCH_SINGLE_END
  96. enumerator ELEVATOR_UNLATCH_SINGLE_BEGIN
  97. enumerator ELEVATOR_UNLATCH_SINGLE_END
  98. !enumerator MUD_BUCKET_NEUTRAL
  99. enumerator MUD_BUCKET_REMOVE
  100. enumerator MUD_BUCKET_INSTALL
  101. !enumerator IBOP_NEUTRAL
  102. enumerator IBOP_REMOVE
  103. enumerator IBOP_INSTALL
  104. enumerator TDS_CONNECTION_NOTHING
  105. enumerator TDS_CONNECTION_STRING
  106. enumerator TDS_CONNECTION_SPINE
  107. enumerator TDS_ELEVATOR_CONNECTION_NOTHING
  108. enumerator TDS_ELEVATOR_CONNECTION_STRING
  109. enumerator TDS_ELEVATOR_CONNECTION_SINGLE
  110. enumerator TDS_ELEVATOR_CONNECTION_STAND
  111. enumerator TDS_ELEVATOR_LATCH_STRING
  112. enumerator TDS_ELEVATOR_LATCH_SINGLE
  113. enumerator TDS_ELEVATOR_LATCH_STAND
  114. end enum
  115. contains
  116. end module UnitySignalVariables