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.
 
 
 
 
 
 

72 lines
1.3 KiB

  1. module CTdsIbopLedNotification
  2. use COperationScenariosVariables
  3. implicit none
  4. contains
  5. subroutine Evaluate_IbopLed()
  6. use CCommon
  7. implicit none
  8. if (DriveType == TopDrive_DriveType) then
  9. #ifdef OST
  10. print*, 'Evaluate_IbopLed=TopDrive'
  11. #endif
  12. !TOPDRIVE-CODE=61
  13. if (Get_IbopLed() == .false. .and.&
  14. TopDriveTdsPowerState == TdsPower_OFF .and.&
  15. TopDriveIbop == .false.) then
  16. call Set_IbopLed(.true.)
  17. TopDriveLinkTiltLed = LED_OFF
  18. return
  19. end if
  20. !TOPDRIVE-CODE=62
  21. if (Get_IbopLed() .and.&
  22. TopDriveTdsPowerState == TdsPower_OFF .and.&
  23. TopDriveIbop) then
  24. call Set_IbopLed(.false.)
  25. TopDriveLinkTiltLed = LED_ON
  26. return
  27. end if
  28. endif
  29. ! if (DriveType == Kelly_DriveType) then
  30. !#ifdef OST
  31. ! print*, 'Evaluate_IbopLed=Kelly'
  32. !#endif
  33. !
  34. ! endif
  35. end subroutine
  36. ! subroutine Subscribe_IbopLed()
  37. ! implicit none
  38. ! end subroutine
  39. end module CTdsIbopLedNotification