public GXDLMSTranslator(TranslatorOutputType type) { OutputType = type; GetTags(type, tags, tagsByName); if (type == TranslatorOutputType.SimpleXml) { Hex = true; } }