C# 클래스 Gurux.DLMS.Objects.GXDLMSObject

GXDLMSObject provides an interface to DLMS registers.
상속: IGXDLMSColumnObject
파일 보기 프로젝트 열기: Gurux/Gurux.DLMS.Net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ClearDirty void
GetDirty bool
GetDirtyAttributeIndexes int[]
SetLastReadTime void
ToLogicalName string
UpdateDirty void

공개 메소드들

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

보호된 메소드들

메소드 설명
GXDLMSObject ( ObjectType objectType ) : System

Constructor,

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

Constructor,

GetAttribute ( int index, GXAttributeCollection attributes ) : GXDLMSAttributeSettings

비공개 메소드들

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

메소드 상세

CanRead() 공개 메소드

Is attribute of the object readable.
public CanRead ( int index ) : bool
index int Attribute index of the object.
리턴 bool

Clone() 공개 메소드

public Clone ( ) : GXDLMSObject
리턴 GXDLMSObject

GXDLMSObject() 공개 메소드

Constructor.
public GXDLMSObject ( ) : System
리턴 System

GXDLMSObject() 보호된 메소드

Constructor,
protected GXDLMSObject ( ObjectType objectType ) : System
objectType ObjectType
리턴 System

GXDLMSObject() 보호된 메소드

Constructor,
protected GXDLMSObject ( ObjectType objectType, string ln, ushort sn ) : System
objectType ObjectType
ln string
sn ushort
리턴 System

GetAccess() 공개 메소드

Returns is attribute read only.
public GetAccess ( int index ) : AccessMode
index int Attribute index.
리턴 AccessMode

GetAttribute() 보호된 메소드

protected GetAttribute ( int index, GXAttributeCollection attributes ) : GXDLMSAttributeSettings
index int
attributes GXAttributeCollection
리턴 Gurux.DLMS.ManufacturerSettings.GXDLMSAttributeSettings

GetDataType() 공개 메소드

Returns device data type of selected attribute index.
public GetDataType ( int index ) : DataType
index int Attribute index of the object.
리턴 DataType

GetLastReadTime() 공개 메소드

Returns time when attribute was last time read.
public GetLastReadTime ( int attributeIndex ) : System.DateTime
attributeIndex int Attribute index.
리턴 System.DateTime

GetMethodAccess() 공개 메소드

Returns is Method attribute read only.
public GetMethodAccess ( int index ) : MethodAccessMode
index int Method Attribute index.
리턴 MethodAccessMode

GetStatic() 공개 메소드

public GetStatic ( int index ) : bool
index int
리턴 bool

GetUIDataType() 공개 메소드

Returns UI data type of selected index.
public GetUIDataType ( int index ) : DataType
index int Attribute index of the object.
리턴 DataType

GetValues() 공개 메소드

Returns attributes as an array.
public GetValues ( ) : object[]
리턴 object[]

IsRead() 공개 메소드

Is attribute read.
public IsRead ( int index ) : bool
index int Attribute index to read.
리턴 bool

SetAccess() 공개 메소드

Set attribute access.
public SetAccess ( int index, AccessMode access ) : void
index int
access AccessMode
리턴 void

SetDataType() 공개 메소드

public SetDataType ( int index, DataType type ) : void
index int
type DataType
리턴 void

SetMethodAccess() 공개 메소드

Set Method attribute access.
public SetMethodAccess ( int index, MethodAccessMode access ) : void
index int
access MethodAccessMode
리턴 void

SetStatic() 공개 메소드

public SetStatic ( int index, bool isStatic ) : void
index int
isStatic bool
리턴 void

SetUIDataType() 공개 메소드

public SetUIDataType ( int index, DataType type ) : void
index int
type DataType
리턴 void

ToString() 공개 메소드

Logical or Short Name of DLMS object.
public ToString ( ) : string
리턴 string

ValidateLogicalName() 공개 정적인 메소드

public static ValidateLogicalName ( String ln ) : bool
ln String
리턴 bool