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

Afficher le fichier Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Méthodes publiques

Свойство Type Description
Client Gurux.DLMS.Secure.GXDLMSSecureClient
Trace bool

Méthodes publiques

Méthode 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 méthode

public Close ( ) : void
Résultat void

GXCommunicatation() public méthode

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
Résultat System

GetAssociationView() public méthode

Read Association View from the meter.
public GetAssociationView ( ) : GXDLMSObjectCollection
Résultat GXDLMSObjectCollection

InitNet() public méthode

public InitNet ( ) : void
Résultat void

InitSerial() public méthode

public InitSerial ( ) : void
Résultat void

InitializeConnection() public méthode

public InitializeConnection ( GXManufacturer man ) : void
man Gurux.DLMS.ManufacturerSettings.GXManufacturer
Résultat void

Method() public méthode

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
Résultat void

Read() public méthode

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

ReadDLMSPacket() public méthode

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

ReadDataBlock() public méthode

public ReadDataBlock ( byte data, GXReplyData reply ) : bool
data byte
reply Gurux.DLMS.GXReplyData
Résultat bool

ReadDataBlock() public méthode

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

ReadList() public méthode

Read list of attributes.
public ReadList ( int>.List list ) : void
list int>.List
Résultat void

ReadRowsByEntry() public méthode

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
Résultat object[]

ReadRowsByRange() public méthode

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
Résultat object[]

UpdateImage() public méthode

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

UpdateManufactureSettings() public méthode

public UpdateManufactureSettings ( string id ) : void
id string
Résultat void

Write() public méthode

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

WriteTrace() public méthode

public WriteTrace ( string line ) : void
line string
Résultat void

Property Details

Client public_oe property

public GXDLMSSecureClient,Gurux.DLMS.Secure Client
Résultat Gurux.DLMS.Secure.GXDLMSSecureClient

Trace public_oe property

public bool Trace
Résultat bool