public GXDLMSXmlSettings(TranslatorOutputType type, bool numericsAsHex, bool hex, SortedList<string, int> list) { OutputType = type; showNumericsAsHex = numericsAsHex; showStringAsHex = hex; settings.InterfaceType = InterfaceType.PDU; settings.Cipher = new GXCiphering(ASCIIEncoding.ASCII.GetBytes("ABCDEFGH")); tags = list; }