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.

CFillupHeadPermission.f90 1.2 KiB

1 year ago
1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. module CFillupHeadPermission
  2. use COperationScenariosVariables
  3. implicit none
  4. contains
  5. subroutine Evaluate_FillupHeadPermission()
  6. implicit none
  7. if (Hoisting%DriveType == TopDrive_DriveType) then
  8. #ifdef OST
  9. print*, 'Evaluate_FillupHeadPermission=TopDrive'
  10. #endif
  11. !TOPDRIVE-CODE=66
  12. if (Get_NearFloorConnection() >= 3 .and. Get_NearFloorConnection() <= 10 .and.&
  13. Get_TdsElevatorModes() == TDS_ELEVATOR_CONNECTION_NOTHING .and.&
  14. Get_TdsConnectionModes() == TDS_CONNECTION_NOTHING) then
  15. call Set_FillupHeadPermission(.true.)
  16. return
  17. end if
  18. call Set_FillupHeadPermission(.false.)
  19. endif
  20. ! if (DriveType == Kelly_DriveType) then
  21. !#ifdef OST
  22. ! print*, 'Evaluate_FillupHeadPermission=Kelly'
  23. !#endif
  24. ! endif
  25. end subroutine
  26. subroutine Subscribe_FillupHeadPermission()
  27. implicit none
  28. end subroutine
  29. end module CFillupHeadPermission