Gurux.DLMS.GXDLMSLNCommandHandler.AppendMethodDescriptor C# (CSharp) Method

AppendMethodDescriptor() private static method

private static AppendMethodDescriptor ( GXDLMSTranslatorStructure xml, int ci, byte ln, byte attributeIndex ) : void
xml GXDLMSTranslatorStructure
ci int
ln byte
attributeIndex byte
return void
        private static void AppendMethodDescriptor(GXDLMSTranslatorStructure xml, int ci, byte[] ln, byte attributeIndex)
        {
            xml.AppendStartTag(TranslatorTags.MethodDescriptor);
            xml.AppendLine(TranslatorTags.ClassId, "Value", xml.IntegerToHex((int)ci, 4));
            xml.AppendLine(TranslatorTags.InstanceId, "Value", GXCommon.ToHex(ln, false));
            xml.AppendLine(TranslatorTags.MethodId, "Value", xml.IntegerToHex(attributeIndex, 2));
            xml.AppendEndTag(TranslatorTags.MethodDescriptor);
        }