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.

CDrillingConsoleVariables.i90 3.2 KiB

1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # 1 "/mnt/c/Projects/VSIM/SimulationCore2/CSharp/Equipments/ControlPanels/CDrillingConsoleVariables.f90"
  2. module CDrillingConsoleVariables
  3. ! use CVoidEventHandlerCollection
  4. implicit none
  5. public
  6. TYPE, PUBLIC :: DrillingConsoleType
  7. ! Input vars
  8. integer :: AssignmentSwitch
  9. logical :: EmergencySwitch
  10. real(8) :: RTTorqueLimitKnob
  11. integer :: MP1CPSwitchI = 0 !for not turning on pump1 on simulation start
  12. integer :: MP1CPSwitchT !for not turning on pump1 on simulation start
  13. integer :: MP1CPSwitch
  14. logical :: MP1ThrottleUpdate = .false.
  15. real(8) :: MP1Throttle = -1.0
  16. integer :: MP2SwitchI = 0 !for not turning on pump2 on simulation start
  17. logical :: MP2SwitchT !for not turning on pump2 on simulation start
  18. logical :: MP2Switch
  19. logical :: MP2ThrottleUpdate = .false.
  20. real(8) :: MP2Throttle = -1.0
  21. integer :: DWSwitch
  22. real(8) :: DWThrottle
  23. integer :: RTSwitch
  24. real(8) :: RTThrottle
  25. real(8) :: DWBreak
  26. real(8) :: PreviousDWBreak
  27. logical :: ForceBreak = .false.
  28. real(8) :: DWAcceleretor
  29. real(8) :: DWTransmisionLever
  30. real(8) :: DWPowerLever
  31. real(8) :: TongLever
  32. real(8) :: RTTransmissionLever
  33. real(8) :: DWClutchLever
  34. real(8) :: EddyBreakLever
  35. logical :: AutoDW
  36. logical :: GEN1
  37. logical :: GEN2
  38. logical :: GEN3
  39. logical :: GEN4
  40. logical :: Permission_OpenKellyCock = .false.
  41. logical :: OpenKellyCock
  42. logical :: Permission_CloseKellyCock = .false.
  43. logical :: CloseKellyCock
  44. logical :: Permission_OpenSafetyValve = .false.
  45. logical :: OpenSafetyValve
  46. logical :: Permission_CloseSafetyValve = .false.
  47. logical :: CloseSafetyValve
  48. logical :: Permission_IRSafetyValve = .false.
  49. logical :: IRSafetyValve
  50. logical :: Permission_IRIBop = .false.
  51. logical :: IRIBop
  52. logical :: LatchPipe
  53. logical :: UnlatchPipe
  54. logical :: Swing
  55. logical :: FillMouseHole
  56. logical :: Slips
  57. real :: BrakeLeverCoefficient
  58. logical :: HideDrillingBrake
  59. logical :: ParkingBrakeBtn
  60. ! Output vars
  61. logical :: ParkingBrakeLed
  62. integer :: GEN1LED
  63. integer :: GEN2LED
  64. integer :: GEN3LED
  65. integer :: GEN4LED
  66. integer :: SCR1LED
  67. integer :: SCR2LED
  68. integer :: SCR3LED
  69. integer :: SCR4LED
  70. integer :: MP1BLWR
  71. integer :: MP2BLWR
  72. integer :: DWBLWR
  73. integer :: RTBLWR
  74. integer :: PWRLIM
  75. real(8) :: PWRLIMMTR
  76. real(8) :: RTTorqueLimitGauge
  77. integer :: AutoDWLED
  78. integer :: GEN1BTNLED
  79. integer :: GEN2BTNLED
  80. integer :: GEN3BTNLED
  81. integer :: GEN4BTNLED
  82. integer :: OpenKellyCockLed
  83. integer :: CloseKellyCockLed
  84. integer :: OpenSafetyValveLed
  85. integer :: CloseSafetyValveLed
  86. integer :: IRSafetyValveLed
  87. integer :: IRIBopLed
  88. integer :: LatchPipeLED
  89. integer :: UnlatchPipeLED
  90. integer :: SwingLed
  91. integer :: FillMouseHoleLed
  92. END TYPE DrillingConsoleType
  93. end module CDrillingConsoleVariables