OHyMoS.NET Class Library

OhPort.DataType プロパティ

データの型を取得します。

抽象メソッドです。

Gets data Type.

Abstract method.

public abstract string DataType {get;}

解説

このメソッドの実装は、 OhSendDouble, OhInputFileDouble, OhRelayDouble, OhReceiveDouble, OhOutputFileDouble で与えることにします。 int, long, float についても同様です。 例えば、受信データが int なら "int" を返すように定義します。

This method gets string DataType which shows the type of datapacks treated by the port.

Because this method is declared as abstract, in a derived class of class OhPort the definition of this method must be given by a programmer.

参照

OhPort クラス | OhymosNet 名前空間