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.
 
 
 
 
 
 

88 lines
2.1 KiB

  1. module CBopControlPanel
  2. ! use CBopControlPanel
  3. use SimulationVariables
  4. implicit none
  5. public
  6. contains
  7. ! subroutine BopControlPanelToJson(parent)
  8. ! end subroutine
  9. subroutine OpenAnnular()
  10. use CManifolds
  11. implicit none
  12. call ChangeValve(52, .true.)
  13. end subroutine
  14. subroutine CloseAnnular()
  15. use CManifolds
  16. implicit none
  17. call ChangeValve(52, .false.)
  18. end subroutine
  19. subroutine OpenUpperRams()
  20. use CManifolds
  21. implicit none
  22. call ChangeValve(51, .true.)
  23. end subroutine
  24. subroutine CloseUpperRams()
  25. use CManifolds
  26. implicit none
  27. call ChangeValve(51, .false.)
  28. end subroutine
  29. subroutine OpenMiddleRams()
  30. use CManifolds
  31. implicit none
  32. call ToggleMiddleRams(.true.)
  33. end subroutine
  34. subroutine CloseMiddleRams()
  35. use CManifolds
  36. implicit none
  37. call ToggleMiddleRams(.false.)
  38. end subroutine
  39. subroutine OpenKillLine()
  40. use CManifolds
  41. implicit none
  42. call ChangeValve(46, .true.)
  43. end subroutine
  44. subroutine CloseKillLine()
  45. use CManifolds
  46. implicit none
  47. call ChangeValve(46, .false.)
  48. end subroutine
  49. subroutine OpenChokeLine()
  50. use CManifolds
  51. implicit none
  52. call ChangeValve(47, .true.)
  53. !WRITE (*,*) ' valve 47 true '
  54. end subroutine
  55. subroutine CloseChokeLine()
  56. use CManifolds
  57. implicit none
  58. call ChangeValve(47, .false.)
  59. !WRITE (*,*) ' valve 47 false '
  60. end subroutine
  61. subroutine OpenLowerRams()
  62. use CManifolds
  63. implicit none
  64. call ChangeValve(49, .true.)
  65. !WRITE (*,*) ' valve 49 true '
  66. end subroutine
  67. subroutine CloseLowerRams()
  68. use CManifolds
  69. implicit none
  70. call ChangeValve(49, .false.)
  71. !WRITE (*,*) ' valve 49 false '
  72. end subroutine
  73. end module CBopControlPanel