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.

COperationScenariosVariables.i90 1.6 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # 1 "/home/admin/SimulationCore2/CSharp/OperationScenarios/Common/COperationScenariosVariables.f90"
  2. module COperationScenariosVariables
  3. implicit none
  4. public
  5. type::OperationScenarioType
  6. ! Apparently Constants
  7. real :: HKL = 63.76 ! Hook And Kelly Length
  8. real :: HL = 17.81 ! Hook Length
  9. real :: PL = 30.0 ! Pipe Length
  10. real :: SL = 90.0 ! Stand Length
  11. real :: LG = 8.0 ! Limit Gap
  12. real :: SG = 3.0 ! Slips Gap
  13. real :: TG = 4.0 ! Tong Gap
  14. real :: RE = 3.0 ! Release
  15. real :: ECG = 2.3 ! Elevator Connection Gap
  16. !Apparently Variables
  17. integer :: ElevatorConnection = 0
  18. integer :: StringUpdate = 0
  19. integer :: KellyConnection = 0
  20. end type OperationScenarioType
  21. enum, bind(c)
  22. enumerator STRING_UPDATE_NEUTRAL
  23. enumerator STRING_UPDATE_ADD_SINGLE
  24. enumerator STRING_UPDATE_ADD_STAND
  25. enumerator STRING_UPDATE_REMOVE_SINGLE
  26. enumerator STRING_UPDATE_REMOVE_STAND
  27. end enum
  28. enum, bind(c)
  29. enumerator KELLY_CONNECTION_NOTHING
  30. enumerator KELLY_CONNECTION_STRING
  31. enumerator KELLY_CONNECTION_SINGLE
  32. end enum
  33. enum, bind(c)
  34. enumerator ELEVATOR_CONNECTION_NOTHING
  35. enumerator ELEVATOR_CONNECTION_STRING
  36. enumerator ELEVATOR_CONNECTION_STAND
  37. enumerator ELEVATOR_CONNECTION_SINGLE
  38. enumerator ELEVATOR_LATCH_STRING
  39. enumerator ELEVATOR_LATCH_SINGLE
  40. enumerator ELEVATOR_LATCH_STAND
  41. end enum
  42. contains
  43. end module COperationScenariosVariables