Property | Type | Description | |
---|---|---|---|
AddTag | void | ||
ErrorCodeToString | String | ||
GetAllDataNodes | void | ||
GetCommand | void | ||
GetFloat32 | void | ||
GetFloat64 | void | ||
GetFrame | bool | ||
GetOctetString | void | ||
GetTags | void | ||
GetUa | void | ||
GetValue | string | ||
HandleAarqAare | void | ||
HexToBytes | byte[] | ||
PduToXml | string | ||
ReadAllNodes | void | ||
ReadNode | void | ||
ToHex | string | ||
ToHex | string | ||
ToHex | string | ||
UpdateDataType | |||
UpdateDateTime | |||
ValueOfConformance | Conformance | ||
ValueOfErrorCode | ErrorCode |
Method | Description | |
---|---|---|
FindNextFrame ( |
Find next frame from the string. Position of data is set to the begin of new frame. If Pdu is null it is not updated. |
|
FindNextFrame ( |
Find next frame from the string. Position of data is set to the begin of new frame. If Pdu is null it is not updated. |
|
GXDLMSTranslator ( TranslatorOutputType type ) : System |
Constructor.
|
|
GetDlmsFraming ( |
Identify used DLMS framing type.
|
|
GetPdu ( |
||
GetPdu ( byte value ) : byte[] | ||
MessageToXml ( |
Convert message to xml.
|
|
MessageToXml ( byte value ) : string |
Convert message to xml.
|
|
PduToXml ( |
Convert bytes to xml.
|
|
PduToXml ( byte value ) : string |
Convert bytes to xml.
|
|
PduToXml ( string hex ) : string |
Convert hex string to xml.
|
|
XmlToData ( string xml ) : byte[] |
Convert XML data fo bytes.
|
|
XmlToHexPdu ( string xml ) : string |
Convert xml to hex string.
|
|
XmlToPdu ( string xml ) : byte[] |
Convert xml to byte array.
|
Method | Description | |
---|---|---|
AddTag ( string>.SortedList |
||
ErrorCodeToString ( TranslatorOutputType type, ErrorCode value ) : String | ||
GetAllDataNodes ( |
||
GetCommand ( |
Get command from XML.
|
|
GetFloat32 ( |
||
GetFloat64 ( |
||
GetFrame ( |
||
GetOctetString ( |
||
GetTags ( TranslatorOutputType type, string>.SortedList |
Get all tags.
|
|
GetUa ( |
||
GetValue ( |
||
HandleAarqAare ( |
Handle AARE and AARQ XML tags.
|
|
HexToBytes ( string value ) : byte[] | ||
PduToXml ( |
||
ReadAllNodes ( |
||
ReadNode ( |
||
ToHex ( byte bytes ) : string | ||
ToHex ( byte bytes, bool addSpace ) : string | ||
ToHex ( byte bytes, bool addSpace, int index, int count ) : string | ||
UpdateDataType ( |
||
UpdateDateTime ( |
||
ValueOfConformance ( string value ) : Conformance | ||
ValueOfErrorCode ( TranslatorOutputType type, String value ) : ErrorCode |
public FindNextFrame ( |
||
data | Data where frame is search. | |
pdu | Pdu of received frame is set here. | |
return | bool |
public FindNextFrame ( |
||
data | Data where frame is search. | |
pdu | Pdu of received frame is set here. | |
type | InterfaceType | |
return | bool |
public GXDLMSTranslator ( TranslatorOutputType type ) : System | ||
type | TranslatorOutputType | Translator output type. |
return | System |
public static GetDlmsFraming ( |
||
value | Input data. | |
return | InterfaceType |
public GetPdu ( |
||
value | ||
return | byte[] |
public MessageToXml ( |
||
value | Bytes to convert. | |
return | string |
public MessageToXml ( byte value ) : string | ||
value | byte | Bytes to convert. |
return | string |
public PduToXml ( |
||
value | Bytes to convert. | |
return | string |
public PduToXml ( byte value ) : string | ||
value | byte | Bytes to convert. |
return | string |
public PduToXml ( string hex ) : string | ||
hex | string | Converted hex string. |
return | string |
public XmlToData ( string xml ) : byte[] | ||
xml | string | XML data. |
return | byte[] |
public XmlToPdu ( string xml ) : byte[] | ||
xml | string | Converted xml. |
return | byte[] |