Hi
I want to read push object list by using this code
GXDLMSPushSetup push = new GXDLMSPushSetup("0.0.25.9.0.255",3);
GXDLMSPushSetup clone = (GXDLMSPushSetup)push;
clone.GetPushValues(client, (List<object>)notify.Value);
foreach (KeyValueP<GXDLMSObject, GXDLMSCaptureObject> it in clone.PushObjectList)
{
int index = it.Value.AttributeIndex - 1;
Console.WriteLine(((IGXDLMSBase)it.Key).GetNames()[index] + ": " + it.Key.GetValues()[index]);
}
but it is giving error "Size of the push object list is different than values". could please help me in this.
Thanks
Yamini
Hi Yamini, The number of…
Hi Yamini,
The number of push objects in the received data is different than the Push object list.
Have you read the Push object list or added the object to the list?
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSPushSetup
BR,
Mikko