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

ErrorCodeToString() static private method

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