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.
 
 
 
 
 
 

42 lines
1.1 KiB

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