We have added new methods Insert and Delete for GXDLMSSpecialDaysTable for C#. Support for Java, ANSI C++ and ANSI C are coming later. Get new version from GitHub or nuget.org.
GXDLMSSpecialDay e = new GXDLMSSpecialDay();
e.DayId = 2;
e.Date = DateTime.Now;
e.Index = 1;
GXDLMSClient cl = new GXDLMSClient(true, 16, 1, Authentication.None, null, InterfaceType.WRAPPER);
GXDLMSSpecialDaysTable d = new GXDLMSSpecialDaysTable();
d.Insert(cl, e)
GXDLMSSpecialDaysTable
Hi,
Do you want to insert or delete special day ? Or just get a list of them?
BR,
Mikko
Insert/replace
I want to insert/replace the existing ones as mentioned in the Blue Book:
"If a special day with the same index or with the same date as an already defined day is inserted, the old entry will be overwritten"
I have tried getting a list of them and deleting them using method nr. 2, worked fine!
GXDLMSSpecialDaysTable
Hi,
We do not have method in GXDLMSSpecialDaysTable at the moment, but I'll add that to the work list. It should be ready today.
BR,
Mikko
GXDLMSSpecialDaysTable
OK, awesome. Thanks for the quick reply. :)
GXDLMSSpecialDaysTable
Hi,
We have added new methods Insert and Delete for GXDLMSSpecialDaysTable for C#. Support for Java, ANSI C++ and ANSI C are coming later. Get new version from GitHub or nuget.org.
GXDLMSSpecialDay e = new GXDLMSSpecialDay();
e.DayId = 2;
e.Date = DateTime.Now;
e.Index = 1;
GXDLMSClient cl = new GXDLMSClient(true, 16, 1, Authentication.None, null, InterfaceType.WRAPPER);
GXDLMSSpecialDaysTable d = new GXDLMSSpecialDaysTable();
d.Insert(cl, e)
BR,
Mikko
GXDLMSSpecialDaysTable
Just tried it out, works like a charm! Thanks!