﻿# COMインターフェイスの方法

> [HTML Version](methods-in-com-interface.html)

サーバーは、計算モジュールの作成に使用できるインターフェイス MesysCOM を提供します。使用可能なメソッドは次のとおりです。:

- void setLanguage(\[in\] BSTR p\_lang);  
Pass language as two characters ("de", "en", "fr", "es", "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は、ユーザーインターフェースを備えた計算モジュールです。

