C# Class Gurux.DLMS.GXDLMSBuilder

This class is used to build custom DLMS content.
Afficher le fichier Open project: Gurux/Gurux.DLMS.Net

Méthodes publiques

Méthode Description
GetObjectCount ( GXByteBuffer data ) : int

Get object count. If first byte is 0x80 or higger it will tell bytes count.

SetData ( GXByteBuffer buff, DataType type, object value ) : void

Convert object to DLMS bytes.

Private Methods

Méthode Description
GXDLMSBuilder ( ) : System

Constructor.

SetObjectCount ( int count, GXByteBuffer data ) : void

Set item count.

Method Details

GetObjectCount() public static méthode

Get object count. If first byte is 0x80 or higger it will tell bytes count.
public static GetObjectCount ( GXByteBuffer data ) : int
data GXByteBuffer Received data.
Résultat int

SetData() public static méthode

Convert object to DLMS bytes.
public static SetData ( GXByteBuffer buff, DataType type, object value ) : void
buff GXByteBuffer ///Byte buffer where data is write. ///
type DataType
value object /// Added Value. ///
Résultat void