C# Class Gurux.DLMS.Objects.GXDLMSObject

GXDLMSObject provides an interface to DLMS registers.
Inheritance: IGXDLMSColumnObject
Afficher le fichier Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Private Properties

Свойство Type Description
ClearDirty void
GetDirty bool
GetDirtyAttributeIndexes int[]
SetLastReadTime void
ToLogicalName string
UpdateDirty void

Méthodes publiques

Méthode Description
CanRead ( int index ) : bool

Is attribute of the object readable.

Clone ( ) : GXDLMSObject
GXDLMSObject ( ) : System

Constructor.

GetAccess ( int index ) : AccessMode

Returns is attribute read only.

GetDataType ( int index ) : DataType

Returns device data type of selected attribute index.

GetLastReadTime ( int attributeIndex ) : System.DateTime

Returns time when attribute was last time read.

GetMethodAccess ( int index ) : MethodAccessMode

Returns is Method attribute read only.

GetStatic ( int index ) : bool
GetUIDataType ( int index ) : DataType

Returns UI data type of selected index.

GetValues ( ) : object[]

Returns attributes as an array.

IsRead ( int index ) : bool

Is attribute read.

SetAccess ( int index, AccessMode access ) : void

Set attribute access.

SetDataType ( int index, DataType type ) : void
SetMethodAccess ( int index, MethodAccessMode access ) : void

Set Method attribute access.

SetStatic ( int index, bool isStatic ) : void
SetUIDataType ( int index, DataType type ) : void
ToString ( ) : string

Logical or Short Name of DLMS object.

ValidateLogicalName ( String ln ) : bool

Méthodes protégées

Méthode Description
GXDLMSObject ( ObjectType objectType ) : System

Constructor,

GXDLMSObject ( ObjectType objectType, string ln, ushort sn ) : System

Constructor,

GetAttribute ( int index, GXAttributeCollection attributes ) : GXDLMSAttributeSettings

Private Methods

Méthode Description
ClearDirty ( int attributeIndex ) : void
GetDirty ( int attributeIndex, object &value ) : bool
GetDirtyAttributeIndexes ( ) : int[]
SetLastReadTime ( int attributeIndex, System.DateTime tm ) : void
ToLogicalName ( byte buff ) : string

Reserved for internal use.

UpdateDirty ( int attributeIndex, object value ) : void

Method Details

CanRead() public méthode

Is attribute of the object readable.
public CanRead ( int index ) : bool
index int Attribute index of the object.
Résultat bool

Clone() public méthode

public Clone ( ) : GXDLMSObject
Résultat GXDLMSObject

GXDLMSObject() public méthode

Constructor.
public GXDLMSObject ( ) : System
Résultat System

GXDLMSObject() protected méthode

Constructor,
protected GXDLMSObject ( ObjectType objectType ) : System
objectType ObjectType
Résultat System

GXDLMSObject() protected méthode

Constructor,
protected GXDLMSObject ( ObjectType objectType, string ln, ushort sn ) : System
objectType ObjectType
ln string
sn ushort
Résultat System

GetAccess() public méthode

Returns is attribute read only.
public GetAccess ( int index ) : AccessMode
index int Attribute index.
Résultat AccessMode

GetAttribute() protected méthode

protected GetAttribute ( int index, GXAttributeCollection attributes ) : GXDLMSAttributeSettings
index int
attributes GXAttributeCollection
Résultat Gurux.DLMS.ManufacturerSettings.GXDLMSAttributeSettings

GetDataType() public méthode

Returns device data type of selected attribute index.
public GetDataType ( int index ) : DataType
index int Attribute index of the object.
Résultat DataType

GetLastReadTime() public méthode

Returns time when attribute was last time read.
public GetLastReadTime ( int attributeIndex ) : System.DateTime
attributeIndex int Attribute index.
Résultat System.DateTime

GetMethodAccess() public méthode

Returns is Method attribute read only.
public GetMethodAccess ( int index ) : MethodAccessMode
index int Method Attribute index.
Résultat MethodAccessMode

GetStatic() public méthode

public GetStatic ( int index ) : bool
index int
Résultat bool

GetUIDataType() public méthode

Returns UI data type of selected index.
public GetUIDataType ( int index ) : DataType
index int Attribute index of the object.
Résultat DataType

GetValues() public méthode

Returns attributes as an array.
public GetValues ( ) : object[]
Résultat object[]

IsRead() public méthode

Is attribute read.
public IsRead ( int index ) : bool
index int Attribute index to read.
Résultat bool

SetAccess() public méthode

Set attribute access.
public SetAccess ( int index, AccessMode access ) : void
index int
access AccessMode
Résultat void

SetDataType() public méthode

public SetDataType ( int index, DataType type ) : void
index int
type DataType
Résultat void

SetMethodAccess() public méthode

Set Method attribute access.
public SetMethodAccess ( int index, MethodAccessMode access ) : void
index int
access MethodAccessMode
Résultat void

SetStatic() public méthode

public SetStatic ( int index, bool isStatic ) : void
index int
isStatic bool
Résultat void

SetUIDataType() public méthode

public SetUIDataType ( int index, DataType type ) : void
index int
type DataType
Résultat void

ToString() public méthode

Logical or Short Name of DLMS object.
public ToString ( ) : string
Résultat string

ValidateLogicalName() public static méthode

public static ValidateLogicalName ( String ln ) : bool
ln String
Résultat bool