Simulation Core
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

49 satır
1.2 KiB

  1. subroutine DrillingConsole_ScrLEDs
  2. USE CDrillingConsoleVariables
  3. USE RTable_VARIABLES
  4. IMPLICIT NONE
  5. !===> Torque Limit
  6. DrillingConsole%RTTorqueLimitGauge = sngl(1-RTable%TorqueLimitGaugeMalf)*(DrillingConsole%RTTorqueLimitKnob/10.d0)*7000.d0 !tabdile bazeye 0-10 be 0-7000 taghribi anjam shode, baadan eslah shavad ??????
  7. if((any(DrillingConsole%AssignmentSwitch==(/1,2,3,4,8,9,10,11/)))) then
  8. DrillingConsole%SCR1LED=1
  9. DrillingConsole%SCR2LED=1
  10. DrillingConsole%SCR3LED=1
  11. DrillingConsole%SCR4LED=1
  12. else if (DrillingConsole%AssignmentSwitch == 5) then
  13. DrillingConsole%SCR1LED=1
  14. DrillingConsole%SCR2LED=1
  15. DrillingConsole%SCR3LED=0
  16. DrillingConsole%SCR4LED=1
  17. else if (DrillingConsole%AssignmentSwitch == 7) then
  18. DrillingConsole%SCR1LED=1
  19. DrillingConsole%SCR2LED=1
  20. DrillingConsole%SCR3LED=1
  21. DrillingConsole%SCR4LED=0
  22. else
  23. DrillingConsole%SCR1LED=0
  24. DrillingConsole%SCR2LED=0
  25. DrillingConsole%SCR3LED=0
  26. DrillingConsole%SCR4LED=0
  27. end if
  28. end subroutine DrillingConsole_ScrLEDs