Hi. when we want to write object all attribute on meter (like clock object)
I pass index =0 to below function :
public void Write(GXDLMSObject obj, int index)
{
//it is as is in GXDLMSCommunicator class
}
in this method the order of writing attributes are sequential and start from 1 and goes on to attribute count and if the attribute is dirty writing done.
but there is problem for object like "Clock". because when I want to write attribute "begin" , if attribute "enabled" odes not written first, the meter returns error.
do you have any Idea that we can have this one method for all object writing with dirty indexes ?
Because the Enabled attribute index is after begin the only way to solve this is if you first enable the DST and write it. After that, you can write the begin time.
Hi,
Hi,
Because the Enabled attribute index is after begin the only way to solve this is if you first enable the DST and write it. After that, you can write the begin time.
BR,
Mikko