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.
 
 
 
 
 
 

73 regels
1.6 KiB

  1. # 1 "/mnt/c/Projects/VSIM/SimulationCore2/CSharp/OperationScenarios/Notifications/CTdsIbopLedNotification.f90"
  2. module CTdsIbopLedNotification
  3. use OperationScenariosModule
  4. implicit none
  5. contains
  6. subroutine Evaluate_IbopLed()
  7. use CCommon
  8. implicit none
  9. if (data%Configuration%Hoisting%DriveType == TopDrive_DriveType) then
  10. # 14
  11. !TOPDRIVE-CODE=61
  12. if (Get_IbopLed() == .false. .and.&
  13. data%Equipments%TopDrivePanel%TopDriveTdsPowerState == TdsPower_OFF .and.&
  14. data%Equipments%TopDrivePanel%TopDriveIbop == .false.) then
  15. call Set_IbopLed(.true.)
  16. data%Equipments%TopDrivePanel%TopDriveLinkTiltLed = LED_OFF
  17. return
  18. end if
  19. !TOPDRIVE-CODE=62
  20. if (Get_IbopLed() .and.&
  21. data%Equipments%TopDrivePanel%TopDriveTdsPowerState == TdsPower_OFF .and.&
  22. data%Equipments%TopDrivePanel%TopDriveIbop) then
  23. call Set_IbopLed(.false.)
  24. data%Equipments%TopDrivePanel%TopDriveLinkTiltLed = LED_ON
  25. return
  26. end if
  27. endif
  28. ! if (DriveType == Kelly_DriveType) then
  29. !#ifdef OST
  30. ! if(print_log) print*, 'Evaluate_IbopLed=Kelly'
  31. !#endif
  32. !
  33. ! endif
  34. end subroutine
  35. ! subroutine Subscribe_IbopLed()
  36. ! implicit none
  37. ! end subroutine
  38. end module CTdsIbopLedNotification