C# 클래스 Gurux.DLMS.Client.Example.GXCommunicatation

파일 보기 프로젝트 열기: Gurux/Gurux.DLMS.Net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Client Gurux.DLMS.Secure.GXDLMSSecureClient
Trace bool

공개 메소드들

메소드 설명
Close ( ) : void
GXCommunicatation ( GXDLMSSecureClient dlms, IGXMedia media, bool initializeIEC, Authentication authentication, string password ) : System

Constructor.

GetAssociationView ( ) : GXDLMSObjectCollection

Read Association View from the meter.

InitNet ( ) : void
InitSerial ( ) : void
InitializeConnection ( GXManufacturer man ) : void
Method ( GXDLMSObject it, int attributeIndex, object value, DataType type ) : void

Method attribute value.

Read ( GXDLMSObject it, int attributeIndex ) : object

Read attribute value.

ReadDLMSPacket ( byte data, GXReplyData reply ) : void

Read DLMS Data from the device.

ReadDataBlock ( byte data, GXReplyData reply ) : bool
ReadDataBlock ( byte data, GXReplyData reply ) : void

Read data block from the device.

ReadList ( int>.List list ) : void

Read list of attributes.

ReadRowsByEntry ( Gurux.DLMS.Objects.GXDLMSProfileGeneric it, int index, int count ) : object[]

Read Profile Generic Columns by entry.

ReadRowsByRange ( Gurux.DLMS.Objects.GXDLMSProfileGeneric it, System.DateTime start, System.DateTime end ) : object[]

Read Profile Generic Columns by range.

UpdateImage ( GXDLMSImageTransfer target, byte data, string Identification ) : void
UpdateManufactureSettings ( string id ) : void
Write ( GXDLMSObject it, int attributeIndex ) : void

Write attribute value.

WriteTrace ( string line ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

GXCommunicatation() 공개 메소드

Constructor.
public GXCommunicatation ( GXDLMSSecureClient dlms, IGXMedia media, bool initializeIEC, Authentication authentication, string password ) : System
dlms Gurux.DLMS.Secure.GXDLMSSecureClient
media IGXMedia
initializeIEC bool
authentication Authentication
password string
리턴 System

GetAssociationView() 공개 메소드

Read Association View from the meter.
public GetAssociationView ( ) : GXDLMSObjectCollection
리턴 GXDLMSObjectCollection

InitNet() 공개 메소드

public InitNet ( ) : void
리턴 void

InitSerial() 공개 메소드

public InitSerial ( ) : void
리턴 void

InitializeConnection() 공개 메소드

public InitializeConnection ( GXManufacturer man ) : void
man Gurux.DLMS.ManufacturerSettings.GXManufacturer
리턴 void

Method() 공개 메소드

Method attribute value.
public Method ( GXDLMSObject it, int attributeIndex, object value, DataType type ) : void
it Gurux.DLMS.Objects.GXDLMSObject
attributeIndex int
value object
type DataType
리턴 void

Read() 공개 메소드

Read attribute value.
public Read ( GXDLMSObject it, int attributeIndex ) : object
it Gurux.DLMS.Objects.GXDLMSObject
attributeIndex int
리턴 object

ReadDLMSPacket() 공개 메소드

Read DLMS Data from the device.
public ReadDLMSPacket ( byte data, GXReplyData reply ) : void
data byte Data to send.
reply Gurux.DLMS.GXReplyData
리턴 void

ReadDataBlock() 공개 메소드

public ReadDataBlock ( byte data, GXReplyData reply ) : bool
data byte
reply Gurux.DLMS.GXReplyData
리턴 bool

ReadDataBlock() 공개 메소드

Read data block from the device.
public ReadDataBlock ( byte data, GXReplyData reply ) : void
data byte data to send
reply Gurux.DLMS.GXReplyData
리턴 void

ReadList() 공개 메소드

Read list of attributes.
public ReadList ( int>.List list ) : void
list int>.List
리턴 void

ReadRowsByEntry() 공개 메소드

Read Profile Generic Columns by entry.
public ReadRowsByEntry ( Gurux.DLMS.Objects.GXDLMSProfileGeneric it, int index, int count ) : object[]
it Gurux.DLMS.Objects.GXDLMSProfileGeneric
index int
count int
리턴 object[]

ReadRowsByRange() 공개 메소드

Read Profile Generic Columns by range.
public ReadRowsByRange ( Gurux.DLMS.Objects.GXDLMSProfileGeneric it, System.DateTime start, System.DateTime end ) : object[]
it Gurux.DLMS.Objects.GXDLMSProfileGeneric
start System.DateTime
end System.DateTime
리턴 object[]

UpdateImage() 공개 메소드

public UpdateImage ( GXDLMSImageTransfer target, byte data, string Identification ) : void
target Gurux.DLMS.Objects.GXDLMSImageTransfer
data byte
Identification string
리턴 void

UpdateManufactureSettings() 공개 메소드

public UpdateManufactureSettings ( string id ) : void
id string
리턴 void

Write() 공개 메소드

Write attribute value.
public Write ( GXDLMSObject it, int attributeIndex ) : void
it Gurux.DLMS.Objects.GXDLMSObject
attributeIndex int
리턴 void

WriteTrace() 공개 메소드

public WriteTrace ( string line ) : void
line string
리턴 void

프로퍼티 상세

Client 공개적으로 프로퍼티

public GXDLMSSecureClient,Gurux.DLMS.Secure Client
리턴 Gurux.DLMS.Secure.GXDLMSSecureClient

Trace 공개적으로 프로퍼티

public bool Trace
리턴 bool