Gurux.DLMS.GXDLMSNotify.AddData C# (CSharp) Method

AddData() public method

Add value of COSEM object to byte buffer.
AddData method can be used with GetDataNotificationMessage -method. DLMS spesification do not specify the structure of Data-Notification body. So each manufacture can sent different data.
public AddData ( GXDLMSObject obj, int index, GXByteBuffer buff ) : void
obj Gurux.DLMS.Objects.GXDLMSObject COSEM object.
index int Attribute index.
buff GXByteBuffer Byte buffer.
return void
        public void AddData(GXDLMSObject obj, int index, GXByteBuffer buff)
        {
            AddData(Settings, obj, index, buff);
        }

Same methods

GXDLMSNotify::AddData ( GXDLMSSettings settings, GXDLMSObject obj, int index, GXByteBuffer buff ) : void