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.
 
 
 
 
 
 

49 lines
977 B

  1. # 1 "/mnt/c/Projects/VSIM/SimulationCore2/CSharp/OperationScenarios/Notifications/CTdsPowerLedNotification.f90"
  2. module CTdsPowerLedNotification
  3. use OperationScenariosModule
  4. use SimulationVariables
  5. implicit none
  6. contains
  7. subroutine Evaluate_PowerLed()
  8. use CCommon
  9. implicit none
  10. if (data%Configuration%Hoisting%DriveType == TopDrive_DriveType) then
  11. # 15
  12. !TOPDRIVE-CODE=63
  13. if (data%Equipments%TopDrivePanel%TopDriveTdsPowerState == TdsPower_OFF) then
  14. call Set_PowerLed(.true.)
  15. return
  16. end if
  17. endif
  18. if (data%Configuration%Hoisting%DriveType == Kelly_DriveType) then
  19. # 35
  20. endif
  21. end subroutine
  22. ! subroutine Subscribe_PowerLed()
  23. ! implicit none
  24. ! end subroutine
  25. end module CTdsPowerLedNotification