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.
 
 
 
 
 
 

69 lines
1.6 KiB

  1. module CKellyEnum
  2. use OperationScenariosModule
  3. implicit none
  4. contains
  5. subroutine Evaluate_Kelly()
  6. !use UnitySignalsModule
  7. implicit none
  8. ! if (DriveType == TopDrive_DriveType) then
  9. !#ifdef OST
  10. ! if(print_log) print*, 'Evaluate_Kelly=TopDrive'
  11. !#endif
  12. ! endif
  13. !
  14. !
  15. !
  16. !
  17. !
  18. ! if (DriveType == Kelly_DriveType) then
  19. !#ifdef OST
  20. ! if(print_log) print*, 'Evaluate_Kelly=Kelly'
  21. !#endif
  22. ! endif
  23. ! if(OperationCondition == OPERATION_DRILL) then
  24. ! call Set_Kelly(INSTALL_KELLY)
  25. !#ifdef deb
  26. ! if(print_log) print*, 'KELLY=INSTALL_KELLY'
  27. !#endif
  28. ! endif
  29. ! if(OperationCondition == OPERATION_TRIP) then
  30. ! call Set_Kelly(KELLY_BACK)
  31. !#ifdef deb
  32. ! if(print_log) print*, 'KELLY=KELLY_BACK'
  33. !#endif
  34. ! endif
  35. end subroutine
  36. subroutine Subscribe_Kelly()
  37. implicit none
  38. !call OnOperationConditionChangeInt%Add(On_OperationCondition)
  39. end subroutine
  40. !
  41. ! subroutine On_OperationCondition(v)
  42. ! implicit none
  43. ! integer , intent(in) :: v
  44. ! if(v == OPERATION_DRILL) then
  45. ! call Set_Kelly(KELLY_INSTALL)
  46. !#ifdef deb
  47. ! if(print_log) print*, 'KELLY=INSTALL_KELLY'
  48. !#endif
  49. ! endif
  50. ! if(v == OPERATION_TRIP) then
  51. ! call Set_Kelly(KELLY_REMOVE)
  52. !#ifdef deb
  53. ! if(print_log) print*, 'KELLY=KELLY_BACK'
  54. !#endif
  55. ! endif
  56. !
  57. ! end subroutine
  58. end module CKellyEnum