C# 클래스 Gurux.DLMS.GXDLMSBuilder

This class is used to build custom DLMS content.
파일 보기 프로젝트 열기: Gurux/Gurux.DLMS.Net

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
GXDLMSBuilder ( ) : System

Constructor.

SetObjectCount ( int count, GXByteBuffer data ) : void

Set item count.

메소드 상세

GetObjectCount() 공개 정적인 메소드

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.
리턴 int

SetData() 공개 정적인 메소드

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. ///
리턴 void