Gurux.DLMS.GXDLMSTranslator.ValueOfErrorCode C# (CSharp) Method

ValueOfErrorCode() static private method

static private ValueOfErrorCode ( TranslatorOutputType type, String value ) : ErrorCode
type TranslatorOutputType
value String
return ErrorCode
        static ErrorCode ValueOfErrorCode(TranslatorOutputType type,
                                          String value)
        {
            if (type == TranslatorOutputType.StandardXml)
            {
                return TranslatorStandardTags.ValueOfErrorCode(value);
            }
            else
            {
                return TranslatorSimpleTags.ValueOfErrorCode(value);
            }
        }