Simulation Core
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CCommon.f90 1.4 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. module CCommon
  2. use CCommonVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetStandRack(v)
  8. implicit none
  9. integer, intent(in) :: v
  10. if(Common%StandRack == v) return
  11. Common%StandRack = v
  12. ! call Common%OnStandRackChange%Run(v)
  13. end subroutine
  14. integer function GetStandRack()
  15. implicit none
  16. GetStandRack = Common%StandRack
  17. end function
  18. ! subroutine SetStandRack_WN(v)
  19. ! !DEC$ ATTRIBUTES DLLEXPORT :: SetStandRack_WN
  20. ! !DEC$ ATTRIBUTES ALIAS: 'SetStandRack_WN' :: SetStandRack_WN
  21. ! implicit none
  22. ! integer, intent(in) :: v
  23. ! call SetStandRack(v)
  24. ! end subroutine
  25. ! ! Output routines
  26. ! logical function GetDrillWatchOperationMode()
  27. ! !DEC$ ATTRIBUTES DLLEXPORT :: GetDrillWatchOperationMode
  28. ! !DEC$ ATTRIBUTES ALIAS: 'GetDrillWatchOperationMode' :: GetDrillWatchOperationMode
  29. ! implicit none
  30. ! GetDrillWatchOperationMode = Common%DrillWatchOperationMode
  31. ! end function
  32. ! integer function GetStandRack_WN()
  33. ! !DEC$ ATTRIBUTES DLLEXPORT :: GetStandRack_WN
  34. ! !DEC$ ATTRIBUTES ALIAS: 'GetStandRack_WN' :: GetStandRack_WN
  35. ! implicit none
  36. ! GetStandRack_WN = Common%StandRack
  37. ! end function
  38. end module CCommon