Simulation Core
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

170 行
4.5 KiB

  1. # 1 "/home/admin/SimulationCore2/CSharp/OperationScenarios/Permissions/Permissions.f90"
  2. module PermissionsModule
  3. use SimulationVariables
  4. implicit none
  5. contains
  6. subroutine Set_SwingTiltPermission(v)
  7. implicit none
  8. logical , intent(in) :: v
  9. # 11
  10. data%State%permissions%SwingTiltPermission = v
  11. # 15
  12. !**call data%State%permissions%OnSwingTiltPermissionChange%RunAll()
  13. end subroutine
  14. logical function Get_SwingTiltPermission()
  15. implicit none
  16. Get_SwingTiltPermission = data%State%permissions%SwingTiltPermission
  17. end function
  18. subroutine Set_SwingOffPermission(v)
  19. implicit none
  20. logical , intent(in) :: v
  21. # 29
  22. data%State%permissions%SwingOffPermission = v
  23. # 33
  24. !**call data%State%permissions%OnSwingOffPermissionChange%RunAll()
  25. end subroutine
  26. logical function Get_SwingOffPermission()
  27. implicit none
  28. Get_SwingOffPermission = data%State%permissions%SwingOffPermission
  29. end function
  30. subroutine Set_SwingDrillPermission(v)
  31. implicit none
  32. logical , intent(in) :: v
  33. # 47
  34. data%State%permissions%SwingDrillPermission = v
  35. # 51
  36. !**call data%State%permissions%OnSwingDrillPermissionChange%RunAll()
  37. end subroutine
  38. logical function Get_SwingDrillPermission()
  39. implicit none
  40. Get_SwingDrillPermission = data%State%permissions%SwingDrillPermission
  41. end function
  42. subroutine Set_RemoveMudBucketPermission(v)
  43. implicit none
  44. logical , intent(in) :: v
  45. # 65
  46. data%State%permissions%RemoveMudBucketPermission = v
  47. # 69
  48. !**call data%State%permissions%OnRemoveMudBucketPermissionChange%RunAll()
  49. end subroutine
  50. logical function Get_RemoveMudBucketPermission()
  51. implicit none
  52. Get_RemoveMudBucketPermission = data%State%permissions%RemoveMudBucketPermission
  53. end function
  54. subroutine Set_RemoveFillupHeadPermission(v)
  55. implicit none
  56. logical , intent(in) :: v
  57. # 84
  58. data%State%permissions%RemoveFillupHeadPermission = v
  59. # 88
  60. !**call data%State%permissions%OnRemoveFillupHeadPermissionChange%RunAll()
  61. end subroutine
  62. logical function Get_RemoveFillupHeadPermission()
  63. implicit none
  64. Get_RemoveFillupHeadPermission = data%State%permissions%RemoveFillupHeadPermission
  65. end function
  66. subroutine Set_IrSafetyValvePermission(v)
  67. implicit none
  68. logical , intent(in) :: v
  69. # 102
  70. data%State%permissions%IrSafetyValvePermission = v
  71. # 106
  72. !**call data%State%permissions%OnIrSafetyValvePermissionChange%RunAll()
  73. end subroutine
  74. logical function Get_IrSafetyValvePermission()
  75. implicit none
  76. Get_IrSafetyValvePermission = data%State%permissions%IrSafetyValvePermission
  77. end function
  78. subroutine Set_IrIbopPermission(v)
  79. implicit none
  80. logical , intent(in) :: v
  81. # 120
  82. data%State%permissions%IrIbopPermission = v
  83. # 124
  84. !**call data%State%permissions%OnIrIbopPermissionChange%RunAll()
  85. end subroutine
  86. logical function Get_IrIbopPermission()
  87. implicit none
  88. Get_IrIbopPermission = data%State%permissions%IrIbopPermission
  89. end function
  90. subroutine Set_InstallMudBucketPermission(v)
  91. implicit none
  92. logical , intent(in) :: v
  93. # 139
  94. data%State%permissions%InstallMudBucketPermission = v
  95. # 143
  96. !**call data%State%permissions%OnInstallMudBucketPermissionChange%RunAll()
  97. end subroutine
  98. logical function Get_InstallMudBucketPermission()
  99. implicit none
  100. Get_InstallMudBucketPermission = data%State%permissions%InstallMudBucketPermission
  101. end function
  102. subroutine Set_InstallFillupHeadPermission(v)
  103. implicit none
  104. logical , intent(in) :: v
  105. # 157
  106. data%State%permissions%InstallFillupHeadPermission = v
  107. # 161
  108. !**call data%State%permissions%OnInstallFillupHeadPermissionChange%RunAll()
  109. end subroutine
  110. logical function Get_InstallFillupHeadPermission()
  111. implicit none
  112. Get_InstallFillupHeadPermission = data%State%permissions%InstallFillupHeadPermission
  113. end function
  114. subroutine Set_FillupHeadPermission(v)
  115. implicit none
  116. logical , intent(in) :: v
  117. # 175
  118. data%State%permissions%FillupHeadPermission = v
  119. # 179
  120. !**call data%State%permissions%OnFillupHeadPermissionChange%RunAll()
  121. end subroutine
  122. logical function Get_FillupHeadPermission()
  123. implicit none
  124. Get_FillupHeadPermission = data%State%permissions%FillupHeadPermission
  125. end function
  126. end module PermissionsModule