C# Class Gurux.DLMS.GXDLMSConverter

DLMS Converter is used to get string value for enumeration types.
Show file Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Public Methods

Method Description
GetDescription ( String logicalName ) : String[]

Get OBIS code description.

GetDescription ( String logicalName, ObjectType type ) : String[]

Get OBIS code description.

GetDescription ( String logicalName, ObjectType type, String description ) : String[]

Get OBIS code description.

GetDescription ( String logicalName, String description ) : String[]

Get OBIS code description.

GetUnit ( Unit value ) : string

Returns unit text.

UpdateOBISCodeInformation ( GXDLMSObject target ) : void

Update standard OBIS codes description and type if defined.

UpdateOBISCodeInformation ( GXDLMSObjectCollection targets ) : void

Update standard OBIS codes descriptions and type if defined.

Private Methods

Method Description
ReadStandardObisInfo ( GXStandardObisCodeCollection codes ) : void

Read standard OBIS code information from the file.

UpdateOBISCodeInfo ( GXStandardObisCodeCollection codes, GXDLMSObject it ) : void

Method Details

GetDescription() public method

Get OBIS code description.
public GetDescription ( String logicalName ) : String[]
logicalName String Logical name (OBIS code).
return String[]

GetDescription() public method

Get OBIS code description.
public GetDescription ( String logicalName, ObjectType type ) : String[]
logicalName String Logical name (OBIS code).
type ObjectType Object type.
return String[]

GetDescription() public method

Get OBIS code description.
public GetDescription ( String logicalName, ObjectType type, String description ) : String[]
logicalName String Logical name (OBIS code).
type ObjectType Object type.
description String Description filter.
return String[]

GetDescription() public method

Get OBIS code description.
public GetDescription ( String logicalName, String description ) : String[]
logicalName String Logical name (OBIS code).
description String Description filter.
return String[]

GetUnit() public static method

Returns unit text.
public static GetUnit ( Unit value ) : string
value Unit
return string

UpdateOBISCodeInformation() public method

Update standard OBIS codes description and type if defined.
public UpdateOBISCodeInformation ( GXDLMSObject target ) : void
target Gurux.DLMS.Objects.GXDLMSObject COSEM object.
return void

UpdateOBISCodeInformation() public method

Update standard OBIS codes descriptions and type if defined.
public UpdateOBISCodeInformation ( GXDLMSObjectCollection targets ) : void
targets GXDLMSObjectCollection Collection of COSEM objects to update.
return void