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.

CTdsPowerLedNotification.f90 929 B

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