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.3 KiB

1 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. #ifdef OST
  10. print*, 'Evaluate_FillupHeadPermission=TopDrive'
  11. #endif
  12. !TOPDRIVE-CODE=66
  13. if (Get_NearFloorConnection() >= 3 .and. Get_NearFloorConnection() <= 10 .and.&
  14. Get_TdsElevatorModes() == TDS_ELEVATOR_CONNECTION_NOTHING .and.&
  15. Get_TdsConnectionModes() == TDS_CONNECTION_NOTHING) then
  16. call Set_FillupHeadPermission(.true.)
  17. return
  18. end if
  19. call Set_FillupHeadPermission(.false.)
  20. endif
  21. ! if (DriveType == Kelly_DriveType) then
  22. !#ifdef OST
  23. ! print*, 'Evaluate_FillupHeadPermission=Kelly'
  24. !#endif
  25. ! endif
  26. end subroutine
  27. subroutine Subscribe_FillupHeadPermission()
  28. implicit none
  29. end subroutine
  30. end module CFillupHeadPermission