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

53 行
1.3 KiB

  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(StandRack == v) return
  11. StandRack = v
  12. call OnStandRackChange%Run(v)
  13. #ifdef deb
  14. print*, 'StandRack=', StandRack
  15. #endif
  16. end subroutine
  17. subroutine SetStandRack_WN(v)
  18. !DEC$ ATTRIBUTES DLLEXPORT :: SetStandRack_WN
  19. !DEC$ ATTRIBUTES ALIAS: 'SetStandRack_WN' :: SetStandRack_WN
  20. implicit none
  21. integer, intent(in) :: v
  22. call SetStandRack(v)
  23. end subroutine
  24. ! Output routines
  25. logical function GetDrillWatchOperationMode()
  26. !DEC$ ATTRIBUTES DLLEXPORT :: GetDrillWatchOperationMode
  27. !DEC$ ATTRIBUTES ALIAS: 'GetDrillWatchOperationMode' :: GetDrillWatchOperationMode
  28. implicit none
  29. GetDrillWatchOperationMode = DrillWatchOperationMode
  30. end function
  31. integer function GetStandRack()
  32. implicit none
  33. GetStandRack = StandRack
  34. end function
  35. integer function GetStandRack_WN()
  36. !DEC$ ATTRIBUTES DLLEXPORT :: GetStandRack_WN
  37. !DEC$ ATTRIBUTES ALIAS: 'GetStandRack_WN' :: GetStandRack_WN
  38. implicit none
  39. GetStandRack_WN = StandRack
  40. end function
  41. end module CCommon