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

AppendAttributeDescriptor() private static method

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