Gurux.DLMS.GXDLMSTranslator.ValueOfErrorCode C# (CSharp) Méthode

ValueOfErrorCode() static private méthode

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