Simulation Core
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

47 wiersze
1.5 KiB

  1. module CHoistingProblems
  2. use CHoistingProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetMotorFail(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetMotorFail
  9. !DEC$ ATTRIBUTES ALIAS: 'SetMotorFail' :: SetMotorFail
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. MotorFail = SetDue(v, ChangeMotorFail)
  13. #ifdef deb
  14. print*, 'MotorFail%ProblemType=', MotorFail%ProblemType
  15. print*, 'MotorFail%StatusType=', MotorFail%StatusType
  16. print*, 'MotorFail%Value=', MotorFail%Value
  17. #endif
  18. end subroutine
  19. subroutine SetClutchEngage(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetClutchEngage
  21. !DEC$ ATTRIBUTES ALIAS: 'SetClutchEngage' :: SetClutchEngage
  22. implicit none
  23. type(CProblem), intent(in) :: v
  24. ClutchEngage = SetDue(v, ChangeClutchEngage)
  25. #ifdef deb
  26. print*, 'ClutchEngage%ProblemType=', ClutchEngage%ProblemType
  27. print*, 'ClutchEngage%StatusType=', ClutchEngage%StatusType
  28. print*, 'ClutchEngage%Value=', ClutchEngage%Value
  29. #endif
  30. end subroutine
  31. subroutine SetClutchDisengage(v)
  32. !DEC$ ATTRIBUTES DLLEXPORT :: SetClutchDisengage
  33. !DEC$ ATTRIBUTES ALIAS: 'SetClutchDisengage' :: SetClutchDisengage
  34. implicit none
  35. type(CProblem), intent(in) :: v
  36. ClutchDisengage = SetDue(v, ChangeClutchDisengage)
  37. #ifdef deb
  38. print*, 'ClutchDisengage%ProblemType=', ClutchDisengage%ProblemType
  39. print*, 'ClutchDisengage%StatusType=', ClutchDisengage%StatusType
  40. print*, 'ClutchDisengage%Value=', ClutchDisengage%Value
  41. #endif
  42. end subroutine
  43. end module CHoistingProblems