Read and set Activity Calender

4 posts / 0 new
Last post
Varun Sharma
Read and set Activity Calender

Hello,

How can i read and set Activity calender using my c# project.Plz give a sample code.?
Thank You

Kurumi
Kurumi's picture

Hi,

You read and write activity calendar as other objects. Something like:
GXDLMSActivityCalendar c = new GXDLMSActivityCalendar("OBIS code");
Read(c, 2);
...

Check the client example. I believe it will help you.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Varun Sharma

Thanx for reply
But i am stuck in day profile how can i set day Schedule
GXDLMSDayProfile dp = new GXDLMSDayProfile();
dp.DayId = 1;
dp.DaySchedules =??

Kurumi
Kurumi's picture

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi