Simulation Core
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

CInstallFillupHeadPermission.f90 2.2 KiB

há 1 ano
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. module CInstallFillupHeadPermission
  2. use OperationScenariosModule
  3. implicit none
  4. contains
  5. subroutine Evaluate_InstallFillupHeadPermission()
  6. use TD_DrillStemComponents
  7. implicit none
  8. if (data%Configuration%Hoisting%DriveType == TopDrive_DriveType) then
  9. #ifdef OST
  10. print*, 'Evaluate_InstallFillupHeadPermission=TopDrive'
  11. #endif
  12. endif
  13. if (data%Configuration%Hoisting%DriveType == Kelly_DriveType) then
  14. #ifdef OST
  15. print*, 'Evaluate_InstallFillupHeadPermission=Kelly'
  16. #endif
  17. !!OPERATION-CODE=69
  18. !if (Get_OperationCondition() == OPERATION_DRILL .and.&
  19. ! Get_NearFloorConnection() >= 3.0 .and. Get_NearFloorConnection() <= 6.0 .and.&
  20. ! Get_JointConnectionPossible() == .false. .and.&
  21. ! Get_KellyConnection() /= KELLY_CONNECTION_STRING .and.&
  22. ! Get_Slips() == SLIPS_SET_END) then
  23. !
  24. ! call Set_InstallFillupHeadPermission(.true.)
  25. ! return
  26. !end if
  27. !OPERATION-CODE=70
  28. if (Get_OperationCondition() == OPERATION_TRIP .and.&
  29. data%State%TD_String%TopJointHeight >= 3.0 .and. data%State%TD_String%TopJointHeight <= 9.0 .and.&
  30. Get_JointConnectionPossible() == .false. .and.&
  31. !Get_ElevatorConnectionPossible() == .false. .and.&
  32. !Get_ElevatorConnection() /= ELEVATOR_CONNECTION_STRING .and.&
  33. Get_ElevatorConnection() == ELEVATOR_CONNECTION_NOTHING) then
  34. call Set_InstallFillupHeadPermission(.true.)
  35. return
  36. end if
  37. call Set_InstallFillupHeadPermission(.false.)
  38. endif
  39. end subroutine
  40. subroutine Subscribe_InstallFillupHeadPermission()
  41. implicit none
  42. ! imp me...
  43. end subroutine
  44. end module CInstallFillupHeadPermission