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.

Drawworks_Outputs.f90 1.2 KiB

12345678910111213141516171819202122232425262728293031323334353637
  1. subroutine Drawworks_Outputs
  2. Use CSounds
  3. Use CHookVariables
  4. Use CWarningsVariables
  5. Use Drawworks_VARIABLES
  6. Use CDrillingConsoleVariables
  7. IMPLICIT NONE
  8. DrillingConsole%DWBLWR = Drawworks%BLWR
  9. Call SetSoundBlowerDW( Drawworks%SoundBlower ) !.true. or .false.
  10. Call SetSoundDwRev( Drawworks%SoundRev ) ![rpm] ??? or rad/s, Integer
  11. Call SetSoundDwFw( Drawworks%SoundFw ) ![rpm] , Integer
  12. Call SetSoundCrownCollision( Drawworks%SoundCrownCollision ) !.true. or .false.
  13. Call SetSoundFloorCollision( Drawworks%SoundFloorCollision ) !.true. or .false.
  14. if (Drawworks%CrownCollision==1) then
  15. Call Activate_CrownCollision()
  16. end if
  17. if (Drawworks%FloorCollision==1) then
  18. Call Activate_FloorCollision()
  19. end if
  20. Call Set_HookHeight( real(Drawworks%Hook_Height_final) ) ![ft]
  21. Drawworks%TDHookHeight = Drawworks%Hook_Height_final ![ft]
  22. !!Drawworks%HookHeight_graph_output
  23. !DrillingConsole%ParkingBrakeLed = 0 ! in Drawworks_Inputs
  24. end subroutine Drawworks_Outputs