Simulation Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UnitySignalsVariables.i90 4.4 KiB

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