C# Class Gurux.DLMS.Client.Example.GXCommunicatation

Datei anzeigen Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Public Properties

Property Type Description
Client Gurux.DLMS.Secure.GXDLMSSecureClient
Trace bool

Public Methods

Method Description
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

Method Details

Close() public method

public Close ( ) : void
return void

GXCommunicatation() public method

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
return System

GetAssociationView() public method

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

InitNet() public method

public InitNet ( ) : void
return void

InitSerial() public method

public InitSerial ( ) : void
return void

InitializeConnection() public method

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

Method() public 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
return void

Read() public method

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

ReadDLMSPacket() public method

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

ReadDataBlock() public method

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

ReadDataBlock() public method

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

ReadList() public method

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

ReadRowsByEntry() public method

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
return object[]

ReadRowsByRange() public method

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
return object[]

UpdateImage() public method

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

UpdateManufactureSettings() public method

public UpdateManufactureSettings ( string id ) : void
id string
return void

Write() public method

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

WriteTrace() public method

public WriteTrace ( string line ) : void
line string
return void

Property Details

Client public_oe property

public GXDLMSSecureClient,Gurux.DLMS.Secure Client
return Gurux.DLMS.Secure.GXDLMSSecureClient

Trace public_oe property

public bool Trace
return bool