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.
 
 
 
 
 
 

61 lines
1.9 KiB

  1. module CTdsElevatorModesEnumVariables
  2. ! use CVoidEventHandlerCollection
  3. implicit none
  4. type:: TdsElevatorModesEnumType
  5. integer :: TdsElevatorModes = 0
  6. ! type(VoidEventHandlerCollection) :: OnTdsElevatorModesChange
  7. end type TdsElevatorModesEnumType
  8. type(TdsElevatorModesEnumType)::TdsElevatorModesEnum
  9. enum, bind(c)
  10. enumerator TDS_ELEVATOR_CONNECTION_NOTHING
  11. enumerator TDS_ELEVATOR_CONNECTION_STRING
  12. enumerator TDS_ELEVATOR_CONNECTION_SINGLE
  13. enumerator TDS_ELEVATOR_CONNECTION_STAND
  14. enumerator TDS_ELEVATOR_LATCH_STRING
  15. enumerator TDS_ELEVATOR_LATCH_SINGLE
  16. enumerator TDS_ELEVATOR_LATCH_STAND
  17. end enum
  18. ! private :: TdsElevatorModesEnum%TdsElevatorModes
  19. contains
  20. subroutine Set_TdsElevatorModes(v)
  21. implicit none
  22. integer , intent(in) :: v
  23. #ifdef ExcludeExtraChanges
  24. if(TdsElevatorModesEnum%TdsElevatorModes == v) return
  25. #endif
  26. TdsElevatorModesEnum%TdsElevatorModes = v
  27. !**call TdsElevatorModesEnum%OnTdsElevatorModesChange%RunAll()
  28. end subroutine
  29. integer function Get_TdsElevatorModes()
  30. implicit none
  31. Get_TdsElevatorModes = TdsElevatorModesEnum%TdsElevatorModes
  32. end function
  33. subroutine Set_TdsElevatorModes_WN(v)
  34. !DEC$ ATTRIBUTES DLLEXPORT :: Set_TdsElevatorModes_WN
  35. !DEC$ ATTRIBUTES ALIAS: 'Set_TdsElevatorModes_WN' :: Set_TdsElevatorModes_WN
  36. implicit none
  37. integer , intent(in) :: v
  38. call Set_TdsElevatorModes(v)
  39. end subroutine
  40. integer function Get_TdsElevatorModes_WN()
  41. !DEC$ ATTRIBUTES DLLEXPORT :: Get_TdsElevatorModes_WN
  42. !DEC$ ATTRIBUTES ALIAS: 'Get_TdsElevatorModes_WN' :: Get_TdsElevatorModes_WN
  43. implicit none
  44. Get_TdsElevatorModes_WN = TdsElevatorModesEnum%TdsElevatorModes
  45. end function
  46. end module CTdsElevatorModesEnumVariables