C# Class Gurux.DLMS.GXDLMSTranslatorStructure

This class is used internally in GXDLMSTranslator to save generated xml.
Mostra file Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Public Methods

Method Description
Append ( String value ) : void
Append ( int tag, bool start ) : void
AppendEndTag ( Command cmd, Enum type ) : void
AppendEndTag ( Enum cmd ) : void
AppendEndTag ( int tag ) : void
AppendLine ( Enum tag, string name, object value ) : void
AppendLine ( int tag, string name, object value ) : void
AppendLine ( string str ) : void
AppendLine ( string tag, string name, object value ) : void
AppendStartTag ( Command cmd, Enum type ) : void
AppendStartTag ( Enum cmd ) : void
AppendStartTag ( Enum tag, string name, string value ) : void
AppendStartTag ( int tag, string name, string value ) : void
GXDLMSTranslatorStructure ( TranslatorOutputType type, bool numericsAshex, bool hex, string>.SortedList list ) : Gurux.DLMS.Enums

Constructor.

GetDataType ( DataType type ) : String
IntegerToHex ( System.UInt64 value ) : string

Convert integer to string.

IntegerToHex ( long value, int desimals ) : string

Convert integer to string.

ToString ( ) : string

Method Details

Append() public method

public Append ( String value ) : void
value String
return void

Append() public method

public Append ( int tag, bool start ) : void
tag int
start bool
return void

AppendEndTag() public method

public AppendEndTag ( Command cmd, Enum type ) : void
cmd Command
type System.Enum
return void

AppendEndTag() public method

public AppendEndTag ( Enum cmd ) : void
cmd System.Enum
return void

AppendEndTag() public method

public AppendEndTag ( int tag ) : void
tag int
return void

AppendLine() public method

public AppendLine ( Enum tag, string name, object value ) : void
tag System.Enum
name string
value object
return void

AppendLine() public method

public AppendLine ( int tag, string name, object value ) : void
tag int
name string
value object
return void

AppendLine() public method

public AppendLine ( string str ) : void
str string
return void

AppendLine() public method

public AppendLine ( string tag, string name, object value ) : void
tag string
name string
value object
return void

AppendStartTag() public method

public AppendStartTag ( Command cmd, Enum type ) : void
cmd Command
type System.Enum
return void

AppendStartTag() public method

public AppendStartTag ( Enum cmd ) : void
cmd System.Enum
return void

AppendStartTag() public method

public AppendStartTag ( Enum tag, string name, string value ) : void
tag System.Enum
name string
value string
return void

AppendStartTag() public method

public AppendStartTag ( int tag, string name, string value ) : void
tag int
name string
value string
return void

GXDLMSTranslatorStructure() public method

Constructor.
public GXDLMSTranslatorStructure ( TranslatorOutputType type, bool numericsAshex, bool hex, string>.SortedList list ) : Gurux.DLMS.Enums
type TranslatorOutputType
numericsAshex bool
hex bool
list string>.SortedList List of tags.
return Gurux.DLMS.Enums

GetDataType() public method

public GetDataType ( DataType type ) : String
type DataType
return String

IntegerToHex() public method

Convert integer to string.
public IntegerToHex ( System.UInt64 value ) : string
value System.UInt64 Conveted value.
return string

IntegerToHex() public method

Convert integer to string.
public IntegerToHex ( long value, int desimals ) : string
value long Conveted value.
desimals int Desimal count.
return string

ToString() public method

public ToString ( ) : string
return string