﻿# COM 인터페이스 방법

> [HTML Version](methods-in-com-interface.html)

서버는 연산 모듈을 생성하는 데 사용할 수 있는 인터페이스 MesysCOM을 제공합니다. 사용 가능한 메서드는 다음과 같습니다:

- void setLanguage(\[in\] BSTR p\_lang);  
Pass language as two characters ("de", "en", "fr", "es", "it", "tr", "ko", "zh", "ja")

- int getVersion();  
Returns version in format yyyymm.

- MesysRBC\* createRBC();  
Create bearing calculation module without user interface.

- MesysSHAFT\* createSHAFT();  
Create shaft calculation module without user interface.

- MesysHERTZ\* createHERTZ();  
Create Hertz stress calculation module without user interface.

- MesysBALLSCREW\* createBALLSCREW();  
Create ball screw calculation module without user interface.

- MesysCYLGEARPAIR\* createCYLGEARPAIR();  
Create cylindrical gear pair calculation module without user interface.

- MesysSINGLEGEAR\* createSINGLEGEAR();  
Create single cylindrical gear calculation module without user interface.

- MesysGUIRBC\* createGUIRBC();  
Create bearing calculation module with user interface.

- MesysGUIHERTZ\* createGUIHERTZ();  
Create hertz stress calculation module with user interface.

- MesysGUISHAFT\* createGUISHAFT();  
Create shaft calculation module with user interface.

- MesysGUIBALLSCREW\* createGUIBALLSCREW();  
Create ball screw calculation module with user interface.

- MesysGUICYLGEARPAIR\* createGUICYLGEARPAIR();  
Create cylindrical gear pair calculation module with user interface.

- MesysGUISINGLEGEAR\* createGUISINGLEGEAR();  
Create single cylindrical gear calculation module with user interface.



MesysRBC, MesysSHAFT 등의 GUI가 없는 인터페이스는 사용자 인터페이스 없이 계산 모듈을 생성합니다. 반면 MesysGUIRBC, MesysGUISHAFT는 사용자 인터페이스를 포함한 계산 모듈입니다.

