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.

CTdsSpineEnum.i90 1.8 KiB

1 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # 1 "/mnt/c/Projects/VSIM/SimulationCore2/CSharp/OperationScenarios/UnitySignals/CTdsSpineEnum.f90"
  2. module CTdsSpineEnum
  3. use OperationScenariosModule
  4. use UnitySignalsModule !for CTdsConnectionModesEnum, only:Get_TdsConnectionModes
  5. implicit none
  6. contains
  7. subroutine Evaluate_TdsSpine()
  8. implicit none
  9. if (data%Configuration%Hoisting%DriveType == TopDrive_DriveType) then
  10. # 13
  11. !TOPDRIVE-CODE=83
  12. if (Get_TdsStemIn() .and.&
  13. Get_TdsConnectionModes() == TDS_CONNECTION_NOTHING .and.&
  14. !Get_TdsConnectionPossible() .and.&
  15. data%Equipments%TopDrivePanel%TopDriveTdsPowerState == TdsPower_FWD .and.&
  16. data%Equipments%TopDrivePanel%TopDriveDrillTorqueState == TdsMu_SPINE) then
  17. call Set_TdsSpine(TDS_SPINE_CONNECT_BEGIN)
  18. return
  19. end if
  20. !TOPDRIVE-CODE=84
  21. if (Get_TdsStemIn() .and.&
  22. Get_TdsTong() == TDS_TONG_BREAKOUT_END .and.&
  23. Get_TdsConnectionModes() == TDS_CONNECTION_SPINE .and.&
  24. data%Equipments%TopDrivePanel%TopDriveTdsPowerState == TdsPower_REV .and.&
  25. data%Equipments%TopDrivePanel%TopDriveDrillTorqueState == TdsMu_SPINE) then
  26. call Set_TdsSpine(TDS_SPINE_DISCONNECT_BEGIN)
  27. return
  28. end if
  29. endif
  30. if (data%Configuration%Hoisting%DriveType == Kelly_DriveType) then
  31. # 52
  32. endif
  33. end subroutine
  34. subroutine Subscribe_TdsSpine()
  35. use CDrillingConsoleVariables
  36. use SimulationVariables
  37. use SimulationVariables
  38. implicit none
  39. end subroutine
  40. end module CTdsSpineEnum