Simulation Core
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.1 KiB

  1. module CTdsPowerLedNotification
  2. use OperationScenariosModule
  3. use SimulationVariables
  4. implicit none
  5. contains
  6. subroutine Evaluate_PowerLed()
  7. use CCommon
  8. implicit none
  9. if (data%Configuration%Hoisting%DriveType == TopDrive_DriveType) then
  10. #ifdef OST
  11. if(print_log) print*, 'Evaluate_PowerLed=TopDrive'
  12. #endif
  13. !TOPDRIVE-CODE=63
  14. if (data%Equipments%TopDrivePanel%TopDriveTdsPowerState == TdsPower_OFF) then
  15. call Set_PowerLed(.true.)
  16. return
  17. end if
  18. endif
  19. if (data%Configuration%Hoisting%DriveType == Kelly_DriveType) then
  20. #ifdef OST
  21. if(print_log) print*, 'Evaluate_PowerLed=Kelly'
  22. #endif
  23. endif
  24. end subroutine
  25. ! subroutine Subscribe_PowerLed()
  26. ! implicit none
  27. ! end subroutine
  28. end module CTdsPowerLedNotification