arrow-left

All pages
gitbookPowered by GitBook
1 of 52

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

SetEventNotifications

hashtag
Description

Request which commands a device to set its EventNotification mask.

Response which returns the result of the request.

hashtag
Message definitions

hashtag
Example

Soap requests and responses sent to and from platform:

Platform message of data written to the device:

IEC61850 protocol adapter logging:

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

CSLC.EvnBuf

CF

enbEvnType

VisString32

Bitmask indicating which event notification types are enabled, to enable all event types use: "3FFFFFF".

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetEventNotificationsRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
         <ns1:EventNotifications>DIAG_EVENTS</ns1:EventNotifications>
         <ns1:EventNotifications>HARDWARE_FAILURE</ns1:EventNotifications>
         <ns1:EventNotifications>LIGHT_EVENTS</ns1:EventNotifications>
         <ns1:EventNotifications>TARIFF_EVENTS</ns1:EventNotifications>
         <ns1:EventNotifications>MONITOR_EVENTS</ns1:EventNotifications>
         <ns1:EventNotifications>FIRMWARE_EVENTS</ns1:EventNotifications>
         <ns1:EventNotifications>COMM_EVENTS</ns1:EventNotifications>
         <ns1:EventNotifications>SECURITY_EVENTS</ns1:EventNotifications>
      </ns1:SetEventNotificationsRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetEventNotificationsAsyncResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180927074508777</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetEventNotificationsAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetEventNotificationsAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180927074508777</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SetEventNotificationsAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetEventNotificationsResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetEventNotificationsResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: SetEventNoficationFilter {
  CSLC.EvnBuf[CF].enbEvnType: 3FFFFFF
}
2018-09-27 07:45:09.181] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceRequestMessageListener@onMessage:61 - Received message of type: SET_EVENT_NOTIFICATIONS with message priority: 4
2018-09-27 07:45:09.225] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: SET_EVENT_NOTIFICATIONS for domain: CORE 1.0
2018-09-27 07:45:09.225] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-09-27 07:45:09.225] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-09-27 07:45:09.231] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:80 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3}
2018-09-27 07:45:09.233] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 3 and max retry count: 3
2018-09-27 07:45:09.282] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-09-27 07:45:09.282] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-server-model/SWDevice-010805.icd
2018-09-27 07:45:09.306] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-09-27T07:45:09.226Z, end time: 2018-09-27T07:45:09.305Z, total time in milliseconds: 79
2018-09-27 07:45:09.313] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetEventNotificationFilterCommand@apply:37 - Setting the event notification filter
2018-09-27 07:45:09.313] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.EvnBuf
2018-09-27 07:45:09.329] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetEventNotificationFilterCommand@apply:44 - Updating the enabled EventType filter to 3FFFFFF
2018-09-27 07:45:09.329] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing 1FFFFFF to enbEvnType
2018-09-27 07:45:09.348] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-27 07:45:09.349] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK
2018-09-27 07:45:09.349] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:111 - Sending protocol response message for device: KAI-0000000053 of message type: SET_EVENT_NOTIFICATIONS with message priority: 4
2018-09-27 07:45:09.349] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@logDuration:355 - Device: KAI-0000000053, messageType: SET_EVENT_NOTIFICATIONS, Start time: 2018-09-27T07:45:09.226Z, end time: 2018-09-27T07:45:09.349Z, total time in milliseconds: 123

SetLight

hashtag
Description

Request which commands the device to switch on or off one or several light relays. If optional value 'index' is omitted, all relays configured as light are switched. In that case, the message will contain exactly one LightValue and all relays will switch to that LightValue. In case the value 'index' is included, multiple instances of LightValue can be used (up to 6), each indicating a particular relay.

Response which returns the result of the request.

hashtag
IEC61850 Fields

hashtag
Example

Soap requests and responses sent to and from platform:

IEC61850 platform message of the data set on the device:

IEC61850 protocol adapter logging:

XSWC4.Pos

CO

Oper.ctlVal

BOOLEAN

Flag which, if set to true, immediately switches relay 4 on.

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

XSWC2.Pos

CO

Oper.ctlVal

BOOLEAN

Flag which, if set to true, immediately switches relay 2 on.

XSWC3.Pos

CO

Oper.ctlVal

BOOLEAN

Flag which, if set to true, immediately switches relay 3 on.

<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetLightRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
         <ns1:LightValue>
            <ns1:On>true</ns1:On>
         </ns1:LightValue>
      </ns1:SetLightRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetLightAsyncResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925093054301</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetLightAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetLightAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925093054301</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SetLightAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetLightResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetLightResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: SetLight {
  XSWC2.Pos[CO].Oper.ctlVal: true
  XSWC3.Pos[CO].Oper.ctlVal: true
}
2018-09-25 09:30:54.775] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@createListOfInternalIndicesToSwitch:220 - creating list of internal indices using device output settings
2018-09-25 09:30:54.782] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@apply:66 - Trying to switch light relay with internal index: 2 on: true for device: KAI-0000000053
2018-09-25 09:30:54.783] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.CfSt
2018-09-25 09:30:54.799] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850Commands@enableOperationOfRelay:56 - masterControl.enbOper is true, switching of relay 2 is enabled
2018-09-25 09:30:54.852] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.Pos
2018-09-25 09:30:54.881] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@switchLightRelay:108 - Switching relay 2 on
2018-09-25 09:30:54.898] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@apply:66 - Trying to switch light relay with internal index: 3 on: true for device: KAI-0000000053
2018-09-25 09:30:54.898] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.CfSt
2018-09-25 09:30:54.986] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850Commands@enableOperationOfRelay:56 - masterControl.enbOper is true, switching of relay 3 is enabled
2018-09-25 09:30:54.986] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.Pos
2018-09-25 09:30:55.211] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@switchLightRelay:108 - Switching relay 3 on
2018-09-25 09:30:55.553] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-25 09:30:55.554] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK

ConfirmRegisterDevice

hashtag
Description

Request which contains the 2 random numbers from RegisterDeviceRequest and RegisterDeviceResponse. The numbers should match with the previous request and response and this is checked by the platform.

Response which contains the sequenceWindow which is the maximum allowed difference between sequence numbers for future messages. Further the response contains the 2 random numbers from the ConfirmRegisterDeviceRequest. The numbers should match with the previous request and response and this is checked by the device.

hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

OSLP ConfirmRegisterDeviceRequest sent from 'device-01' to platform:

OSLP ConfirmRegisterDeviceResponse sent from platform to 'device-01':

message ConfirmRegisterDeviceRequest {
    required uint32 randomDevice = 1;
    required uint32 randomPlatform = 2;
}

message ConfirmRegisterDeviceResponse {
    required Status status = 1;
    required uint32 randomDevice = 2;
    required uint32 randomPlatform = 3;
    required uint32 sequenceWindow = 4;
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
confirmRegisterDeviceRequest {
  randomDevice: 13246
  randomPlatform: 44765
}
confirmRegisterDeviceResponse {
  status: OK
  randomDevice: 13246
  randomPlatform: 44765
  sequenceWindow: 6
}

Protobuf Contract

// import "nanopb.proto";

package oslp;

option java_package = "org.opensmartgridplatform.oslp";

message Message {
    optional RegisterDeviceRequest registerDeviceRequest = 1;
    optional RegisterDeviceResponse registerDeviceResponse = 2;
    optional StartSelfTestRequest startSelfTestRequest = 3;
    optional StartSelfTestResponse startSelfTestResponse = 4;
    optional StopSelfTestRequest stopSelfTestRequest = 5;
    optional StopSelfTestResponse stopSelfTestResponse = 6;
    optional UpdateFirmwareRequest updateFirmwareRequest = 7;
    optional UpdateFirmwareResponse updateFirmwareResponse = 8;
    optional SetLightRequest setLightRequest = 9;
    optional SetLightResponse setLightResponse = 10;
    optional GetStatusRequest getStatusRequest = 11;
    optional GetStatusResponse getStatusResponse = 12;
    optional ResumeScheduleRequest resumeScheduleRequest = 13;
    optional ResumeScheduleResponse resumeScheduleResponse = 14;
    optional SetEventNotificationsRequest setEventNotificationsRequest = 15;
    optional SetEventNotificationsResponse setEventNotificationsResponse = 16;
    optional EventNotificationRequest eventNotificationRequest = 17;
    optional EventNotificationResponse eventNotificationResponse = 18;
    optional GetFirmwareVersionRequest getFirmwareVersionRequest = 19;
    optional GetFirmwareVersionResponse getFirmwareVersionResponse = 20;
    optional SetScheduleRequest setScheduleRequest = 21;
    optional SetScheduleResponse setScheduleResponse = 22;
    optional SetConfigurationRequest setConfigurationRequest = 25;
    optional SetConfigurationResponse setConfigurationResponse = 26;
    optional GetPowerUsageHistoryRequest getPowerUsageHistoryRequest = 27;
    optional GetPowerUsageHistoryResponse getPowerUsageHistoryResponse = 28;
    optional GetActualPowerUsageRequest getActualPowerUsageRequest = 29;
    optional GetActualPowerUsageResponse getActualPowerUsageResponse = 30;
    optional SetRebootRequest setRebootRequest = 31;
    optional SetRebootResponse setRebootResponse = 32;
    optional SetTransitionRequest setTransitionRequest = 33;
    optional SetTransitionResponse setTransitionResponse = 34;
    optional GetConfigurationRequest getConfigurationRequest = 35;
    optional GetConfigurationResponse getConfigurationResponse = 36;
    optional ConfirmRegisterDeviceRequest confirmRegisterDeviceRequest = 37;
    optional ConfirmRegisterDeviceResponse confirmRegisterDeviceResponse =  38;
    optional UpdateDeviceSslCertificationRequest updateDeviceSslCertificationRequest = 39;
    optional UpdateDeviceSslCertificationResponse updateDeviceSslCertificationResponse = 40;
    optional SetDeviceVerificationKeyRequest setDeviceVerificationKeyRequest = 41;
    optional SetDeviceVerificationKeyResponse setDeviceVerificationKeyResponse = 42;
    optional SwitchFirmwareRequest switchFirmwareRequest = 43;
    optional SwitchFirmwareResponse switchFirmwareResponse = 44;
    optional SwitchConfigurationRequest switchConfigurationRequest = 45;
    optional SwitchConfigurationResponse switchConfigurationResponse = 46;
}

// ========= Device Installation
message RegisterDeviceRequest {
    required string deviceIdentification = 1; // [(nanopb).max_size = 41];
    required bytes ipAddress = 2; // [(nanopb).max_size = 4];
    required DeviceType deviceType = 3;
    required bool hasSchedule = 4;
    required uint32 randomDevice = 5; // 16 bits
}

message RegisterDeviceResponse {
    required Status status = 1;
    required string currentTime = 2; // [(nanopb).max_size = 15];// - Format YYYYMMDDhhmmss UTC.
    required uint32 randomDevice = 3;
    required uint32 randomPlatform = 4;
    optional LocationInfo locationInfo = 5; // Location information of device.
}

message StartSelfTestRequest {
    optional bool present = 1 [default = true];
}

message StartSelfTestResponse {
    required Status status = 1;
}

message StopSelfTestRequest {
    optional bool present = 1 [default = true];
}

message StopSelfTestResponse {
    required Status status = 1;
    required bytes selfTestResult = 2; // [(nanopb).max_size = 1];
}

// ========= Firmware Management
message GetFirmwareVersionRequest {
    optional bool present = 1 [default = true];
}

message GetFirmwareVersionResponse {
    required string firmwareVersion = 1; // [(nanopb).max_size = 7]; // RXX
}

message UpdateFirmwareRequest {
    required string firmwareDomain = 1; // [(nanopb).max_size = 100]; // Server-name without protocol like this example: localhost.
    required string firmwareUrl = 2; // [(nanopb).max_size = 255]; // Relative URL like this example: /firmware/PSLD/RXX.
}

message UpdateFirmwareResponse {
    required Status status = 1;
}

message SwitchFirmwareRequest {
    required string newFirmwareVersion = 1; // [(nanopb).max_size = 6]; // The version of the firmware which should be installed. 
}

message SwitchFirmwareResponse {
    required Status status = 1; // FIRMWARE_EVENTS_ACTIVATING Event will be sent, after the firmware change has completed.
}

// ========= Ad-Hoc & Status
message SetLightRequest {
    repeated LightValue values = 1; // [(nanopb).max_count = 6];
}

message SetLightResponse {
    required Status status = 1;
}

message GetStatusRequest {
    optional bool present = 1 [default = true];
}

message GetStatusResponse {
    required Status status = 1;
    repeated LightValue value = 2; // [(nanopb).max_count = 6];
    required LinkType preferredLinktype = 3;
    required LinkType actualLinktype = 4;
    required LightType lightType = 5;
    required uint32 eventNotificationMask = 6;         // Bitmask for max 32 events, using NotificationBit for bit positions.
    optional uint32 numberOfOutputs = 7;               // Hardware - The number of outputs of this device.
    optional uint32 dcOutputVoltageMaximum = 8;        // Hardware - DC output voltage MAXimum (in mV).
    optional uint32 dcOutputVoltageCurrent = 9;        // Hardware - DC output current voltage (in mV).
    optional uint32 maximumOutputPowerOnDcOutput = 10; // Hardware - Maximum output power on DC output (mW). 
    optional bytes serialNumber = 11; // [(nanopb).max_size = 18]; // Hardware - Serial number of this device.
    optional bytes macAddress = 12; // [(nanopb).max_size = 6]; // Hardware - MAC-address of this device.
    optional string hardwareId = 13; // [(nanopb).min_size = 10, (nanopd).max_size = 25] ; // Hardware - The hardware ID of this device.
    optional uint32 internalFlashMemSize = 14;         // Hardware - The internal flash memory size.
    optional uint32 externalFlashMemSize = 15;         // Hardware - The external flash memory size.
    optional uint32 lastInternalTestResultCode = 16;   // Hardware - The last internal test result code.
    optional uint32 startupCounter = 17;               // Hardware - The startup counter.
    optional string bootLoaderVersion = 18;            // Software - The boot loader version.
    optional string firmwareVersion = 19;              // Software - The firmware version.
    optional bytes currentConfigurationBackUsed = 20; // [(nanopb).max_size = 6]; // Software - The current configuration bank in use.
    optional string name = 21;                         // Device - The name of this device.
    optional string currentTime = 22;                  // Device - Not UTC, the time used in timing operations (adjusted "offset" + summer timing). YYYYMMDDhhmmss format.
    optional string currentIp = 23;                    // Device - The current IP address of this device.
}

message ResumeScheduleRequest {
    optional bytes index = 1; // [(nanopb).max_size = 1]; // Index number of connected light (DALI), none means all connected lights.
    required bool immediate = 2; // [default = true];     // Resume at next schedule item or direct.
}

message ResumeScheduleResponse {
    required Status status = 1;
}

message SetRebootRequest {
    optional bool present = 1 [default = true];
}

message SetRebootResponse {
    required Status status = 1;
}

message SetTransitionRequest {
    required TransitionType transitionType = 1; // Night-Day or Day-Night transition.
    optional string time = 2; // [(nanopb).max_size = 7]; // - Format hhmmss UTC.
}

message SetTransitionResponse {
    required Status status = 1;
}

message SetEventNotificationsRequest {
    required uint32 NotificationMask = 1; // Bitmask for max 32 events, using NotificationBit for bit positions.
}

message SetEventNotificationsResponse {
    required Status status = 1;
}

message EventNotificationRequest {
    repeated EventNotification notifications = 1; // [(nanopb).max_count = 6];
}

message EventNotificationResponse {
    required Status status = 1;
}

// ========= Scheduling
message SetScheduleRequest {
    repeated Schedule schedules = 1; // [(nanopb).max_count = 50];
    optional PageInfo pageInfo = 2;
    required RelayType scheduleType = 3; // RT_NOT_SET is NOT supported!
}

message SetScheduleResponse {
    required Status status = 1;
}

// ========= Configuration
message SetConfigurationRequest {
    optional LightType lightType = 1;
    optional DaliConfiguration daliConfiguration = 2;                                    // Contains specific configuration for DALI controllers.
    optional RelayConfiguration relayConfiguration = 3;                                  // Contains specific configuration for Relay.
    optional uint32 shortTermHistoryIntervalMinutes = 4;                                 // Deprecated, no longer supported by the platform.
    optional LinkType preferredLinkType = 5;
    optional MeterType meterType = 6;                                                    // Deprecated, no longer supported by the platform.
    optional uint32 longTermHistoryInterval = 7;                                         // Deprecated, no longer supported by the platform.
    optional LongTermIntervalType longTermHistoryIntervalType = 8;                       // Deprecated, no longer supported by the platform.
    optional uint32 timeSyncFrequency = 9 [default = 86400];                             // Time synch frequency (seconds).
    optional bytes deviceFixIpValue = 10; // [(nanopb).max_count = 4];                   // The fixed IP address of this device.
    optional bytes netMask = 11; // [(nanopb).max_count = 4];                            // Network mask for fixed IP address.
    optional bytes gateWay = 12; // [(nanopb).max_count = 4];                            // Gateway address for fixed IP address.
    optional bool isDhcpEnabled = 13 [default = true];                                   // Is DHCP enabled for this device?
//    optional bool isTlsEnabled = 14;                                                     // Defines if TLS is enabled.
//    optional uint32 oslpBindPortNumber = 15;                                             // The port used for TLS connections.
//    optional string commonNameString = 16 [default = 'TLS Test']; //[default = 'TLS Test',(nanopb).max_count = 25]; // The common name (CN) used when isTlsEnabled equals true.
    optional uint32 communicationTimeout = 14 [default = 20];                            // Communication Timeouts (seconds) (wait for answer, socket establish, or server response = comm watchdog for local mode).
    optional uint32 communicationNumberOfRetries = 15 [default = 3];                     // Communication number of retries.
    optional uint32 communicationPauseTimeBetweenConnectionTrials = 16 [default = 60];   // Time between communication attempts.
    optional bytes ospgIpAddress = 17; // [(nanopb).max_count = 4];                      // The IP address of the platform.
    optional uint32 osgpPortNumber = 18;                                                 // The port number of the platform.
    optional bool isTestButtonEnabled = 19 [default = true];                             // Is the test button enabled for this device?
    optional bool isAutomaticSummerTimingEnabled = 20 [default = true];                  // Is the automatic summer timing enabled for this device?
    optional sint32 astroGateSunRiseOffset = 21 [default = 0];                           // The calculated sunrise time modified by this value. Time is moved earlier (if offset is negative) or later (if offset is positive). In seconds.
    optional sint32 astroGateSunSetOffset = 22 [default = 0];                            // The calculated sunset time modified by this value. Time is moved earlier (if offset is negative) or later (if offset is positive). In seconds.
    repeated uint32 switchingDelay = 23; // [(nanopb).max_count = 4];                    // Switching delay (seconds), array of 4 values. Default 0, 0, 0, 0.
    repeated RelayMatrix relayLinking = 24;                                              // Relay linking is a software linking, to may link each relay with each other relay. It is a matrix. Example, if relay 1 is linked with relay 3, if relay 1 will be switched (by OSGP or local by internal scheduler), the relay 3 will switch automatically (on or off, as it set) without new command.
    optional bool relayRefreshing = 25 [default = true];                                 // Is relayRefreshing enabled for this device? Set minutely the nominal relay state and status according to active schedule after power outage and missed switching or anti manipulation.
    optional string summerTimeDetails = 26 [default = '0360100']; //[default = '0360100',(nanopb).max_count = 7]; // The time point for DST for Europe is not identical in every country. It should be added as parameters the weekday, month and time point for DST/summer and winter.
    optional string winterTimeDetails = 27 [default = '1060200']; //[default = '1060200',(nanopb).max_count = 7]; // The time point for DST for Europe is not identical in every country. It should be added as parameters the weekday, month and time point for DST/summer and winter.
}
// summerTimeDetails string, winterTimeDetails:
//MMWHHmi
//
//where: (note, north hemisphere summer begins at the end of march)
//MM: month
//W:  day of the week (0- Monday, 6- Sunday)
//HH: hour of the changing time
//mi: minutes of the changing time

message SetConfigurationResponse {
    required Status status = 1;
}

message GetConfigurationRequest {
    optional bool present = 1 [default = true];
}

message GetConfigurationResponse {
    required Status status = 1;
    optional LightType lightType = 2;
    optional DaliConfiguration daliConfiguration = 3;                                    // Contains specific configuration for DALI controllers.
    optional RelayConfiguration relayConfiguration = 4;                                  // Contains specific configuration for Relay.
    optional uint32 shortTermHistoryIntervalMinutes = 5;                                 // Deprecated, no longer supported by the platform.
    optional LinkType preferredLinkType = 6;
    optional MeterType meterType = 7;                                                    // Deprecated, no longer supported by the platform.
    optional uint32 longTermHistoryInterval = 8;                                         // Deprecated, no longer supported by the platform.
    optional LongTermIntervalType longTermHistoryIntervalType = 9;                       // Deprecated, no longer supported by the platform.
    optional uint32 timeSyncFrequency = 10 [default = 86400];                            // Time synch frequency (seconds).
    optional bytes deviceFixIpValue = 11; // [(nanopb).max_count = 4];                   // The fixed IP address of this device.
    optional bytes netMask = 12; // [(nanopb).max_count = 4];                            // Network mask for fixed IP address.
    optional bytes gateWay = 13; // [(nanopb).max_count = 4];                            // Gateway address for fixed IP address.
    optional bool isDhcpEnabled = 14 [default = true];                                   // Is DHCP enabled for this device?
//    optional bool isTlsEnabled = 15;                                                     // Defines if TLS is enabled.
//    optional uint32 oslpBindPortNumber = 16;                                             // The port used for TLS connections.
//    optional string commonNameString = 17 [default = 'TLS Test']; //[default = 'TLS Test',(nanopb).max_count = 25]; // The common name (CN) used when isTlsEnabled equals true.
    optional uint32 communicationTimeout = 15 [default = 20];                            // Communication Timeouts (seconds) (wait for answer, socket establish, or server response = comm watchdog for local mode).
    optional uint32 communicationNumberOfRetries = 16 [default = 3];                     // Communication number of retries.
    optional uint32 communicationPauseTimeBetweenConnectionTrials = 17 [default = 60];   // Time between communication attempts.
    optional bytes ospgIpAddress = 18; // [(nanopb).max_count = 4];                      // The IP address of the platform.
    optional uint32 osgpPortNumber = 19;                                                 // The port number of the platform.
    optional bool isTestButtonEnabled = 20 [default = true];                             // Is the test button enabled for this device?
    optional bool isAutomaticSummerTimingEnabled = 21 [default = true];                  // Is the automatic summer timing enabled for this device?
    optional sint32 astroGateSunRiseOffset = 22 [default = 0];                           // The calculated sunrise time modified by this value. Time is moved earlier (if offset is negative) or later (if offset is positive). In seconds.
    optional sint32 astroGateSunSetOffset = 23 [default = 0];                            // The calculated sunset time modified by this value. Time is moved earlier (if offset is negative) or later (if offset is positive). In seconds.
    repeated uint32 switchingDelay = 24; // [(nanopb).max_count = 4];                    // Switching delay (seconds), array of 4 values. Default 0, 0, 0, 0.
    repeated RelayMatrix relayLinking = 25;                                              // Relay linking is a software linking, to may link each relay with each other relay. It is a matrix. Example, if relay 1 is linked with relay 3, if relay 1 will be switched (by OSGP or local by internal scheduler), the relay 3 will switch automatically (on or off, as it set) without new command.
    optional bool relayRefreshing = 26 [default = true];                                 // Is relayRefreshing enabled for this device? Set minutely the nominal relay state and status according to active schedule after power outage and missed switching or anti manipulation.
    optional string summerTimeDetails = 27 [default = '0360100']; //[default = '0360100',(nanopb).max_count = 7]; // The time point for DST for Europe is not identical in every country. It should be added as parameters the weekday, month and time point for DST/summer and winter.
    optional string winterTimeDetails = 28 [default = '1060200']; //[default = '1060200',(nanopb).max_count = 7]; // The time point for DST for Europe is not identical in every country. It should be added as parameters the weekday, month and time point for DST/summer and winter.
}

message SwitchConfigurationRequest {
    required bytes newConfigurationSet = 1; // [(nanopb).max_count = 1]; // The index of the configuration set (0,1).
}

message SwitchConfigurationResponse {
    required Status status = 1; // FIRMWARE_EVENTS_CONFIGURATION_CHANGED Event will be sent, after the Configuration change.
}

message ConfirmRegisterDeviceRequest {
    required uint32 randomDevice = 1;
    required uint32 randomPlatform = 2;
}

message ConfirmRegisterDeviceResponse {
    required Status status = 1;
    required uint32 randomDevice = 2;
    required uint32 randomPlatform = 3;
    required uint32 sequenceWindow = 4;
}

// ========= Monitoring

// Deprecated, no longer supported by the platform.
message GetPowerUsageHistoryRequest {
    required TimePeriod timePeriod = 1;
    optional uint32 page = 2;
    required HistoryTermType termType = 3;
}

// Deprecated, no longer supported by the platform.
message GetPowerUsageHistoryResponse {
    required Status status = 1;
    repeated PowerUsageData powerUsageData = 2; // [(nanopb).max_count = 20]; 
    optional PageInfo pageInfo = 3;
}

// Deprecated, no longer supported by the platform.
message GetActualPowerUsageRequest {
    optional bool present = 1 [default = true];
}

// Deprecated, no longer supported by the platform.
message GetActualPowerUsageResponse {
    required Status status = 1;
    required PowerUsageData powerUsageData = 2;
}

// ========= Certificate Management
message UpdateDeviceSslCertificationRequest {
    required string certificateDomain = 1; // [(nanopb).max_size = 100]; // The domain name of the certificate Server.
    required string certificateUrl = 2; // [(nanopb).max_size = 255];    // The relative path of the certificate.
}

message UpdateDeviceSslCertificationResponse {
    required Status status = 1;
}

// ========= Key Management
message SetDeviceVerificationKeyRequest {
    required bytes certificateChunk = 1; // [(nanopb).max_size = 138]; // Verification key / public key of the platform to check the validity of an incoming message.
}

message SetDeviceVerificationKeyResponse {
    required Status status = 1;
}

// ========= Types
message LocationInfo {
    optional sint32 timeOffset = 1; // Correction in minutes with respect to UTC.
    optional sint32 latitude = 2;   // Divide by 1000000 to get float value.
    optional sint32 longitude = 3;  // Divide by 1000000 to get float value.
}

message LightValue {
    optional bytes index = 1; // [(nanopb).max_size = 1]; // Index number of connected light (DALI), none means all connected lights.
    required bool on = 2;
    optional bytes dimValue = 3; // [(nanopb).max_size = 1]; // 1 - 100 %
}

message EventNotification {
    required Event event = 1;
    optional bytes index = 2; // [(nanopb).max_size=1];
    optional string description = 3; // [(nanopb).max_size = 81];
    optional string timestamp = 4; // [(nanopb).max_size = 15]; // - Format YYYYMMDDhhmmss UTC, indicates the date and time of the event.
}

message Schedule {
    required Weekday weekday = 1;
    optional string startDay = 2; // [(nanopb).max_size = 9]; //- Format YYYYMMDD UTC, indicates the range of a schedule entry, from startDay.
    optional string endDay = 3; // [(nanopb).max_size = 9]; // - Format YYYYMMDD UTC, including endDay.
    required ActionTime actionTime = 4;
    optional string time = 5; // [(nanopb).max_size = 7]; // - Format hhmmss localtime set when actionTime = ABSOLUTETIME.
    optional Window window = 6;           // Window to wait for light sensor trigger.
    repeated LightValue value = 7; // [(nanopb).max_count = 6];
    optional TriggerType triggerType = 8; // React to setTransition or switch astronomical.
    optional uint32 minimumLightsOn = 9;  // Minimal time (in seconds) the lights should burn before deciding to switch the lights on.
    optional uint32 index = 10;           // Index of schedule entry in the schedule list.
    optional bool isEnabled = 11;         // Is this schedule entry enabled?
}

message Window {
    required uint32 minutesBefore = 1; // Minutes before sunset / sunrise.
    required uint32 minutesAfter = 2;  // Minutes after sunset / sunrise.
}

message DaliConfiguration {
    optional bytes numberOfLights = 1; // [(nanopb).max_size = 1]; // Number of lights connected to DALI controller.
    repeated IndexAddressMap addressMap = 2; // [(nanopb).max_count = 4];
}

message RelayConfiguration {
    repeated IndexAddressMap addressMap = 1; // [(nanopb).max_count = 6];
}

message RelayMatrix {
    required bytes masterRelayIndex = 1;  // [(nanopb).max_count = 1];
    required bool masterRelayOn = 2; // [(nanopb).max_count = 1];
    optional bytes indicesOfControlledRelaysOn = 3; // [(nanopb).max_count = 4];  // IndexNumber of output Relay to switch ON if Master Relay state changes as determined by masterRelayOn.
    optional bytes indicesOfControlledRelaysOff = 4; // [(nanopb).max_count = 4]; // IndexNumber of output Relay to switch OFF if Master Relay sate changes as determined by MasterRelayOff.
}

message IndexAddressMap {
    required bytes index = 1; // [(nanopb).max_size = 1];   // External index, for example 1.
    required bytes address = 2; // [(nanopb).max_size = 1]; // Internal address, for example 2.
    required RelayType relayType = 3;
}

message PageInfo {
    required uint32 currentPage = 1; // Pages start from 1.
    required uint32 pageSize = 2;
    required uint32 totalPages = 3;
}

// Deprecated, no longer supported by the platform.
message TimePeriod {
    required string startTime = 1; // [(nanopb).max_size = 15]; // - Format YYYYMMDDhhmmss UTC.
    required string endTime = 2; // [(nanopb).max_size = 15];   // - format YYYYMMDDhhmmss UTC.
}

// Deprecated, no longer supported by the platform.
message PowerUsageData {
    required string recordTime = 1; // [(nanopb).max_size = 15];    // Record time - format YYYYMMDDhhmmss UTC.
    required MeterType meterType = 2;                               // Meter type (P1, Pulse, Aux).
    required uint64 totalConsumedEnergy = 3;                        // Electricity delivered to client (Tariff I + Tarrif II) in 0,001 kWh.
    required uint32 actualConsumedPower = 4;                        // Actual Electricity power delivered in W.
    optional PsldData psldData = 5;
    optional SsldData ssldData = 6;
}

message PsldData {
    required uint32 totalLightingHours = 1; // Total lighting hours
}

// Deprecated, no longer supported by the platform.
message SsldData {
    required uint32 actualCurrent1 = 1;             // Instantaneous current L1 in mA.
    required uint32 actualCurrent2 = 2;             // Instantaneous current L2 in mA.
    required uint32 actualCurrent3 = 3;             // Instantaneous current L3 in mA.
    required uint32 actualPower1 = 4;               // Instantaneous active power L1 in W.
    required uint32 actualPower2 = 5;               // Instantaneous active power L2 in W.
    required uint32 actualPower3 = 6;               // Instantaneous active power L3 in W.
    required uint32 averagePowerFactor1 = 7;        // Power factor L1 (in 1/2^32) in steps of 0.1, 10 equals a power factor of 1.
    required uint32 averagePowerFactor2 = 8;        // Power factor L2 (in 1/2^32) in steps of 0.1, 10 equals a power factor of 1.
    required uint32 averagePowerFactor3 = 9;        // Power factor L3 (in 1/2^32) in steps of 0.1, 10 equals a power factor of 1.
    repeated RelayData relayData = 10; // [(nanopb).max_count = 4]; // Measurement data per relay.
}

// Deprecated, no longer supported by the platform.
message RelayData {
    required bytes index = 1; // [(nanopb).max_size = 1]; // external index, for example 1
    required uint32 totalLightingMinutes = 2; // Total lighting minutes for lighting relay
}

// ========= Enumerations

// ========= Event Notification
enum NotificationBit {
    DIAG_EVENTS = 1;
    HARDWARE_FAILURE = 2;
    LIGHT_EVENTS = 4;      // For example LightValue changes.
    TARIFF_EVENTS = 8;     // For example Tariff changes.
    MONITOR_EVENTS = 16;   // For example monitor buffer is almost full.
    FIRMWARE_EVENTS = 32;  // For example firmware activation.
    COMM_EVENTS = 64;      // For example alternative channel.
    SECURITY_EVENTS = 128; // For example out of sequence.
}

//Events must map to their notification bit:
//EG: 0000-0999 =1
//    1000-1999 =2
//    2000-2999 =4
//    3000-3999 =8
//    4000-4999 =16
//    5000-5999 =32
//    6000-6999 =64
//    7000-7999 =128
// OR to check  2^((event num)/1000)=notification bit

enum Event {
    // 0 - 999 Diagnostics
    DIAG_EVENTS_GENERAL = 0;              // Multi-purpose event, see description of event notification for more information.
    DIAG_EVENTS_UNKNOWN_MESSAGE_TYPE = 1; // Message type unknown by device.

    // 1000 - 1999 Hardware Failures
    HARDWARE_FAILURE_RELAY = 1000;                // Index indicates relay (not supported yet).
    HARDWARE_FAILURE_FLASH_WRITE_ERROR = 1001;    // Error while writing to flash memory.
    HARDWARE_FAILURE_FLASH_MEMORY_CORRUPT = 1002; // Error while reading from flash memory, flash memory corrupt.
    HARDWARE_FAILURE_RTC_NOT_SET = 1003;          // Real Time Clock has not set.

    // 2000 - 2999 Light Events
    LIGHT_EVENTS_LIGHT_ON = 2000;               // Index indicates light.
    LIGHT_EVENTS_LIGHT_OFF = 2001;              // Index indicates light.
    LIGHT_FAILURE_DALI_COMMUNICATION = 2500;    // DALI communication failure.
    LIGHT_FAILURE_BALLAST = 2501;               // Ballast failure detected (DALI only).
    LIGHT_FAILURE_TARIFF_SWITCH_ATTEMPT = 2502; // Attempt to switch an end-point configured as tariff from OVL schedule or manual override (index indicates end-point).

    // 3000 - 3999 Tariff Events
    TARIFF_EVENTS_TARIFF_ON = 3000;  // Tariff switched on.
    TARIFF_EVENTS_TARIFF_OFF = 3001; // Tariff switched off.

    // 4000 - 4999
    MONITOR_EVENTS_LONG_BUFFER_FULL = 4000;  // Long term monitoring buffer overrun occurred.
    MONITOR_FAILURE_P1_COMMUNICATION = 4500; // P1 meter could not be read.
    MONITOR_SHORT_DETECTED = 4600;           // A short has been detected.
    MONITOR_SHORT_RESOLVED = 4601;           // A short has been resolved.
    MONITOR_DOOR_OPENED = 4700;              // Indicates that the enclose of the has been opened. 
    MONITOR_DOOR_CLOSED = 4701;              // Indicates that the enclosure of the device has been closed.
    MONITOR_EVENTS_TEST_RELAY_ON = 4702;     // Relay was switched on by self-test function.
    MONITOR_EVENTS_TEST_RELAY_OFF = 4703;    // Relay was switched off by self-test function.
    MONITOR_EVENTS_LOSS_OF_POWER = 4800;     // The device had a power outage.
    MONITOR_EVENTS_LOCAL_MODE = 4900;        // Device switched to local mode.
    MONITOR_EVENTS_REMOTE_MODE = 4901;       // Device switched to remote mode.

    // 5000 - 5999 Firmware Events
    FIRMWARE_EVENTS_ACTIVATING = 5000;            // Start activating new firmware, after downloading. Or indicates that the device has switched from one firmware bank to another.
    FIRMWARE_EVENTS_DOWNLOAD_NOTFOUND = 5501;     // Download of firmware failed, i.e. location incorrect.
    FIRMWARE_EVENTS_DOWNLOAD_FAILED = 5502;       // Download of firmware failed, image incorrect.
    FIRMWARE_EVENTS_CONFIGURATION_CHANGED = 5503; // Configuration changed from one bank to other (after request from platform).

    // 6000 – 6999
    COMM_EVENTS_ALTERNATIVE_CHANNEL = 6000; // Alternative channel selected for communication (description contains selected channel GPRS/CDMA/Ethernet).
    COMM_EVENTS_RECOVERED_CHANNEL = 6001;   // Communication has been recovered for this channel.

    // 7000 - 7999
    SECURITY_EVENTS_OUT_OF_SEQUENCE = 7000;          // Out of sequence occurred and sequence number is renegotiated.
    SECURITY_EVENTS_OSLP_VERIFICATION_FAILED = 7001; // OSLP message could not be verified.
    SECURITY_EVENTS_INVALID_CERTIFICATE = 7002;      // Invalid TLS certificate.
}

// ========= Enums
enum TriggerType {
    TT_NOT_SET = 0;
    LIGHT_TRIGGER = 1;
    ASTRONOMICAL = 2;
}

enum TransitionType {
    NIGHT_DAY = 0;
    DAY_NIGHT = 1;
}

enum Weekday {
    MONDAY = 1;
    TUESDAY = 2;
    WEDNESDAY = 3;
    THURSDAY = 4;
    FRIDAY = 5;
    SATURDAY = 6;
    SUNDAY = 7;
    WEEKDAY = 8;
    WEEKEND = 9;
    ABSOLUTEDAY = 10;
    ALL = 11;
}

enum ActionTime {
    ABSOLUTETIME = 1;
    SUNRISE = 2;
    SUNSET = 3;
}

enum DeviceType {
    PSLD = 0;
    SSLD = 1;
}

enum Status {
    OK = 0;
    FAILURE = 1;  // General failure.
    REJECTED = 2; // Request received in wrong state.
}

enum LightType {
    LT_NOT_SET = 0;
    RELAY = 1;
    ONE_TO_TEN_VOLT = 2;
    ONE_TO_TEN_VOLT_REVERSE = 3;
    DALI = 4;
}

enum RelayType {
    RT_NOT_SET = 0;
    LIGHT = 1;
    TARIFF = 2;
}

// Deprecated, no longer supported by the platform.
enum MeterType {
    MT_NOT_SET = 0;
    P1 = 1;
    PULSE = 2;
    AUX = 3;
}

enum LinkType {
    LINK_NOT_SET = 0;
    GPRS = 1;
    CDMA = 2;
    ETHERNET = 3;
}

// Deprecated, no longer supported by the platform.
enum LongTermIntervalType {
    LT_INT_NOT_SET = 0;
    DAYS = 1;
    MONTHS = 2;
}

// Deprecated, no longer supported by the platform.
enum HistoryTermType {
    Short = 0;
    Long = 1;
}

RegisterDevice

hashtag
Description

The device registration is a 2 step process. First RegisterDeviceRequest and RegisterDeviceResponse are exchanged between device and platform. Second are exchanged.

Request that notifies the platform a device which wants to register. During the registration the sequence number is reset to a random value the platform is notified if the device has a light schedule, the type of the device, the device identification, and the device communicates its IP address to the platform. Also a random number is determined by the device and this 'randomDevice' should be present in the response form the platform.

GetConfiguration

hashtag
Description

Request to fetch the current configuration of a device.

Response communicates if the request was executed. If 'status = OK' then the optional fields will be partly populated. Note that DaliConfiguration is only present for devices with 'lightType = DALI', which are of device type PSLD. Note that RelayConfiguration is only present for devices with 'lightType = RELAY | ONE_TO_TEN_VOLT | ONE_TO_TEN_VOLT_REVERSE', which are of device type SSLD.

Response which holds the time of the platform so the device can synchronize the time, contains location information for the device like GPS coordinates and Daylight Saving Time information. The device will sent ConfirmRegisterDeviceRequest after receiving the RegisterDeviceResponse. Also a random number is determined by the platform and this 'randomPlatform' should be present in the next request 'ConfirmRegisterDeviceRequest' by the device.

hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

OSLP RegisterDeviceRequest sent from 'device-01' to platform:

OSLP RegisterDeviceResponse sent from platform to 'device-01':

ConfirmRegisterDeviceRequest and ConfirmRegisterDeviceResponse messages
registerDeviceRequest {
  deviceIdentification: "device-01"
  ipAddress: "#\000\000\001"
  deviceType: SSLD
  hasSchedule: false
  randomDevice: 13246
}
hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP GetConfigurationRequest message sent to 'device-01':

OSLP GetConfigurationResponse message sent to platform:

getConfigurationRequest {
}
message RegisterDeviceRequest {
    required string deviceIdentification = 1; // [(nanopb).max_size = 41];
    required bytes ipAddress = 2; // [(nanopb).max_size = 4];
    required DeviceType deviceType = 3;
    required bool hasSchedule = 4;
    required uint32 randomDevice = 5; // 16 bits
}

message RegisterDeviceResponse {
    required Status status = 1;
    required string currentTime = 2; // [(nanopb).max_size = 15];// - format YYYYMMDDhhmmss UTC
    required uint32 randomDevice = 3;
    required uint32 randomPlatform = 4;
    optional LocationInfo locationInfo = 5; // Location information of device
}
enum DeviceType {
    PSLD = 0;
    SSLD = 1;
}

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}

message LocationInfo {
    optional sint32 timeOffset = 1; // correction in minutes with respect to UTC
    optional sint32 latitude = 2; // divide by 1000000 to get float value
    optional sint32 longitude = 3; // divide by 1000000 to get float value
}
registerDeviceResponse {
  status: OK
  currentTime: "20160106135210"
  randomDevice: 13246
  randomPlatform: 44765
  locationInfo {
    timeOffset: 60
    latitude: 50889228
    longitude: 5974140
  }
}
message GetConfigurationRequest {
    optional bool present = 1 [default = true];
}

message GetConfigurationResponse {
    required Status status = 1;
    optional LightType lightType = 2;
    optional DaliConfiguration daliConfiguration = 3;                                    // Contains specific configuration for DALI controllers.
    optional RelayConfiguration relayConfiguration = 4;                                  // Contains specific configuration for Relay.
    optional uint32 shortTermHistoryIntervalMinutes = 5; 
    optional LinkType preferredLinkType = 6;
    optional MeterType meterType = 7;
    optional uint32 longTermHistoryInterval = 8; 
    optional LongTermIntervalType longTermHistoryIntervalType = 9;
    optional uint32 timeSyncFrequency = 10 [default = 86400];                            // Time synch frequency (seconds).
    optional bytes deviceFixIpValue = 11; // [(nanopb).max_count = 4];                   // The fixed IP address of this device.
    optional bytes netMask = 12; // [(nanopb).max_count = 4];                            // Network mask for fixed IP address.
    optional bytes gateWay = 13; // [(nanopb).max_count = 4];                            // Gateway address for fixed IP address.
    optional bool isDhcpEnabled = 14 [default = true];                                   // Is DHCP enabled for this device?
    optional bool isTlsEnabled = 15;                                                     // Defines if TLS is enabled.
    optional uint32 oslpBindPortNumber = 16;                                             // The port used for TLS connections.
    optional string commonNameString = 17 [default = 'TLS Test']; //[default = 'TLS Test',(nanopb).max_count = 25]; // The common name (CN) used when isTlsEnabled equals true.
    optional uint32 communicationTimeout = 18 [default = 20];                            // Communication Timeouts (seconds) (wait for answer, socket establish, or server response = comm watchdog for local mode).
    optional uint32 communicationNumberOfRetries = 19 [default = 3];                     // Communication number of retries.
    optional uint32 communicationPauseTimeBetweenConnectionTrials = 20 [default = 60];   // Time between communication attempts.
    optional bytes ospgIpAddress = 21; // [(nanopb).max_count = 4];                      // The IP address of the platform.
    optional uint32 osgpPortNumber = 22;                                                 // The port number of the platform.
    optional bool isTestButtonEnabled = 23 [default = true];                             // Is the test button enabled for this device?
    optional bool isAutomaticSummerTimingEnabled = 24 [default = true];                  // Is the automatic summer timing enabled for this device?
    optional sint32 astroGateSunRiseOffset = 25 [default = 0];                           // The calculated sunrise time modified by this value. Time is moved earlier (if offset is negative) or later (if offset is positive). In seconds.
    optional sint32 astroGateSunSetOffset = 26 [default = 0];                            // The calculated sunset time modified by this value. Time is moved earlier (if offset is negative) or later (if offset is positive). In seconds.
    repeated uint32 switchingDelay = 27; // [(nanopb).max_count = 4];                    // Switching delay (seconds), array of 4 values. Default 0, 0, 0, 0.
    repeated RelayMatrix relayLinking = 28;                                              // Relay linking is a software linking, to may link each relay with each other relay. It is a matrix. Example, if relay 1 is linked with relay 3, if relay 1 will be switched (by OSGP or local by internal scheduler), the relay 3 will switch automatically (on or off, as it set) without new command.
    optional bool relayRefreshing = 29 [default = true];                                 // Is relayRefreshing enabled for this device? Set minutely the nominal relay state and status according to active schedule after power outage and missed switching or anti manipulation.
    optional string summerTimeDetails = 30 [default = '0360100']; //[default = '0360100',(nanopb).max_count = 7]; // The time point for DST for Europe is not identical in every country. It should be added as parameters the weekday, month and time point for DST/summer and winter.
    optional string winterTimeDetails = 31 [default = '1060200']; //[default = '1060200',(nanopb).max_count = 7]; // The time point for DST for Europe is not identical in every country. It should be added as parameters the weekday, month and time point for DST/summer and winter.
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}

enum LightType {
    LT_NOT_SET = 0;
    RELAY = 1;
    ONE_TO_TEN_VOLT = 2;
    ONE_TO_TEN_VOLT_REVERSE = 3;
    DALI = 4;
}

message DaliConfiguration {
    optional bytes numberOfLights = 1; // [(nanopb).max_size = 1]; // number of lights connected to DALI controller
    repeated IndexAddressMap addressMap = 2; // [(nanopb).max_count = 4];
}

message RelayConfiguration {
    repeated IndexAddressMap addressMap = 1; // [(nanopb).max_count = 6];
}

message IndexAddressMap {
    required bytes index = 1; // [(nanopb).max_size = 1]; // external index, for example 1
    required bytes address = 2; // [(nanopb).max_size = 1]; // internal address, for example 2
    required RelayType relayType = 3;
}

enum RelayType {
    RT_NOT_SET = 0;
    LIGHT = 1;
    TARIFF = 2;
}

enum LinkType {
    LINK_NOT_SET = 0;
    GPRS = 1;
    CDMA = 2;
    ETHERNET = 3;
}

enum MeterType {
    MT_NOT_SET = 0;
    P1 = 1;
    PULSE = 2;
    AUX = 3;
}

enum LongTermIntervalType {
    LT_INT_NOT_SET = 0;
    DAYS = 1;
    MONTHS = 2;
}

message RelayMatrix {
    required bytes masterRelayIndex = 1;  // [(nanopb).max_count = 1];
    required bool masterRelayOn = 2; // [(nanopb).max_count = 1];
    optional bytes indicesOfControlledRelaysOn = 3; // [(nanopb).max_count = 4];  // IndexNumber of output Relay to switch ON if Master Relay state changes as determined by masterRelayOn.
    optional bytes indicesOfControlledRelaysOff = 4; // [(nanopb).max_count = 4]; // IndexNumber of output Relay to switch OFF if Master Relay sate changes as determined by MasterRelayOff.
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:con="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>Kevin</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <con:GetConfigurationRequest>
         <con:DeviceIdentification>device-01</con:DeviceIdentification>
      </con:GetConfigurationRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetConfigurationAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20161007142028655</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:GetConfigurationAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:con="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>Kevin</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <con:GetConfigurationAsyncRequest>
         <con:AsyncRequest>
            <com:CorrelationUid>LianderNetManagement|||device-01|||20161007142028655</com:CorrelationUid>
            <com:DeviceId>device-01</com:DeviceId>
         </con:AsyncRequest>
      </con:GetConfigurationAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetConfigurationResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
         <ns2:Configuration>
            <ns2:LightType>RELAY</ns2:LightType>
            <ns2:RelayConfiguration>
               <ns2:RelayMap>
                  <ns2:Index>1</ns2:Index>
                  <ns2:Address>1</ns2:Address>
                  <ns2:RelayType>TARIFF</ns2:RelayType>
               </ns2:RelayMap>
               <ns2:RelayMap>
                  <ns2:Index>2</ns2:Index>
                  <ns2:Address>2</ns2:Address>
                  <ns2:RelayType>LIGHT</ns2:RelayType>
               </ns2:RelayMap>
               <ns2:RelayMap>
                  <ns2:Index>3</ns2:Index>
                  <ns2:Address>3</ns2:Address>
                  <ns2:RelayType>LIGHT</ns2:RelayType>
               </ns2:RelayMap>
               <ns2:RelayMap>
                  <ns2:Index>4</ns2:Index>
                  <ns2:Address>4</ns2:Address>
                  <ns2:RelayType>LIGHT</ns2:RelayType>
               </ns2:RelayMap>
            </ns2:RelayConfiguration>
            <ns2:PreferredLinkType>ETHERNET</ns2:PreferredLinkType>
            <ns2:TimeSyncFrequency>86400</ns2:TimeSyncFrequency>
            <ns2:DeviceFixedIp>
               <ns2:IpAddress>192.168.0.100</ns2:IpAddress>
               <ns2:NetMask>255.255.255.0</ns2:NetMask>
               <ns2:GateWay>192.168.0.1</ns2:GateWay>
            </ns2:DeviceFixedIp>
            <ns2:DhcpEnabled>false</ns2:DhcpEnabled>
            <ns2:TlsEnabled>true</ns2:TlsEnabled>
            <ns2:TlsPortNumber>1234</ns2:TlsPortNumber>
            <ns2:CommonNameString>TLS Test</ns2:CommonNameString>
            <ns2:CommunicationTimeout>30</ns2:CommunicationTimeout>
            <ns2:CommunicationNumberOfRetries>5</ns2:CommunicationNumberOfRetries>
            <ns2:CommunicationPauseTimeBetweenConnectionTrials>120</ns2:CommunicationPauseTimeBetweenConnectionTrials>
            <ns2:OsgpIpAddress>168.63.97.65</ns2:OsgpIpAddress>
            <ns2:OsgpPortNumber>12122</ns2:OsgpPortNumber>
            <ns2:TestButtonEnabled>false</ns2:TestButtonEnabled>
            <ns2:AutomaticSummerTimingEnabled>false</ns2:AutomaticSummerTimingEnabled>
            <ns2:AstroGateSunRiseOffset>-15</ns2:AstroGateSunRiseOffset>
            <ns2:AstroGateSunSetOffset>15</ns2:AstroGateSunSetOffset>
            <ns2:SwitchingDelays>1</ns2:SwitchingDelays>
            <ns2:SwitchingDelays>2</ns2:SwitchingDelays>
            <ns2:SwitchingDelays>3</ns2:SwitchingDelays>
            <ns2:SwitchingDelays>4</ns2:SwitchingDelays>
            <ns2:RelayLinking>
               <ns2:MasterRelayIndex>2</ns2:MasterRelayIndex>
               <ns2:MasterRelayOn>false</ns2:MasterRelayOn>
               <ns2:IndicesOfControlledRelaysOn>3</ns2:IndicesOfControlledRelaysOn>
               <ns2:IndicesOfControlledRelaysOn>4</ns2:IndicesOfControlledRelaysOn>
               <ns2:IndicesOfControlledRelaysOff>3</ns2:IndicesOfControlledRelaysOff>
               <ns2:IndicesOfControlledRelaysOff>4</ns2:IndicesOfControlledRelaysOff>
            </ns2:RelayLinking>
            <ns2:RelayRefreshing>false</ns2:RelayRefreshing>
            <ns2:SummerTimeDetails>2016-03-27T01:00:00.000+01:00</ns2:SummerTimeDetails>
            <ns2:WinterTimeDetails>2016-10-30T02:00:00.000+02:00</ns2:WinterTimeDetails>
         </ns2:Configuration>
      </ns2:GetConfigurationResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
getConfigurationResponse {
  status: OK
  lightType: RELAY
  relayConfiguration {
    addressMap {
      index: "\001"
      address: "\001"
      relayType: TARIFF
    }
    addressMap {
      index: "\002"
      address: "\002"
      relayType: LIGHT
    }
    addressMap {
      index: "\003"
      address: "\003"
      relayType: LIGHT
    }
    addressMap {
      index: "\004"
      address: "\004"
      relayType: LIGHT
    }
  }
  shortTermHistoryIntervalMinutes: 15
  preferredLinkType: ETHERNET
  meterType: MT_NOT_SET
  longTermHistoryInterval: 1
  longTermHistoryIntervalType: LT_INT_NOT_SET
  timeSyncFrequency: 86400
  deviceFixIpValue: "\300\250\000d"
  netMask: "\377\377\377\000"
  gateWay: "\300\250\000\001"
  isDhcpEnabled: false
  isTlsEnabled: true
  oslpBindPortNumber: 1234
  commonNameString: "TLS Test"
  communicationTimeout: 30
  communicationNumberOfRetries: 5
  communicationPauseTimeBetweenConnectionTrials: 120
  ospgIpAddress: "\250?aA"
  osgpPortNumber: 12122
  isTestButtonEnabled: false
  isAutomaticSummerTimingEnabled: false
  astroGateSunRiseOffset: -15
  astroGateSunSetOffset: 15
  switchingDelay: 1
  switchingDelay: 2
  switchingDelay: 3
  switchingDelay: 4
  relayLinking {
    masterRelayIndex: "\002"
    masterRelayOn: false
    indicesOfControlledRelaysOn: "\003\004"
    indicesOfControlledRelaysOff: "\003\004"
  }
  relayRefreshing: false
  summerTimeDetails: "0360100"
  winterTimeDetails: "1060200"
}

SetConfiguration

hashtag
Description

Request to push configuration settings to a device.

Response communicates status.

hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP SetConfigurationRequest sent to 'device-01':

OSLP SetConfigurationResponse sent to platform:

SetEventNotifications

hashtag
Description

Request which contains the EventNotification mask.

Response communicates status.

hashtag
Message definitions

hashtag
Data types

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP SetEventNotificationsRequest sent to 'device-01' to set EventNotifications:

OSLP SetEventNotificationsResponse sent to platform:

EventNotification

hashtag
Description

Request sent from device to platform containing information about 1 to 6 events.

Response sent from platform to 'device-01' communicates status.

hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

OSLP request sent from 'device-01' to platform:

OSLP response sent to 'device-01':

ResumeSchedule

hashtag
Description

Request that notifies the device to continue the current schedule after the current schedule was interrupted (for example by switching by hand using SetLightRequest). This request can operate on a single relay or on all relays and the resuming of the schedule can be immediate or at the next schedule-entry.

Response which confirms the ResumeScheduleRequest has been executed or rejects the ResumeScheduleRequest.

SetSchedule

hashtag
Description

Request to set a light or tariff schedule on a device.

Response communicates status.

setConfigurationResponse {
  status: OK
}
message SetEventNotificationsRequest {
    required uint32 NotificationMask = 1; // Bitmask for max 32 events, using NotificationBit for bit positions.
}

message SetEventNotificationsResponse {
    required Status status = 1;
}
message EventNotificationRequest {
    repeated EventNotification notifications = 1; // [(nanopb).max_count = 6];
}

message EventNotificationResponse {
    required Status status = 1;
}
hashtag
Message definitions

hashtag
Data types

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP ResumeScheduleRequest sent to 'device-01':

OSLP ResumeScheduleResponse sent to platform:

message ResumeScheduleRequest {
    optional bytes index = 1; // [(nanopb).max_size = 1]; // index number of connected light (DALI), none means all connected lights.
    required bool immediate = 2; // [default = false]; // Resume at next schedule item or direct
}

message ResumeScheduleResponse {
    required Status status = 1;
}
message SetConfigurationRequest {
    optional LightType lightType = 1;
    optional DaliConfiguration daliConfiguration = 2;                                    // Contains specific configuration for DALI controllers.
    optional RelayConfiguration relayConfiguration = 3;                                  // Contains specific configuration for Relay.
    optional uint32 shortTermHistoryIntervalMinutes = 4; 
    optional LinkType preferredLinkType = 5;
    optional MeterType meterType = 6;
    optional uint32 longTermHistoryInterval = 7; 
    optional LongTermIntervalType longTermHistoryIntervalType = 8;
    optional uint32 timeSyncFrequency = 9 [default = 86400];                             // Time synch frequency (seconds).
    optional bytes deviceFixIpValue = 10; // [(nanopb).max_count = 4];                   // The fixed IP address of this device.
    optional bytes netMask = 11; // [(nanopb).max_count = 4];                            // Network mask for fixed IP address.
    optional bytes gateWay = 12; // [(nanopb).max_count = 4];                            // Gateway address for fixed IP address.
    optional bool isDhcpEnabled = 13 [default = true];                                   // Is DHCP enabled for this device?
    optional bool isTlsEnabled = 14;                                                     // Defines if TLS is enabled.
    optional uint32 oslpBindPortNumber = 15;                                             // The port used for TLS connections.
    optional string commonNameString = 16 [default = 'TLS Test']; //[default = 'TLS Test',(nanopb).max_count = 25]; // The common name (CN) used when isTlsEnabled equals true.
    optional uint32 communicationTimeout = 17 [default = 20];                            // Communication Timeouts (seconds) (wait for answer, socket establish, or server response = comm watchdog for local mode).
    optional uint32 communicationNumberOfRetries = 18 [default = 3];                     // Communication number of retries.
    optional uint32 communicationPauseTimeBetweenConnectionTrials = 19 [default = 60];   // Time between communication attempts.
    optional bytes ospgIpAddress = 20; // [(nanopb).max_count = 4];                      // The IP address of the platform.
    optional uint32 osgpPortNumber = 21;                                                 // The port number of the platform.
    optional bool isTestButtonEnabled = 22 [default = true];                             // Is the test button enabled for this device?
    optional bool isAutomaticSummerTimingEnabled = 23 [default = true];                  // Is the automatic summer timing enabled for this device?
    optional sint32 astroGateSunRiseOffset = 24 [default = 0];                           // The calculated sunrise time modified by this value. Time is moved earlier (if offset is negative) or later (if offset is positive). In seconds.
    optional sint32 astroGateSunSetOffset = 25 [default = 0];                            // The calculated sunset time modified by this value. Time is moved earlier (if offset is negative) or later (if offset is positive). In seconds.
    repeated uint32 switchingDelay = 26; // [(nanopb).max_count = 4];                    // Switching delay (seconds), array of 4 values. Default 0, 0, 0, 0.
    repeated RelayMatrix relayLinking = 27;                                              // Relay linking is a software linking, to may link each relay with each other relay. It is a matrix. Example, if relay 1 is linked with relay 3, if relay 1 will be switched (by OSGP or local by internal scheduler), the relay 3 will switch automatically (on or off, as it set) without new command.
    optional bool relayRefreshing = 28 [default = true];                                 // Is relayRefreshing enabled for this device? Set minutely the nominal relay state and status according to active schedule after power outage and missed switching or anti manipulation.
    optional string summerTimeDetails = 29 [default = '0360100']; //[default = '0360100',(nanopb).max_count = 7]; // The time point for DST for Europe is not identical in every country. It should be added as parameters the weekday, month and time point for DST/summer and winter.
    optional string winterTimeDetails = 30 [default = '1060200']; //[default = '1060200',(nanopb).max_count = 7]; // The time point for DST for Europe is not identical in every country. It should be added as parameters the weekday, month and time point for DST/summer and winter.
}
// summerTimeDetails string, winterTimeDetails:
//MMWHHmi
//
//where: (note, north hemisphere summer begins at the end of march)
//MM: month
//W:  day of the week (0- Monday, 6- Sunday)
//HH: hour of the changing time
//mi: minutes of the changing time
//
//note: The current implemention is usable in Europe and several other countries in the world, but doesn't support all situations as describe at https://en.wikipedia.org/wiki/Daylight_saving_time_by_country. Some countries don't switch the time in the last week of the month, but in the first or second. This is currently not supported.

message SetConfigurationResponse {
    required Status status = 1;
}
enum LightType {
    LT_NOT_SET = 0;
    RELAY = 1;
    ONE_TO_TEN_VOLT = 2;
    ONE_TO_TEN_VOLT_REVERSE = 3;
    DALI = 4;
}

message DaliConfiguration {
    optional bytes numberOfLights = 1; // [(nanopb).max_size = 1]; // number of lights connected to DALI controller
    repeated IndexAddressMap addressMap = 2; // [(nanopb).max_count = 4];
}

message RelayConfiguration {
    repeated IndexAddressMap addressMap = 1; // [(nanopb).max_count = 6];
}

message IndexAddressMap {
    required bytes index = 1; // [(nanopb).max_size = 1]; // external index, for example 1
    required bytes address = 2; // [(nanopb).max_size = 1]; // internal address, for example 2
    required RelayType relayType = 3;
}

enum RelayType {
    RT_NOT_SET = 0;
    LIGHT = 1;
    TARIFF = 2;
}

enum LinkType {
    LINK_NOT_SET = 0;
    GPRS = 1;
    CDMA = 2;
    ETHERNET = 3;
}

enum MeterType {
    MT_NOT_SET = 0;
    P1 = 1;
    PULSE = 2;
    AUX = 3;
}

enum LongTermIntervalType {
    LT_INT_NOT_SET = 0;
    DAYS = 1;
    MONTHS = 2;
}

message RelayMatrix {
    required bytes masterRelayIndex = 1;  // [(nanopb).max_count = 1];
    required bool masterRelayOn = 2; // [(nanopb).max_count = 1];
    optional bytes indicesOfControlledRelaysOn = 3; // [(nanopb).max_count = 4];  // IndexNumber of output Relay to switch ON if Master Relay state changes as determined by masterRelayOn.
    optional bytes indicesOfControlledRelaysOff = 4; // [(nanopb).max_count = 4]; // IndexNumber of output Relay to switch OFF if Master Relay sate changes as determined by MasterRelayOff.
}

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:con="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>Kevin</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <con:SetConfigurationRequest>
         <!--type: Identification-->
         <con:DeviceIdentification>device-01</con:DeviceIdentification>
         <!--Optional:-->
         <con:Configuration>
            <!--Optional:-->
            <!--type: LightType - enumeration: [RELAY,ONE_TO_TEN_VOLT,ONE_TO_TEN_VOLT_REVERSE,DALI]-->
            <con:LightType>RELAY</con:LightType>
            <!--Optional:-->
            <con:RelayConfiguration>
               <!--0 to 6 repetitions:-->
               <con:RelayMap>
                  <!--anonymous type-->
                  <con:Index>1</con:Index>
                  <!--anonymous type-->
                  <con:Address>1</con:Address>
                  <!--type: RelayType - enumeration: [LIGHT,TARIFF,TARIFF_REVERSED]-->
                  <con:RelayType>TARIFF</con:RelayType>
               </con:RelayMap>
               <con:RelayMap>
                  <!--anonymous type-->
                  <con:Index>2</con:Index>
                  <!--anonymous type-->
                  <con:Address>2</con:Address>
                  <!--type: RelayType - enumeration: [LIGHT,TARIFF,TARIFF_REVERSED]-->
                  <con:RelayType>LIGHT</con:RelayType>
               </con:RelayMap>
               <con:RelayMap>
                  <!--anonymous type-->
                  <con:Index>3</con:Index>
                  <!--anonymous type-->
                  <con:Address>3</con:Address>
                  <!--type: RelayType - enumeration: [LIGHT,TARIFF,TARIFF_REVERSED]-->
                  <con:RelayType>LIGHT</con:RelayType>
               </con:RelayMap>
               <con:RelayMap>
                  <!--anonymous type-->
                  <con:Index>4</con:Index>
                  <!--anonymous type-->
                  <con:Address>4</con:Address>
                  <!--type: RelayType - enumeration: [LIGHT,TARIFF,TARIFF_REVERSED]-->
                  <con:RelayType>LIGHT</con:RelayType>
               </con:RelayMap>
            </con:RelayConfiguration>
            <!--Optional:-->
            <!--type: LinkType - enumeration: [GPRS,CDMA,ETHERNET]-->
            <con:PreferredLinkType>ETHERNET</con:PreferredLinkType>

            <con:TimeSyncFrequency>864000</con:TimeSyncFrequency>
            <con:DeviceFixedIp>
               <con:IpAddress>192.168.0.110</con:IpAddress>
               <con:NetMask>255.255.255.0</con:NetMask>
               <con:GateWay>192.168.0.1</con:GateWay>
            </con:DeviceFixedIp>
            <con:DhcpEnabled>false</con:DhcpEnabled>
            <con:TlsEnabled>false</con:TlsEnabled>
            <con:TlsPortNumber>1234</con:TlsPortNumber>
            <con:CommonNameString>TLS Test</con:CommonNameString>

            <con:CommunicationTimeout>15</con:CommunicationTimeout>
            <con:CommunicationNumberOfRetries>2</con:CommunicationNumberOfRetries>
            <con:CommunicationPauseTimeBetweenConnectionTrials>120</con:CommunicationPauseTimeBetweenConnectionTrials>
            <con:OsgpIpAddress>192.168.100.42</con:OsgpIpAddress>
            <con:OsgpPortNumber>12122</con:OsgpPortNumber>
            <con:TestButtonEnabled>false</con:TestButtonEnabled>
            <con:AutomaticSummerTimingEnabled>false</con:AutomaticSummerTimingEnabled>
            <con:AstroGateSunRiseOffset>-15</con:AstroGateSunRiseOffset>
            <con:AstroGateSunSetOffset>15</con:AstroGateSunSetOffset>

            <!-- List of SwitchingDelay type, one delay per relay, max 4 entries -->
            <con:SwitchingDelays>100</con:SwitchingDelays>
            <con:SwitchingDelays>200</con:SwitchingDelays>
            <con:SwitchingDelays>300</con:SwitchingDelays>
            <con:SwitchingDelays>400</con:SwitchingDelays>

            <!-- List of RelayMatrix type -->
            <con:RelayLinking>
                <con:MasterRelayIndex>1</con:MasterRelayIndex>
                <con:MasterRelayOn>true</con:MasterRelayOn>
                <!-- List of RelayMatrixIndex, max 4 entries containing a single index between 1 and 4 -->
                <con:IndicesOfControlledRelaysOn>1</con:IndicesOfControlledRelaysOn>
                <con:IndicesOfControlledRelaysOn>2</con:IndicesOfControlledRelaysOn>
                <con:IndicesOfControlledRelaysOn>3</con:IndicesOfControlledRelaysOn>
                <con:IndicesOfControlledRelaysOn>4</con:IndicesOfControlledRelaysOn>
                <!-- List of RelayMatrixIndex, max 4 entries containing a single index between 1 and 4 -->
                <con:IndicesOfControlledRelaysOff>1</con:IndicesOfControlledRelaysOff>
                <con:IndicesOfControlledRelaysOff>2</con:IndicesOfControlledRelaysOff>
                <con:IndicesOfControlledRelaysOff>3</con:IndicesOfControlledRelaysOff>
                <con:IndicesOfControlledRelaysOff>4</con:IndicesOfControlledRelaysOff>
            </con:RelayLinking>
            <con:RelayLinking>
                <con:MasterRelayIndex>2</con:MasterRelayIndex>
                <con:MasterRelayOn>true</con:MasterRelayOn>
                <!-- List of RelayMatrixIndex, max 4 entries containing a single index between 1 and 4 -->
                <con:IndicesOfControlledRelaysOn>3</con:IndicesOfControlledRelaysOn>
                <!-- List of RelayMatrixIndex, max 4 entries containing a single index between 1 and 4 -->
                <con:IndicesOfControlledRelaysOff>3</con:IndicesOfControlledRelaysOff>
            </con:RelayLinking>
            <con:RelayRefreshing>true</con:RelayRefreshing>
            <con:SummerTimeDetails>2016-03-27T01:00:00.000+01:00</con:SummerTimeDetails>
            <con:WinterTimeDetails>2016-10-30T02:00:00.000+02:00</con:WinterTimeDetails>

         </con:Configuration>
         <!--Optional:-->
         <!--type: timestamp-->
         <!--<con:scheduled_time>2015-01-04T15:49:59Z</con:scheduled_time>-->

      </con:SetConfigurationRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetConfigurationAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20161007141853727</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetConfigurationAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:con="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>Kevin</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <con:SetConfigurationAsyncRequest>
         <con:AsyncRequest>
            <com:CorrelationUid>LianderNetManagement|||device-01|||20161007141521031</com:CorrelationUid>
            <com:DeviceId>device-01</com:DeviceId>
         </con:AsyncRequest>
      </con:SetConfigurationAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetConfigurationResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetConfigurationResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
setConfigurationRequest {
  lightType: RELAY
  relayConfiguration {
    addressMap {
      index: "\001"
      address: "\001"
      relayType: TARIFF
    }
    addressMap {
      index: "\002"
      address: "\002"
      relayType: LIGHT
    }
    addressMap {
      index: "\003"
      address: "\003"
      relayType: LIGHT
    }
    addressMap {
      index: "\004"
      address: "\004"
      relayType: LIGHT
    }
  }
  shortTermHistoryIntervalMinutes: 15
  preferredLinkType: ETHERNET
  meterType: PULSE
  longTermHistoryInterval: 1
  longTermHistoryIntervalType: DAYS
  timeSyncFrequency: 864000
  deviceFixIpValue: "\300\250\000n"
  netMask: "\377\377\377\000"
  gateWay: "\300\250\000\001"
  isDhcpEnabled: false
  isTlsEnabled: false
  oslpBindPortNumber: 1234
  commonNameString: "TLS Test"
  communicationTimeout: 15
  communicationNumberOfRetries: 2
  communicationPauseTimeBetweenConnectionTrials: 120
  ospgIpAddress: "\300\250d*"
  osgpPortNumber: 12122
  isTestButtonEnabled: false
  isAutomaticSummerTimingEnabled: false
  astroGateSunRiseOffset: -15
  astroGateSunSetOffset: 15
  switchingDelay: 100
  switchingDelay: 200
  switchingDelay: 300
  switchingDelay: 400
  relayLinking {
    masterRelayIndex: "\001"
    masterRelayOn: true
    indicesOfControlledRelaysOn: "\001\002\003\004"
    indicesOfControlledRelaysOff: "\001\002\003\004"
  }
  relayLinking {
    masterRelayIndex: "\002"
    masterRelayOn: true
    indicesOfControlledRelaysOn: "\003"
    indicesOfControlledRelaysOff: "\003"
  }
  relayRefreshing: true
  summerTimeDetails: "0360100"
  winterTimeDetails: "1060200"
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:dev="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10">
   <soapenv:Header>
   <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
   <com:UserName>liander gebruiker</com:UserName>
   <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <dev:SetEventNotificationsRequest>
         <!--type: Identification-->
         <dev:DeviceIdentification>device-01</dev:DeviceIdentification>
         <dev:EventNotifications>DIAG_EVENTS</dev:EventNotifications>
         <dev:EventNotifications>HARDWARE_FAILURE</dev:EventNotifications>
         <dev:EventNotifications>LIGHT_EVENTS</dev:EventNotifications>
         <dev:EventNotifications>TARIFF_EVENTS</dev:EventNotifications>
         <dev:EventNotifications>MONITOR_EVENTS</dev:EventNotifications>
         <dev:EventNotifications>FIRMWARE_EVENTS</dev:EventNotifications>
         <dev:EventNotifications>COMM_EVENTS</dev:EventNotifications>
         <dev:EventNotifications>SECURITY_EVENTS</dev:EventNotifications>
      </dev:SetEventNotificationsRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetEventNotificationsAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160104145052565</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetEventNotificationsAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:dev="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10">
   <soapenv:Header>
   <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
   <com:UserName>liander gebruiker</com:UserName>
   <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <dev:SetEventNotificationsAsyncRequest>
         <dev:AsyncRequest>
            <!--type: CorrelationUid-->
            <com:CorrelationUid>LianderNetManagement|||device-01|||20160104145052565</com:CorrelationUid>
            <!--type: Identification-->
            <com:DeviceId>device-01</com:DeviceId>
         </dev:AsyncRequest>
      </dev:SetEventNotificationsAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetEventNotificationsResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetEventNotificationsResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
setEventNotificationsRequest {
  NotificationMask: 255
}
setEventNotificationsResponse {
  status: OK
}
message EventNotification {
    required Event event = 1;
    optional bytes index = 2; // [(nanopb).max_size=1];
    optional string description = 3; // [(nanopb).max_size = 81];
    optional string timestamp = 4; // [(nanopb).max_size = 15]; // - Format YYYYMMDDhhmmss UTC, indicates the date and time of the event.
}

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
eventNotificationRequest {
  notifications {
    event: TARIFF_EVENTS_TARIFF_OFF
    index: "\001"
    description: "Tariff Off Example Event"
    timestamp: "20170404093500"
  }
}
eventNotificationResponse {
  status: OK
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/publiclighting/2014/10" xmlns:adh="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>liander gebruiker</com:UserName>
      <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <adh:ResumeScheduleRequest>
         <adh:DeviceIdentification>device-01</adh:DeviceIdentification>
         <!--Optional:-->
         <adh:Index>1</adh:Index>
         <adh:IsImmediate>1</adh:IsImmediate>
      </adh:ResumeScheduleRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:ResumeScheduleAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160104152159539</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:ResumeScheduleAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:adh="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>liander gebruiker</com:UserName>
      <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <adh:ResumeScheduleAsyncRequest>
         <adh:AsyncRequest>
            <com:CorrelationUid>LianderNetManagement|||device-01|||20160104152159539</com:CorrelationUid>
            <com:DeviceId>device-01</com:DeviceId>
         </adh:AsyncRequest>
      </adh:ResumeScheduleAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:ResumeScheduleResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:ResumeScheduleResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
resumeScheduleRequest {
  index: "\001"
  immediate: true
}
resumeScheduleResponse {
  status: OK
}
hashtag
Message definitions

hashtag
Datatypes

hashtag
Examples

hashtag
Example 1: Light schedule based on light measurement

Screenshot of this schedule in an OSGP client application.

screenshot of schedule

SOAP Request Message for Platform web service:

SOAP Response Message:

OSLP SetScheduleRequest sent to 'device-01' to set a Light Schedule (1 page in this case, therefore no pagingInfo needed):

OSLP SetScheduleResponse from 'device-01':

Description for this schedule:

This schedule combines a 'morning/evening light' with an 'all night light'. Relay 1 and 2 will be switched on using a light measurement trigger. Relay 2 will be switched off at 23:00 using an absolute time. Relay 2 will be switched on at 07:00, but only when no light measurement trigger has been received yet. Relay 1 and 2 will be switched off using a light measurement trigger.

The first schedule-entry:

Definitions:

  • 'index: "\000"' means: all device relays configured as LIGHT relays (see SetConfigurationRequest message)

  • 'light measurement trigger' is defined as: a SetTransitionRequest message containing a TransitionType matching the schedule-entry's actionTime value (SUNRISE matches NIGHT_DAY and SUNSET matches DAY_NIGHT)

Specifies: For all (weekday: ALL) 7 days of the week, when a light measurement trigger is received in the morning (actionTime: SUNRISE), then all device relays configured as LIGHT relays have to switch off (on: false).

When and only when a SUNRISE transition is received via a light measurement trigger (LIGHT_TRIGGER) within a window of 15 minutesBefore and 15 minutesAfter the calculated astronomical time for sunrise, then the device shall switch for the received light measurement trigger.

When no SUNRISE transition is received via a light measurement trigger (LIGHT_TRIGGER) within a window of 15 minutesBefore and 15 minutesAfter the calculated astronomical time for sunrise, then the device shall switch at the end of the window.

The triggerType (LIGHT_TRIGGER) defines how a SUNRISE (actionTime) transition will be triggered.

The second schedule-entry:

Definitions:

  • 'index: "\000"' means: all device relays configured as LIGHT relays (see SetConfigurationRequest message)

  • 'light measurement trigger' is defined as: a SetTransitionRequest message containing a TransitionType matching the schedule-entry's actionTime value (SUNRISE matches NIGHT_DAY and SUNSET matches DAY_NIGHT)

Specifies: For all (weekday: ALL) 7 days of the week, when a light measurement trigger is received in the morning (actionTime: SUNSET), then all device relays configured as LIGHT relays have to switch on (on: true).

When and only when a SUNSET transition is received via a light measurement trigger (triggerType: LIGHT_TRIGGER) within a window of 15 minutesBefore and 15 minutesAfter the calculated astronomical time for sunset, then the device shall switch for the received light measurement trigger.

When no SUNSET transition is received via a light measurement trigger (triggerType: LIGHT_TRIGGER) within a window of 15 minutesBefore and 15 minutesAfter the calculated astronomical time for sunrise, then the device shall switch at the end of the window.

The triggerType (LIGHT_TRIGGER) defines how a SUNSET (actionTime) transition will be triggered.

The third schedule-entry:

Specifies: For all (weekday: ALL) 7 days of the week, when its 11 'o clock in the evening (actionTime: ABSOLUTETIME and time: "230000") then device relay 2 has to switch off (on: false).

Since actionTime is ABSOLUTETIME, the triggerType value must be omitted from this schedule-entry.

The fourth schedule-entry:

For all (weekday: ALL) 7 days of the week, when its 7 'o clock in the morning (actionTime: ABSOLUTETIME and time: "070000") and there are no other schedule-entries that have caused the switching of device relay 2 within the window defined (minutesBefore: 150 and minutesAfter) then device relay 2 has to switch on (on: true).

Since actionTime is ABSOLUTETIME, the triggerType value must be omitted from this schedule-entry.

The last element of the SetScheduleRequest:

specifies that this is a light schedule.

SOAP Request to obtain response from 'device-01':

SOAP Response containing response from 'device-01':

hashtag
Example 2: Light schedule based on absolute time and day

SOAP messages:

OSLP SetScheduleRequest sent to 'device-01' to set a Light Schedule:

OSLP SetScheduleResponse sent to platform:

Description for this schedule:

This schedule has one entry which switches light relay 1 (index: "\001") off at January 1st 2016 at 7 'o clock in the morning. When 'weekday' is set to ABSOLUTEDAY, the date will be placed in 'startDay'.

hashtag
Example 3: Schedule using OSLP v0.6.1 specific properties

SOAP messages:

OSLP SetScheduleRequest sent to 'device-01':

OSLP SetScheduleResponse from 'device-01':

Description for this schedule:

This schedule consists of 1 page, and uses 'minimumLightOn' to indicate a minimal burning time in seconds. Further it uses 'index' and 'isEnabled' variables for the Schedule struct, to indicate what index this schedule-entry has within the list of schedule-entries and whether or not the schedule-entry is enabled.

Astronomical Offsets

The SOAP request message may contain information about astronomical offsets (see the documentation about light schedules for more details about the offsets). When AstronomicalSunriseOffset and/or AstronomicalSunsetOffset are set, they will be configured on the device by updating the configuration setting the offsets as astroGateSunRiseOffset and astroGateSunSetOffset of the SetConfigurationRequest.

hashtag
Example 4: Tariff Schedule

SOAP Request Message for Platform web service:

SOAP Response Message:

OSLP SetScheduleRequest sent to 'device-01' to set a Tariff Schedule (2 pages in this case):

OSLP SetScheduleResponse from 'device-01' for page 1:

OSLP SetScheduleResponse from 'device-01' for page 2:

Description for this schedule:

This schedule defines the tariff switching moments. For most weekdays of the year the tariff is high from 7 'o clock in the morning until 11 'o clock in the evening. During the night and weekend, the tariff is low. However for certain days, like Christmas Day, the tariff has to be low as well (Christmas Day may be a weekday).

The first schedule-entry:

specifies that for every work day of the week (weekday: WEEKDAY meaning from Monday until Friday) from 1st of January 2015 until 1st of February 2016 (startDay: "20150101" and endDay: "20160201") at 11 'o clock in the evening (actionTime: ABSOLUTETIME and time: "230000") the relay with index 3 (index: "\003") has to switch on (on: true). When a device is configured to have relay 3 as TARIFF relay, this means the tariff will be low. When a device is configured to have relay 3 as TARIFF_REVERSED, this means the tariff will be high.

The second schedule-entry:

specifies that for every work day of the week (weekday: WEEKDAY meaning from Monday until Friday) from 1st of January 2015 until 1st of February 2016 (startDay: "20150101" and endDay: "20160201") at 7 'o clock in the morning (actionTime: ABSOLUTETIME and time: "070000") the relay with index 3 (index: "\003") has to switch off (on: false). When a device is configured to have relay 3 as TARIFF relay, this means the tariff will be high. When a device is configured to have relay 3 as TARIFF_REVERSED, this means the tariff will be low.

The third schedule-entry:

specifies that for every work day of the week (weekday: WEEKDAY meaning from Monday until Friday) from 1st of January 2015 until 1st of January 2015 (startDay: "20150101" and endDay: "20150101") at 7 'o clock in the morning (actionTime: ABSOLUTETIME and time: "070000") the relay with index 3 (index: "\003") has to switch on (on: true). When a device is configured to have relay 3 as TARIFF relay, this means the tariff will be low. When a device is configured to have relay 3 as TARIFF_REVERSED, this means the tariff will be high. This schedule entry is needed to make sure that the tariff is low for a particular day of the year (New Year's Day).

The fourth schedule-entry:

specifies that for every work day of the week (weekday: WEEKDAY meaning from Monday until Friday) from 6st of April 2015 until 6st of April 2015 (startDay: "20150406" and endDay: "20150406") at 7 'o clock in the morning (actionTime: ABSOLUTETIME and time: "070000") the relay with index 3 (index: "\003") has to switch on (on: true). When a device is configured to have relay 3 as TARIFF relay, this means the tariff will be low. When a device is configured to have relay 3 as TARIFF_REVERSED, this means the tariff will be high. This schedule entry is needed to make sure that the tariff is low for a particular day of the year (Easter Monday).

The fifth schedule-entry:

specifies that for every work day of the week (weekday: WEEKDAY meaning from Monday until Friday) from 27st of April 2015 until 27st of April 2015 (startDay: "20150427" and endDay: "20150427") at 7 'o clock in the morning (actionTime: ABSOLUTETIME and time: "070000") the relay with index 3 (index: "\003") has to switch on (on: true). When a device is configured to have relay 3 as TARIFF relay, this means the tariff will be low. When a device is configured to have relay 3 as TARIFF_REVERSED, this means the tariff will be high. This schedule entry is needed to make sure that the tariff is low for a particular day of the year (Dutch Kings Day).

The pagination info:

specifies that this is the first page of a total of 2 pages. The pageSize is set by the platform and can be any value from 1 to 50.

The last element of the SetScheduleRequest:

specifies that this is a tariff schedule.

The sixth schedule-entry (page 2):

specifies that for every work day of the week (weekday: WEEKDAY meaning from Monday until Friday) from 14th of May 2015 until 14th of May 2015 (startDay: "20150514" and endDay: "20150514") at 7 'o clock in the morning (actionTime: ABSOLUTETIME and time: "070000") the relay with index 3 (index: "\003") has to switch on (on: true). When a device is configured to have relay 3 as TARIFF relay, this means the tariff will be low. When a device is configured to have relay 3 as TARIFF_REVERSED, this means the tariff will be high. This schedule entry is needed to make sure that the tariff is low for a particular day of the year (Ascension Day).

The seventh schedule-entry (page 2):

specifies that for every work day of the week (weekday: WEEKDAY meaning from Monday until Friday) from 25th of May 2015 until 25th of May 2015 (startDay: "20150525" and endDay: "20150525") at 7 'o clock in the morning (actionTime: ABSOLUTETIME and time: "070000") the relay with index 3 (index: "\003") has to switch on (on: true). When a device is configured to have relay 3 as TARIFF relay, this means the tariff will be low. When a device is configured to have relay 3 as TARIFF_REVERSED, this means the tariff will be high. This schedule entry is needed to make sure that the tariff is low for a particular day of the year (Whit Monday).

The eighth schedule-entry (page 2):

specifies that for every work day of the week (weekday: WEEKDAY meaning from Monday until Friday) from 25th of December 2015 until 25th of December 2015 (startDay: "20151225" and endDay: "20151225") at 7 'o clock in the morning (actionTime: ABSOLUTETIME and time: "070000") the relay with index 3 (index: "\003") has to switch on (on: true). When a device is configured to have relay 3 as TARIFF relay, this means the tariff will be low. When a device is configured to have relay 3 as TARIFF_REVERSED, this means the tariff will be high. This schedule entry is needed to make sure that the tariff is low for a particular day of the year (Christmas Day).

The ninth schedule-entry (page 2):

specifies that for every work day of the week (weekday: WEEKDAY meaning from Monday until Friday) from 1st of January 2016 until 1st of January 2016 (startDay: "20160101" and endDay: "20160101") at 7 'o clock in the morning (actionTime: ABSOLUTETIME and time: "070000") the relay with index 3 (index: "\003") has to switch on (on: true). When a device is configured to have relay 3 as TARIFF relay, this means the tariff will be low. When a device is configured to have relay 3 as TARIFF_REVERSED, this means the tariff will be high. This schedule entry is needed to make sure that the tariff is low for a particular day of the year (New Year's Day).

The pagination info (page 2):

specifies that this is the second page of a total of 2 pages. The pageSize is set by the platform and can be any value from 1 to 50.

The last element of the SetScheduleRequest:

specifies that this is a tariff schedule.

SOAP Request to obtain response from 'device-01':

SOAP Response containing response from 'device-01':

OSLP v0.6.1

Contract for v0.6.1 The contract specifies the messages which can be exchanged with an SSLD.

hashtag
Messages

These messages below are part of OSLP v0.6.1. Note that OSLP v0.6.1 is backwards compatible with OSLP v0.5.1. Therefore, v0.6.1 offers the same RegisterDeviceRequest as v0.5.1 for example.

  • (from device to platform) is a request that notifies the platform a device which wants to register. During the registration the sequence number is reset to a random value, the platform is notified if the device has a light schedule, the type of the device, the device identification, and the device communicates its IP address to the platform.

  • (from platform to device) is a response which holds the time of the platform so the device can synchronize the time, contains location information for the device like GPS coordinates and Day Light Saving time information. The device will sent ConfirmRegisterDeviceRequest after receiving the RegisterDeviceResponse.

  • (from device to platform) is a request that notifies the platform that a device wants to perform the second step of the registration process.

  • (from platform to device) is a response which confirms the ConfirmRegisterDeviceRequest has been executed or rejected.

  • (from platform to device) is a request that notifies the device to switch all relays on.

  • (from device to platform) is a response which confirms the StartSelfTestRequest has been executed or rejected.

  • (from platform to device) is a request that notifies the device to switch all relays off.

  • (from device to platform) is a response which confirms the StopSelfTestRequest has been executed or rejected.

  • (from platform to device) is a request which notifies the device to download a new firmware version from a server using a URL.

  • (from device to platform) is a response which confirms the UpdateFirmwareRequest has been executed or rejects the UpdateFirmwareRequest. Please note there are several events which are sent from the device to the platform to inform the platform when the firmware has been downloaded and whether or not the firmware was successfully activated.

  • (from platform to device) is a request that notifies the device to switch on or off one ore several light relays, optionally with a dim-value per relay.

  • (from device to platform) is a response which confirms the SetLightRequest has been executed or rejected.

  • (from platform to device) is a request that requires the device to send the status of all relays, current network link and preferred network link, the type of configuration (PSLD vs SSLD), and the event notification mask which has been set.

  • (from device to platform) is a response which confirms the GetStatusRequest has been executed and returns the current status for all of the relays and other information or rejects the GetStatusRequest.

  • (from platform to device) is a request that notifies the device to continue the current schedule after the current schedule was interrupted (for example by switching by hand using SetLightRequest). This request can operate on a single relay or on all relays and the resuming of the schedule can be immediate or at the next schedule-entry.

  • (from device to platform) is a response which confirms the ResumeScheduleRequest has been executed or rejected.

  • (from platform to device) is a request that sets the event notification mask.

  • (from device to platform) is a response which confirms the SetEventNotifications request has been executed or rejected.

  • (from device to platform) is a request that pushes an event notification from a device to the platform.

  • (from platform to device) is a response which confirms the EventNotificationRequest has been executed or rejected.

  • (from platform to device) is a request that requests the device to sent its current firmware version.

  • (from device to platform) is a response that sends the current firmware version to the platform.

  • (from platform to device) is a request that sends a light or tariff schedule to the device.

  • (from device to platform) is a response which confirms the SetScheduleRequest has been executed or rejected.

  • (from platform to device) is a request that sends configuration settings to the device.

  • (from device to platform) is a response which confirms the SetConfigurationRequest has been executed or rejected.

  • (from platform to device) is a request that requests the device to send its current configuration settings.

  • (from device to platform) is a response which confirms the GetConfigurationRequest has been executed or rejected.

  • (from platform to device) is a request that notifies the device to reboot immediately.

  • (from device to platform) is a response which confirms the SetRebootRequest has been executed or rejected.

  • (from platform to device) is a request that notifies the device to switch its light relays according to light measurement schedule-entries.

  • (from device to platform) is a response which confirms the SetTransitionRequest has been executed or rejected.

  • (from platform to device) is a request which commands a device to download a new certificate file from a server using a URL.

  • (from platform to device) is a response which returns the result of the UpdateFirmwareRequest. Please note there are several events which are sent from the device to the platform to inform the platform whether or not the certificate file was successfully downloaded and activated.

  • (from platform to device) is a request which sends a new OSGP public key to the device.

  • (from platform to device) is a response which returns the result of the SetDeviceVerificationKeyRequest.

  • (from platform to device) is a request which commands the device to switch to the other firmware bank.

  • (from platform to device) is a response which returns the result of the SwitchFirmwareRequest.

  • (from platform to device) is a request which commands the device to switch to the other configuration bank.

  • (from platform to device) is a response which returns the result of the SwitchConfigurationRequest.

UpdateFirmware

hashtag
Description

Request for a device to download and install new firmware. The request contains a URL defining the location of the new firmware image. The device should download the firmware from that location.

Response communicates status.

hashtag
Message definitions

hashtag
Data types

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP UpdateFirmwareRequest sent to 'device-01' to update firmware:

OSLP UpdateFirmwareResponse sent to the platform:

GetFirmwareVersion

hashtag
Description

Request which notifies the device to send the current firmware version.

Response containing the firmware version.

SetReboot

hashtag
Description

Request which notifies the device to reboot immediately. After a reboot, the device will switch its relays according to its schedule. Any ad hoc changes to relays will be lost.

Response communicates status.

StartSelfTest

hashtag
Description

Request that notifies the device to switch all light relays on.

Response communicates status.

StopSelfTest

hashtag
Description

Request that notifies the device to switch all light relays off.

Response communicates status and the result of the test.

message SetScheduleRequest {
    repeated Schedule schedules = 1; // [(nanopb).max_count = 50];
    optional PageInfo pageInfo = 2;
    required RelayType scheduleType = 3; // RT_NOT_SET is NOT supported!
}

message SetScheduleResponse {
    required Status status = 1;
}
message Schedule {
    required Weekday weekday = 1;
    optional string startDay = 2; // [(nanopb).max_size = 9]; //- Format YYYYMMDD UTC, indicates the range of a schedule entry, from startDay.
    optional string endDay = 3; // [(nanopb).max_size = 9]; // - Format YYYYMMDD UTC, including endDay.
    required ActionTime actionTime = 4;
    optional string time = 5; // [(nanopb).max_size = 7]; // - Format hhmmss localtime set when actionTime = ABSOLUTETIME.
    optional Window window = 6;           // Window to wait for light sensor trigger.
    repeated LightValue value = 7; // [(nanopb).max_count = 6];
    optional TriggerType triggerType = 8; // React to setTransition or switch astronomical.
    optional uint32 minimumLightsOn = 9;  // Minimal time (in seconds) the lights should burn before deciding to switch the lights on.
    optional uint32 index = 10;           // Index of schedule entry in the schedule list.
    optional bool isEnabled = 11;         // Is this schedule entry enabled?
}

enum Weekday {
    MONDAY = 1;
    TUESDAY = 2;
    WEDNESDAY = 3;
    THURSDAY = 4;
    FRIDAY = 5;
    SATURDAY = 6;
    SUNDAY = 7;
    WEEKDAY = 8;
    WEEKEND = 9;
    ABSOLUTEDAY = 10;
    ALL = 11;
}

enum ActionTime {
    ABSOLUTETIME = 1;
    SUNRISE = 2;
    SUNSET = 3;
}

message Window {
    required uint32 minutesBefore = 1; // minutes before sunset / sunrise
    required uint32 minutesAfter = 2; // minutes after sunset / sunrise
}

message LightValue {
    optional bytes index = 1; // [(nanopb).max_size = 1]; // index number of connected light (DALI), none means all connected ligts.
    required bool on = 2;
    optional bytes dimValue = 3; // [(nanopb).max_size = 1]; // 1 - 100 %
}

enum TriggerType {
    TT_NOT_SET = 0;
    LIGHT_TRIGGER = 1;
    ASTRONOMICAL = 2;
}

message PageInfo {
    required uint32 currentPage = 1; // Pages start from 1
    required uint32 pageSize = 2;
    required uint32 totalPages = 3;
}

enum RelayType {
    RT_NOT_SET = 0;
    LIGHT = 1;
    TARIFF = 2;
}

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:com="http://www.opensmartgridplatform.org/schemas/publiclighting/2014/10"
xmlns:sch="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10">
   <soapenv:Header>
     <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
     <com:UserName>Kevin</com:UserName>
     <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>

      <sch:SetScheduleRequest>
         <!--type: Identification-->
         <sch:DeviceIdentification>device-01</sch:DeviceIdentification>
         <!--1 to 50 repetitions:-->
         <sch:Schedules>
            <!--type: WeekDayType - enumeration: [MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY,WEEKDAY,WEEKEND,ABSOLUTEDAY,ALL]-->
            <sch:WeekDay>ALL</sch:WeekDay>
            <!--type: ActionTimeType - enumeration: [ABSOLUTETIME,SUNRISE,SUNSET]-->
            <sch:ActionTime>SUNRISE</sch:ActionTime>
            <!--Optional:-->
            <sch:TriggerWindow>
               <!--type: long-->
               <sch:minutesBefore>15</sch:minutesBefore>
               <!--type: long-->
               <sch:minutesAfter>15</sch:minutesAfter>
            </sch:TriggerWindow>
            <!--1 to 6 repetitions:-->
            <sch:LightValue>
               <!--Optional:-->
               <!--anonymous type-->
               <sch:Index>0</sch:Index>
               <!--type: boolean-->
               <sch:On>false</sch:On>
            </sch:LightValue>
            <!--Optional:-->
            <!--type: TriggerType - enumeration: [LIGHT_TRIGGER,ASTRONOMICAL]-->
            <sch:TriggerType>LIGHT_TRIGGER</sch:TriggerType>
         </sch:Schedules>

         <sch:Schedules>
            <!--type: WeekDayType - enumeration: [MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY,WEEKDAY,WEEKEND,ABSOLUTEDAY,ALL]-->
            <sch:WeekDay>ALL</sch:WeekDay>
            <!--type: ActionTimeType - enumeration: [ABSOLUTETIME,SUNRISE,SUNSET]-->
            <sch:ActionTime>SUNSET</sch:ActionTime>
            <!--Optional:-->
            <sch:TriggerWindow>
               <!--type: long-->
               <sch:minutesBefore>15</sch:minutesBefore>
               <!--type: long-->
               <sch:minutesAfter>15</sch:minutesAfter>
            </sch:TriggerWindow>
            <!--1 to 6 repetitions:-->
            <sch:LightValue>
               <!--Optional:-->
               <!--anonymous type-->
               <sch:Index>0</sch:Index>
               <!--type: boolean-->
               <sch:On>true</sch:On>
            </sch:LightValue>
            <!--Optional:-->
            <!--type: TriggerType - enumeration: [LIGHT_TRIGGER,ASTRONOMICAL]-->
            <sch:TriggerType>LIGHT_TRIGGER</sch:TriggerType>
         </sch:Schedules>

         <sch:Schedules>
            <!--type: WeekDayType - enumeration: [MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY,WEEKDAY,WEEKEND,ABSOLUTEDAY,ALL]-->
            <sch:WeekDay>ALL</sch:WeekDay>
            <!--type: ActionTimeType - enumeration: [ABSOLUTETIME,SUNRISE,SUNSET]-->
            <sch:ActionTime>ABSOLUTETIME</sch:ActionTime>
            <!--Optional:-->
            <!--type: string-->
            <sch:Time>23:00:00</sch:Time>
            <!--Optional:-->
            <sch:TriggerWindow>
               <!--type: long-->
               <sch:minutesBefore>30</sch:minutesBefore>
               <!--type: long-->
               <sch:minutesAfter>30</sch:minutesAfter>
            </sch:TriggerWindow>
            <!--1 to 6 repetitions:-->
            <sch:LightValue>
               <!--Optional:-->
               <!--anonymous type-->
               <sch:Index>2</sch:Index>
               <!--type: boolean-->
               <sch:On>false</sch:On>
            </sch:LightValue>
         </sch:Schedules>

         <sch:Schedules>
            <!--type: WeekDayType - enumeration: [MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY,WEEKDAY,WEEKEND,ABSOLUTEDAY,ALL]-->
            <sch:WeekDay>ALL</sch:WeekDay>
            <!--type: ActionTimeType - enumeration: [ABSOLUTETIME,SUNRISE,SUNSET]-->
            <sch:ActionTime>ABSOLUTETIME</sch:ActionTime>
            <!--Optional:-->
            <!--type: string-->
            <sch:Time>07:00:00</sch:Time>
            <!--Optional:-->
            <sch:TriggerWindow>
               <!--type: long-->
               <sch:minutesBefore>150</sch:minutesBefore>
               <!--type: long-->
               <sch:minutesAfter>41</sch:minutesAfter>
            </sch:TriggerWindow>
            <!--1 to 6 repetitions:-->
            <sch:LightValue>
               <!--Optional:-->
               <!--anonymous type-->
               <sch:Index>2</sch:Index>
               <!--type: boolean-->
               <sch:On>true</sch:On>
               <!--Optional:-->
               <!--anonymous type-->
               <!--<sch:DimValue>100</sch:DimValue>-->
            </sch:LightValue>
         </sch:Schedules>

      </sch:SetScheduleRequest>

   </soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns3:SetScheduleAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10">
         <ns3:AsyncResponse>
            <ns2:CorrelationUid>LianderNetManagement|||device-01|||20151230104608559</ns2:CorrelationUid>
            <ns2:DeviceId>device-01</ns2:DeviceId>
         </ns3:AsyncResponse>
      </ns3:SetScheduleAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
setScheduleRequest {
  schedules {
    weekday: ALL
    actionTime: SUNRISE
    window {
      minutesBefore: 15
      minutesAfter: 15
    }
    value {
      index: "\000"
      on: false
    }
    triggerType: LIGHT_TRIGGER
  }
  schedules {
    weekday: ALL
    actionTime: SUNSET
    window {
      minutesBefore: 15
      minutesAfter: 15
    }
    value {
      index: "\000"
      on: true
    }
    triggerType: LIGHT_TRIGGER
  }
  schedules {
    weekday: ALL
    actionTime: ABSOLUTETIME
    time: "230000"
    window {
      minutesBefore: 30
      minutesAfter: 30
    }
    value {
      index: "\002"
      on: false
    }
  }
  schedules {
    weekday: ALL
    actionTime: ABSOLUTETIME
    time: "070000"
    window {
      minutesBefore: 150
      minutesAfter: 41
    }
    value {
      index: "\002"
      on: true
    }
  }
  scheduleType: LIGHT
}
setScheduleResponse {
  status: OK
}
  schedules {
    weekday: ALL
    actionTime: SUNRISE
    window {
      minutesBefore: 15
      minutesAfter: 15
    }
    value {
      index: "\000"
      on: false
    }
    triggerType: LIGHT_TRIGGER
  }
  schedules {
    weekday: ALL
    actionTime: SUNSET
    window {
      minutesBefore: 15
      minutesAfter: 15
    }
    value {
      index: "\000"
      on: true
    }
    triggerType: LIGHT_TRIGGER
  }
  schedules {
    weekday: ALL
    actionTime: ABSOLUTETIME
    time: "230000"
    window {
      minutesBefore: 30
      minutesAfter: 30
    }
    value {
      index: "\002"
      on: false
    }
  }
  schedules {
    weekday: ALL
    actionTime: ABSOLUTETIME
    time: "070000"
    window {
      minutesBefore: 150
      minutesAfter: 41
    }
    value {
      index: "\002"
      on: true
    }
  }
  scheduleType: LIGHT
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10"
xmlns:sch="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10">
   <soapenv:Header>
       <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
       <com:UserName>Kevin</com:UserName>
       <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <sch:SetScheduleAsyncRequest>
         <sch:AsyncRequest>
            <com:CorrelationUid>LianderNetManagement|||device-01|||20151230104608559</com:CorrelationUid>
            <com:DeviceId>device-01</com:DeviceId>
         </sch:AsyncRequest>
      </sch:SetScheduleAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>
`
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns3:SetScheduleResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10">
         <ns3:Result>OK</ns3:Result>
      </ns3:SetScheduleResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header>
      <OrganisationIdentification xmlns="http://www.opensmartgridplatform.org/schemas/common">LianderNetManagement</OrganisationIdentification>
      <ApplicationName xmlns="http://www.opensmartgridplatform.org/schemas/common">SoapUI</ApplicationName>
      <UserName xmlns="http://www.opensmartgridplatform.org/schemas/common">Kevin</UserName>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
      <ns3:SetScheduleRequest xmlns:ns3="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10" xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns3:DeviceIdentification>device-01</ns3:DeviceIdentification>
         <ns3:Schedules>
            <ns3:WeekDay>ABSOLUTEDAY</ns3:WeekDay>
            <ns3:startDay>2016-01-01Z</ns3:startDay>
            <ns3:ActionTime>ABSOLUTETIME</ns3:ActionTime>
            <ns3:Time>07:00:00.000</ns3:Time>
            <ns3:LightValue>
               <ns3:Index>1</ns3:Index>
               <ns3:On>false</ns3:On>
            </ns3:LightValue>
         </ns3:Schedules>
      </ns3:SetScheduleRequest>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <ns3:SetScheduleAsyncResponse xmlns:ns3="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10" xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns3:AsyncResponse>
            <ns2:CorrelationUid>LianderNetManagement|||device-01|||20160113131032759</ns2:CorrelationUid>
            <ns2:DeviceId>device-01</ns2:DeviceId>
         </ns3:AsyncResponse>
      </ns3:SetScheduleAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header>
      <OrganisationIdentification xmlns="http://www.opensmartgridplatform.org/schemas/common">LianderNetManagement</OrganisationIdentification>
      <ApplicationName xmlns="http://www.opensmartgridplatform.org/schemas/common">SoapUI</ApplicationName>
      <UserName xmlns="http://www.opensmartgridplatform.org/schemas/common">Kevin</UserName>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
      <ns3:SetScheduleAsyncRequest xmlns:ns3="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10" xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns3:AsyncRequest>
            <ns2:CorrelationUid>LianderNetManagement|||device-01|||20160113131032759</ns2:CorrelationUid>
            <ns2:DeviceId>device-01</ns2:DeviceId>
         </ns3:AsyncRequest>
      </ns3:SetScheduleAsyncRequest>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <ns3:SetScheduleResponse xmlns:ns3="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10" xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns3:Result>OK</ns3:Result>
      </ns3:SetScheduleResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
setScheduleRequest {
  schedules {
    weekday: ABSOLUTEDAY
    startDay: "20160101"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\001"
      on: false
    }
  }
  scheduleType: LIGHT
}
setScheduleResponse {
  status: OK
}
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:com="http://www.opensmartgridplatform.org/schemas/publiclighting/2014/10"
xmlns:sch="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10">
   <soapenv:Header>
   <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
   <com:UserName>Kevin</com:UserName>
   <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <sch:SetScheduleRequest>
         <!--type: Identification-->
         <sch:DeviceIdentification>device-01</sch:DeviceIdentification>
         <!--1 to 50 repetitions:-->
         <sch:Schedules>
            <!--type: WeekDayType - enumeration: [MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY,WEEKDAY,WEEKEND,ABSOLUTEDAY,ALL]-->
            <sch:WeekDay>ALL</sch:WeekDay>
            <!--type: ActionTimeType - enumeration: [ABSOLUTETIME,SUNRISE,SUNSET]-->
            <sch:ActionTime>SUNRISE</sch:ActionTime>
            <!--Optional:-->
            <sch:TriggerWindow>
               <!--type: long-->
               <sch:minutesBefore>15</sch:minutesBefore>
               <!--type: long-->
               <sch:minutesAfter>15</sch:minutesAfter>
            </sch:TriggerWindow>
            <!--1 to 6 repetitions:-->
            <sch:LightValue>
               <!--Optional:-->
               <!--anonymous type-->
               <sch:Index>0</sch:Index>
               <!--type: boolean-->
               <sch:On>false</sch:On>
            </sch:LightValue>
            <!--Optional:-->
            <!--type: TriggerType - enumeration: [LIGHT_TRIGGER,ASTRONOMICAL]-->
            <sch:TriggerType>LIGHT_TRIGGER</sch:TriggerType>
            <!--Optional:-->
            <!--type: int, index of this schedule-entry-->
            <sch:Index>0</sch:Index>
            <!--Optional:-->
            <!--type: boolean-->
            <sch:IsEnabled>true</sch:IsEnabled>
            <!--Optional:-->
            <!--type: int, minimal burning time in seconds-->
            <!--<sch:minimumLightsOn>300</sch:minimumLightsOn>-->
         </sch:Schedules>

         <sch:Schedules>
            <!--type: WeekDayType - enumeration: [MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY,WEEKDAY,WEEKEND,ABSOLUTEDAY,ALL]-->
            <sch:WeekDay>ALL</sch:WeekDay>
            <!--type: ActionTimeType - enumeration: [ABSOLUTETIME,SUNRISE,SUNSET]-->
            <sch:ActionTime>SUNSET</sch:ActionTime>
            <!--Optional:-->
            <sch:TriggerWindow>
               <!--type: long-->
               <sch:minutesBefore>15</sch:minutesBefore>
               <!--type: long-->
               <sch:minutesAfter>15</sch:minutesAfter>
            </sch:TriggerWindow>
            <!--1 to 6 repetitions:-->
            <sch:LightValue>
               <!--Optional:-->
               <!--anonymous type-->
               <sch:Index>0</sch:Index>
               <!--type: boolean-->
               <sch:On>true</sch:On>
            </sch:LightValue>
            <!--Optional:-->
            <!--type: TriggerType - enumeration: [LIGHT_TRIGGER,ASTRONOMICAL]-->
            <sch:TriggerType>LIGHT_TRIGGER</sch:TriggerType>
            <!--Optional:-->
            <!--type: int, index of this schedule-entry-->
            <sch:Index>1</sch:Index>
            <!--Optional:-->
            <!--type: boolean-->
            <sch:IsEnabled>true</sch:IsEnabled>
            <!--Optional:-->
            <!--type: int, minimal burning time in seconds-->
            <!--<sch:minimumLightsOn>300</sch:minimumLightsOn>-->
         </sch:Schedules>

         <sch:Schedules>
            <!--type: WeekDayType - enumeration: [MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY,WEEKDAY,WEEKEND,ABSOLUTEDAY,ALL]-->
            <sch:WeekDay>ALL</sch:WeekDay>
            <!--type: ActionTimeType - enumeration: [ABSOLUTETIME,SUNRISE,SUNSET]-->
            <sch:ActionTime>ABSOLUTETIME</sch:ActionTime>
            <!--Optional:-->
            <!--type: string-->
            <sch:Time>23:00:00</sch:Time>
            <!--Optional:-->
            <sch:TriggerWindow>
               <!--type: long-->
               <sch:minutesBefore>30</sch:minutesBefore>
               <!--type: long-->
               <sch:minutesAfter>30</sch:minutesAfter>
            </sch:TriggerWindow>
            <!--1 to 6 repetitions:-->
            <sch:LightValue>
               <!--Optional:-->
               <!--anonymous type-->
               <sch:Index>1</sch:Index>
               <!--type: boolean-->
               <sch:On>false</sch:On>
            </sch:LightValue>
            <!--Optional:-->
            <!--type: int, index of this schedule-entry-->
            <sch:Index>2</sch:Index>
            <!--Optional:-->
            <!--type: boolean-->
            <sch:IsEnabled>true</sch:IsEnabled>
            <!--Optional:-->
            <!--type: int, minimal burning time in seconds-->
            <!--<sch:minimumLightsOn>300</sch:minimumLightsOn>-->
         </sch:Schedules>

         <sch:Schedules>
            <!--type: WeekDayType - enumeration: [MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY,WEEKDAY,WEEKEND,ABSOLUTEDAY,ALL]-->
            <sch:WeekDay>ALL</sch:WeekDay>
            <!--type: ActionTimeType - enumeration: [ABSOLUTETIME,SUNRISE,SUNSET]-->
            <sch:ActionTime>ABSOLUTETIME</sch:ActionTime>
            <!--Optional:-->
            <!--type: string-->
            <sch:Time>07:00:00</sch:Time>
            <!--Optional:-->
            <sch:TriggerWindow>
               <!--type: long-->
               <sch:minutesBefore>30</sch:minutesBefore>
               <!--type: long-->
               <sch:minutesAfter>30</sch:minutesAfter>
            </sch:TriggerWindow>
            <!--1 to 6 repetitions:-->
            <sch:LightValue>
               <!--Optional:-->
               <!--anonymous type-->
               <sch:Index>1</sch:Index>
               <!--type: boolean-->
               <sch:On>true</sch:On>
               <!--Optional:-->
               <!--anonymous type-->
               <!--<sch:DimValue>100</sch:DimValue>-->
            </sch:LightValue>
            <!--Optional:-->
            <!--type: int, index of this schedule-entry-->
            <sch:Index>3</sch:Index>
            <!--Optional:-->
            <!--type: boolean-->
            <sch:IsEnabled>true</sch:IsEnabled>
            <!--Optional:-->
            <!--type: int, minimal burning time in seconds-->
            <sch:minimumLightsOn>300</sch:minimumLightsOn>
         </sch:Schedules>
      </sch:SetScheduleRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetScheduleAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160313162236547</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetScheduleAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetScheduleAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||device-01|||20160313162236547</ns:CorrelationUid>
            <ns:DeviceId>device-01</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SetScheduleAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetScheduleResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetScheduleResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
setScheduleRequest {
  schedules {
    weekday: ALL
    actionTime: SUNRISE
    window {
      minutesBefore: 15
      minutesAfter: 15
    }
    value {
      index: "\000"
      on: false
    }
    triggerType: LIGHT_TRIGGER
    index: 0
    isEnabled: true
  }
  schedules {
    weekday: ALL
    actionTime: SUNSET
    window {
      minutesBefore: 15
      minutesAfter: 15
    }
    value {
      index: "\000"
      on: true
    }
    triggerType: LIGHT_TRIGGER
    index: 1
    isEnabled: true
  }
  schedules {
    weekday: ALL
    actionTime: ABSOLUTETIME
    time: "230000"
    window {
      minutesBefore: 30
      minutesAfter: 30
    }
    value {
      index: "\001"
      on: false
    }
    index: 2
    isEnabled: true
  }
  schedules {
    weekday: ALL
    actionTime: ABSOLUTETIME
    time: "070000"
    window {
      minutesBefore: 30
      minutesAfter: 30
    }
    value {
      index: "\001"
      on: true
    }
    minimumLightsOn: 300
    index: 3
    isEnabled: true
  }
  scheduleType: LIGHT
}
setScheduleResponse {
  status: OK
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:sch="http://www.opensmartgridplatform.org/schemas/tariffswitching/schedulemanagement/2014/10">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>Kevin</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <sch:SetScheduleRequest>
         <sch:DeviceIdentification>device-01</sch:DeviceIdentification>
         <!--1 to 50 repetitions:-->
         <sch:Schedules>
            <sch:WeekDay>WEEKDAY</sch:WeekDay>
            <sch:StartDay>2015-01-01</sch:StartDay>
            <sch:EndDay>2016-02-01</sch:EndDay>
            <sch:Time>23:00:00</sch:Time>
            <!--1 to 6 repetitions:-->
            <sch:TariffValue>
               <sch:Index>3</sch:Index>
               <sch:High>0</sch:High>
            </sch:TariffValue>
         </sch:Schedules>

         <sch:Schedules>
            <sch:WeekDay>WEEKDAY</sch:WeekDay>
            <sch:StartDay>2015-01-01</sch:StartDay>
            <sch:EndDay>2016-02-01</sch:EndDay>
            <sch:Time>07:00:00</sch:Time>
            <!--1 to 6 repetitions:-->
            <sch:TariffValue>
               <sch:Index>3</sch:Index>
               <sch:High>1</sch:High>
            </sch:TariffValue>
         </sch:Schedules>

         <sch:Schedules>
            <sch:WeekDay>ABSOLUTEDAY</sch:WeekDay>
            <sch:StartDay>2015-01-01</sch:StartDay>
            <sch:EndDay>2015-01-01</sch:EndDay>
            <sch:Time>07:00:00</sch:Time>
            <!--1 to 6 repetitions:-->
            <sch:TariffValue>
               <sch:Index>3</sch:Index>
               <sch:High>0</sch:High>
            </sch:TariffValue>
         </sch:Schedules>

         <sch:Schedules>
            <sch:WeekDay>ABSOLUTEDAY</sch:WeekDay>
            <sch:StartDay>2015-04-06</sch:StartDay>
            <sch:EndDay>2015-04-06</sch:EndDay>
            <sch:Time>07:00:00</sch:Time>
            <!--1 to 6 repetitions:-->
            <sch:TariffValue>
               <sch:Index>3</sch:Index>
               <sch:High>0</sch:High>
            </sch:TariffValue>
         </sch:Schedules>

         <sch:Schedules>
            <sch:WeekDay>ABSOLUTEDAY</sch:WeekDay>
            <sch:StartDay>2015-04-27</sch:StartDay>
            <sch:EndDay>2015-04-27</sch:EndDay>
            <sch:Time>07:00:00</sch:Time>
            <!--1 to 6 repetitions:-->
            <sch:TariffValue>
               <sch:Index>3</sch:Index>
               <sch:High>0</sch:High>
            </sch:TariffValue>
         </sch:Schedules>

         <sch:Schedules>
            <sch:WeekDay>ABSOLUTEDAY</sch:WeekDay>
            <sch:StartDay>2015-05-14</sch:StartDay>
            <sch:EndDay>2015-05-14</sch:EndDay>
            <sch:Time>07:00:00</sch:Time>
            <!--1 to 6 repetitions:-->
            <sch:TariffValue>
               <sch:Index>3</sch:Index>
               <sch:High>0</sch:High>
            </sch:TariffValue>
         </sch:Schedules>

         <sch:Schedules>
            <sch:WeekDay>ABSOLUTEDAY</sch:WeekDay>
            <sch:StartDay>2015-05-25</sch:StartDay>
            <sch:EndDay>2015-05-25</sch:EndDay>
            <sch:Time>07:00:00</sch:Time>
            <!--1 to 6 repetitions:-->
            <sch:TariffValue>
               <sch:Index>3</sch:Index>
               <sch:High>0</sch:High>
            </sch:TariffValue>
         </sch:Schedules>

         <sch:Schedules>
            <sch:WeekDay>ABSOLUTEDAY</sch:WeekDay>
            <sch:StartDay>2015-12-25</sch:StartDay>
            <sch:EndDay>2015-12-25</sch:EndDay>
            <sch:Time>07:00:00</sch:Time>
            <!--1 to 6 repetitions:-->
            <sch:TariffValue>
               <sch:Index>3</sch:Index>
               <sch:High>0</sch:High>
            </sch:TariffValue>
         </sch:Schedules>

         <sch:Schedules>
            <sch:WeekDay>ABSOLUTEDAY</sch:WeekDay>
            <sch:StartDay>2015-12-26</sch:StartDay>
            <sch:EndDay>2015-12-26</sch:EndDay>
            <sch:Time>07:00:00</sch:Time>
            <!--1 to 6 repetitions:-->
            <sch:TariffValue>
               <sch:Index>3</sch:Index>
               <sch:High>0</sch:High>
            </sch:TariffValue>
         </sch:Schedules>

         <sch:Schedules>
            <sch:WeekDay>ABSOLUTEDAY</sch:WeekDay>
            <sch:StartDay>2016-01-01</sch:StartDay>
            <sch:EndDay>2016-01-01</sch:EndDay>
            <sch:Time>07:00:00</sch:Time>
            <!--1 to 6 repetitions:-->
            <sch:TariffValue>
               <sch:Index>3</sch:Index>
               <sch:High>0</sch:High>
            </sch:TariffValue>
         </sch:Schedules>

      </sch:SetScheduleRequest>

   </soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns3:SetScheduleAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/tariffswitching/schedulemanagement/2014/10">
         <ns3:AsyncResponse>
            <ns2:CorrelationUid>LianderNetManagement|||device-01|||20151230132054477</ns2:CorrelationUid>
            <ns2:DeviceId>device-01</ns2:DeviceId>
         </ns3:AsyncResponse>
      </ns3:SetScheduleAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
setScheduleRequest {
  schedules {
    weekday: WEEKDAY
    startDay: "20150101"
    endDay: "20160201"
    actionTime: ABSOLUTETIME
    time: "230000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: WEEKDAY
    startDay: "20150101"
    endDay: "20160201"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: false
    }
  }
  schedules {
    weekday: ABSOLUTEDAY
    startDay: "20150101"
    endDay: "20150101"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: ABSOLUTEDAY
    startDay: "20150406"
    endDay: "20150406"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: ABSOLUTEDAY
    startDay: "20150427"
    endDay: "20150427"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  pageInfo {
    currentPage: 1
    pageSize: 5
    totalPages: 2
  }
  scheduleType: TARIFF
}
setScheduleResponse {
  status: OK
}
setScheduleRequest {
  schedules {
    weekday: ABSOLUTEDAY
    startDay: "20150514"
    endDay: "20150514"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: ABSOLUTEDAY
    startDay: "20150525"
    endDay: "20150525"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: ABSOLUTEDAY
    startDay: "20151225"
    endDay: "20151225"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: ABSOLUTEDAY
    startDay: "20151226"
    endDay: "20151226"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: ABSOLUTEDAY
    startDay: "20160101"
    endDay: "20160101"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  pageInfo {
    currentPage: 2
    pageSize: 5
    totalPages: 2
  }
  scheduleType: TARIFF
}
setScheduleResponse {
  status: OK
}
  schedules {
    weekday: WEEKDAY
    startDay: "20150101"
    endDay: "20160201"
    actionTime: ABSOLUTETIME
    time: "230000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: WEEKDAY
    startDay: "20150101"
    endDay: "20160201"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: false
    }
  }
  schedules {
    weekday: WEEKDAY
    startDay: "20150101"
    endDay: "20150101"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: WEEKDAY
    startDay: "20150406"
    endDay: "20150406"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: WEEKDAY
    startDay: "20150427"
    endDay: "20150427"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  pageInfo {
    currentPage: 1
    pageSize: 5
    totalPages: 2
  }
  scheduleType: TARIFF
    weekday: WEEKDAY
    startDay: "20150514"
    endDay: "20150514"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: WEEKDAY
    startDay: "20150525"
    endDay: "20150525"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: WEEKDAY
    startDay: "20151225"
    endDay: "20151225"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  }
  schedules {
    weekday: WEEKDAY
    startDay: "20160101"
    endDay: "20160101"
    actionTime: ABSOLUTETIME
    time: "070000"
    value {
      index: "\003"
      on: true
    }
  pageInfo {
    currentPage: 2
    pageSize: 5
    totalPages: 2
  }
  scheduleType: TARIFF
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:sch="http://www.opensmartgridplatform.org/schemas/tariffswitching/schedulemanagement/2014/10">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>Kevin</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <sch:SetScheduleAsyncRequest>
         <sch:AsyncRequest>
            <com:CorrelationUid>LianderNetManagement|||device-01|||20151230132054477</com:CorrelationUid>
            <com:DeviceId>device-01</com:DeviceId>
         </sch:AsyncRequest>
      </sch:SetScheduleAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns3:SetScheduleResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/tariffswitching/schedulemanagement/2014/10">
         <ns3:Result>OK</ns3:Result>
      </ns3:SetScheduleResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
RegisterDeviceRequest
RegisterDeviceResponse
ConfirmRegisterDeviceRequest
ConfirmRegisterDeviceResponse
StartSelfTestRequest
StartSelfTestResponse
StopSelfTestRequest
StopSelfTestResponse
UpdateFirmwareRequest
UpdateFirmwareResponse
SetLightRequest
SetLightResponse
GetStatusRequest
GetStatusResponse
ResumeScheduleRequest
ResumeScheduleResponse
SetEventNotificationsRequest
SetEventNotificationsResponse
EventNotificationRequest
EventNotificationResponse
GetFirmwareVersionRequest
GetFirmwareVersionResponse
SetScheduleRequest
SetScheduleResponse
SetConfigurationRequest
SetConfigurationResponse
GetConfigurationRequest
GetConfigurationResponse
SetRebootRequest
SetRebootResponse
SetTransitionRequest
SetTransitionResponse
UpdateDeviceSslCertification
UpdateDeviceSslCertification
SetDeviceVerificationKeyRequest
SetDeviceVerificationKeyResponse
SwitchFirmwareRequest
SwitchFirmwareResponse
SwitchConfigurationRequestarrow-up-right
SwitchConfigurationResponsearrow-up-right
message UpdateFirmwareRequest {
    required string firmwareDomain = 1; // [(nanopb).max_size = 100]; // Servername
    required string firmwareUrl = 2; // [(nanopb).max_size = 255]; // /firmware/TSTMAN/TSTMOD/RXX
}

message UpdateFirmwareResponse {
    required Status status = 1;
}
hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP GetFirmwareRequest message sent to 'device-01':

OSLP GetFirmwareResponse message sent to platform:

message GetFirmwareVersionRequest {
    optional bool present = 1 [default = true];
}

message GetFirmwareVersionResponse {
    required string firmwareVersion = 1; // [(nanopb).max_size = 7]; // RXX
}
hashtag
Message definitions

hashtag
Data types

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP SetRebootRequest message sent to 'device-01':

OSLP SetRebootResponse sent to platform:

message SetRebootRequest {
    optional bool present = 1 [default = true];
}

message SetRebootResponse {
    required Status status = 1;
}
hashtag
Message definitions

hashtag
Data types

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP StartSelfTestRequest message sent to 'device-01':

OSLP StartSelfTestResponse message sent to platform:

message StartSelfTestRequest {
    optional bool present = 1 [default = true];
}

message StartSelfTestResponse {
    required Status status = 1;
}
hashtag
Message definitions

hashtag
Data types

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP StopSelfTestRequest sent to 'device-01':

OSLP StopSelfTestResponse sent to platform:

message StopSelfTestRequest {
    optional bool present = 1 [default = true];
}

message StopSelfTestResponse {
    required Status status = 1;
    required bytes selfTestResult = 2; // [(nanopb).max_size = 1];
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:fir="http://www.opensmartgridplatform.org/schemas/firmwaremanagement/2014/10">
   <soapenv:Header>
       <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
       <com:UserName>liander gebruiker</com:UserName>
       <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>   
      <fir1:UpdateFirmwareRequest xmlns:fir1="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
         <!--type: Identification-->
         <fir1:DeviceIdentification>device-01</fir1:DeviceIdentification>
         <!--anonymous type-->
         <fir1:FirmwareIdentification>TSTMAN/TSTMOD/SSLD-V17</fir1:FirmwareIdentification>         
      </fir1:UpdateFirmwareRequest>      
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>   
      <ns2:UpdateFirmwareAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>         
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160104145959438</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>            
         </ns2:AsyncResponse>         
      </ns2:UpdateFirmwareAsyncResponse>      
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:fir="http://www.opensmartgridplatform.org/schemas/firmwaremanagement">
   <soapenv:Header>
   <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
   <com:UserName>liander gebruiker</com:UserName>
   <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <fir1:UpdateFirmwareAsyncRequest xmlns:fir1="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
         <fir1:AsyncRequest>
            <!--type: CorrelationUid-->
            <com:CorrelationUid>LianderNetManagement|||device-01|||20160104145959438</com:CorrelationUid>
            <!--type: Identification-->
            <com:DeviceId>device-01</com:DeviceId>
         </fir1:AsyncRequest>
      </fir1:UpdateFirmwareAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:UpdateFirmwareResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:UpdateFirmwareResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
updateFirmwareRequest {
  firmwareDomain: "flexovltest.cloudapp.net"
  firmwareUrl: "/firmware/TSTMAN/TSTMOD/SSLD-V17.hex"
}
updateFirmwareResponse {
  status: OK
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:fman="http://www.opensmartgridplatform.org/schemas/firmwaremanagement">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>KevinSmeets</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <fman:GetFirmwareVersionRequest xmlns:fman="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
         <!--type: Identification-->
         <fman:DeviceIdentification>device-01</fman:DeviceIdentification>
      </fman:GetFirmwareVersionRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetFirmwareVersionAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160104150323405</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:GetFirmwareVersionAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:fman="http://www.opensmartgridplatform.org/schemas/firmwaremanagement">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>liander gebruiker</com:UserName>
      <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <fman:GetFirmwareVersionAsyncRequest xmlns:fman="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
         <fman:AsyncRequest>
            <!--type: CorrelationUid-->
            <com:CorrelationUid>LianderNetManagement|||device-01|||20160104150323405</com:CorrelationUid>
            <!--type: Identification-->
            <com:DeviceId>device-01</com:DeviceId>
         </fman:AsyncRequest>
      </fman:GetFirmwareVersionAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetFirmwareVersionResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
         <ns2:FirmwareVersion>R01</ns2:FirmwareVersion>
      </ns2:GetFirmwareVersionResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
getFirmwareVersionRequest {
}
getFirmwareVersionResponse {
  firmwareVersion: "R01"
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/adhocmanagement/2014/10" xmlns:com="http://www.opensmartgridplatform.org/schemas/common" xmlns:adh="http://www.opensmartgridplatform.org/schemas/adhocmanagement">
   <soapenv:Header>
       <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
       <com:UserName>liander gebruiker</com:UserName>
       <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetRebootRequest>
         <!--type: Identification-->
         <ns1:DeviceIdentification>device-01</ns1:DeviceIdentification>
      </ns1:SetRebootRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns3:SetRebootAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/adhocmanagement/2014/10">
         <ns3:AsyncResponse>
            <ns2:CorrelationUid>LianderNetManagement|||device-01|||20160104153201024</ns2:CorrelationUid>
            <ns2:DeviceId>device-01</ns2:DeviceId>
         </ns3:AsyncResponse>
      </ns3:SetRebootAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/adhocmanagement/2014/10" xmlns:com="http://www.opensmartgridplatform.org/schemas/common" xmlns:adh="http://www.opensmartgridplatform.org/schemas/adhocmanagement">
   <soapenv:Header>
   <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
   <com:UserName>liander gebruiker</com:UserName>
   <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetRebootAsyncRequest>
         <ns1:AsyncRequest>
            <!--type: CorrelationUid-->
            <ns:CorrelationUid>LianderNetManagement|||device-01|||20160104153201024</ns:CorrelationUid>
            <!--type: Identification-->
            <ns:DeviceId>device-01</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SetRebootAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns3:SetRebootResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/adhocmanagement/2014/10">
         <ns3:Result>OK</ns3:Result>
      </ns3:SetRebootResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
setRebootRequest {
}
setRebootResponse {
  status: OK
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:dev="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10">
   <soapenv:Header>
   <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
   <com:UserName>liander gebruiker</com:UserName>
   <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <dev:StartDeviceTestRequest>
         <dev:DeviceIdentification>device-01</dev:DeviceIdentification>
      </dev:StartDeviceTestRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:StartDeviceTestAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160104155530194</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:StartDeviceTestAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:dev="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10">
   <soapenv:Header>
   <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
   <com:UserName>liander gebruiker</com:UserName>
   <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <dev:StartDeviceTestAsyncRequest>
         <dev:AsyncRequest>
            <com:CorrelationUid>LianderNetManagement|||device-01|||20160104155530194</com:CorrelationUid>
            <com:DeviceId>device-01</com:DeviceId>
         </dev:AsyncRequest>
      </dev:StartDeviceTestAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:StartDeviceTestResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:StartDeviceTestResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
startSelfTestRequest {
}
startSelfTestResponse {
  status: OK
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:dev="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10">
   <soapenv:Header>
   <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
   <com:UserName>liander gebruiker</com:UserName>
   <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <dev:StopDeviceTestRequest>
         <dev:DeviceIdentification>device-01</dev:DeviceIdentification>
      </dev:StopDeviceTestRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:StopDeviceTestAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160104160800238</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:StopDeviceTestAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:dev="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10">
   <soapenv:Header>
   <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
   <com:UserName>liander gebruiker</com:UserName>
   <com:ApplicationName>WEB_NET_MANAGEMENT</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <dev:StopDeviceTestAsyncRequest>
         <dev:AsyncRequest>
            <com:CorrelationUid>LianderNetManagement|||device-01|||20160104160800238</com:CorrelationUid>
            <com:DeviceId>device-01</com:DeviceId>
         </dev:AsyncRequest>
      </dev:StopDeviceTestAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:StopDeviceTestResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:StopDeviceTestResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
stopSelfTestRequest {
}
stopSelfTestResponse {
  status: OK
  selfTestResult: "\000"
}

SetLight

hashtag
Description

Request that notifies the device to switch on or off one or several light relays, optionally with a dim-value per relay. If optional value 'index' is omitted, all relays configured as light are switched. In that case, all light relays will switch using only 1 LightValue instance for 'values'. In case the value 'index' is included, multiple instances of LightValue can be used (up to 6), each indicating a particular relay. If optional value 'dimValue' is omitted, then default values of 0 and 100 will be assumed for either 'on = false' or 'on = true'.

Response communicates status.

hashtag
Message definitions

hashtag
Data types

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP SetLightRequest sent to 'device-01':

OSLP SetLightResponse sent to platform:

SetTransition

hashtag
Description

Request which informs a device of a daylight transiton: it has become dark (sunset) or light (sunrise). The device will switch the relays, which have schedule entries for transition messages. The optional 'time' value can be used to indicate a switch time. If the optional 'time' value is omitted the device should switch immediately. See light schedule-entry for more information regarding switch schedules.

Response communicates status.

hashtag
Message definitions

hashtag
Data types

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP SetTransitionRequest sent to 'device-01':

OSLP SetTransitionResponse sent to platform:

message SetLightRequest {
    repeated LightValue values = 1; // [(nanopb).max_count = 6];
}

message SetLightResponse {
    required Status status = 1;
}
message SetTransitionRequest {
    required TransitionType transitionType = 1; // Night-Day or Day-Night transition
    optional string time = 2; // [(nanopb).max_size = 7]; // - format hhmmss UTC
}

message SetTransitionResponse {
    required Status status = 1;
}
message LightValue {
    optional bytes index = 1; // [(nanopb).max_size = 1]; // index number of connected light (DALI), none means all connected ligts.
    required bool on = 2;
    optional bytes dimValue = 3; // [(nanopb).max_size = 1]; // 1 - 100 %
}

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header>
      <OrganisationIdentification xmlns="http://www.opensmartgridplatform.org/schemas/common">LianderNetManagement</OrganisationIdentification>
      <ApplicationName xmlns="http://www.opensmartgridplatform.org/schemas/common">WEB_OWNER</ApplicationName>
      <UserName xmlns="http://www.opensmartgridplatform.org/schemas/common">liander gebruiker</UserName>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
      <ns2:SetLightRequest xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:DeviceIdentification>device-01</ns2:DeviceIdentification>
         <ns2:LightValue>
            <ns2:On>true</ns2:On>
         </ns2:LightValue>
      </ns2:SetLightRequest>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <ns2:SetLightAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160105121022551</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetLightAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header>
      <OrganisationIdentification xmlns="http://www.opensmartgridplatform.org/schemas/common">LianderNetManagement</OrganisationIdentification>
      <ApplicationName xmlns="http://www.opensmartgridplatform.org/schemas/common">WEB_OWNER</ApplicationName>
      <UserName xmlns="http://www.opensmartgridplatform.org/schemas/common">liander gebruiker</UserName>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
      <ns2:SetLightAsyncRequest xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncRequest>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160105121022551</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncRequest>
      </ns2:SetLightAsyncRequest>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <ns2:SetLightResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetLightResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
setLightRequest {
  values {
    on: true
  }
}
setLightResponse {
  status: OK
}
enum TransitionType {
    NIGHT_DAY = 0;
    DAY_NIGHT = 1;
}

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adh="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:com="http://www.opensmartgridplatform.org/schemas/publiclighting/2014/10">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>liander gebruiker</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <adh:SetTransitionRequest>
         <adh:DeviceIdentification>device-01</adh:DeviceIdentification>
         <adh:TransitionType>NIGHT_DAY</adh:TransitionType>
         <!--Optional:-->
         <adh:Time>07:55:01</adh:Time>
      </adh:SetTransitionRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetTransitionAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160106155501582</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetTransitionAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:adh="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>liander gebruiker</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <adh:SetTransitionAsyncRequest>
         <adh:AsyncRequest>
            <com:CorrelationUid>LianderNetManagement|||device-01|||20160106155501582</com:CorrelationUid>
            <com:DeviceId>device-01</com:DeviceId>
         </adh:AsyncRequest>
      </adh:SetTransitionAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetTransitionResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetTransitionResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
setTransitionRequest {
  transitionType: NIGHT_DAY
  time: "075501"
}
setTransitionResponse {
  status: OK
}

SwitchConfiguration

hashtag
Description

Request to switch from the current (active) configuration set to the other configuration set, indicated by the configuration set index.

hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP messages:

SwitchFirmware

hashtag
Description

Request to switch from the current firmware version to the other firmware version, indicated by the argument newFirmwareVersion.

hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP messages:

UpdateDeviceSslCertification

hashtag
Description

Request to download a new SSL certificate from the certificate server. The device will be given the domain name and URL where the certificate is located.

hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP messages:

GetStatus

hashtag
Description

Request that requires the device to send the status of all relays, current network link and preferred network link, the type of configuration (PSLD vs SSLD), and the event notification mask which has been set. Further, many optional values can be set by the device, like serial number, MAC address, memory sizes, current firmware version, current IP address, etc.

Response which confirms the GetStatusRequest has been executed and returns the current status for all of the relays and other information or rejects the GetStatusRequest.

hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP GetStatusRequest sent to 'device-01':

OSLP GetStatusResponse sent to platform:

SetDeviceVerificationKey

hashtag
Description

Request to switch to a new Platform public key used for verifying OSLP envelopes by the device. The base-64 encoded version of the key will be sent to the device, which is equivalent to the content of a PEM file (only the certificate chunk, not the headers).

hashtag
Message definitions

hashtag
Datatypes

hashtag
Example

Soap requests and responses sent to and from platform:

OSLP messages:

GetFirmwareVersion

hashtag
Description

Request which queries the device for its current firmware version.

Response which returns the result of the request and, if 'result = OK' contains the firmware version.

hashtag
IEC61850 Fields

hashtag
Example

Soap requests and responses sent to and from platform:

Platform message of the data received from the device:

IEC61850 protocol adapter logging:

message SwitchConfigurationRequest {
    required bytes newConfigurationSet = 1; // [(nanopb).max_count = 1]; // The index of the configuration set (0,1).
}

message SwitchConfigurationResponse {
    required Status status = 1; // FIRMWARE_EVENTS_CONFIGURATION_CHANGED Event will be sent, after the Configuration change.
}
message SwitchFirmwareRequest {
    required string newFirmwareVersion = 1; // [(nanopb).max_size = 6]; // The version of the firmware which should be installed. 
}

message SwitchFirmwareResponse {
    required Status status = 1; // FIRMWARE_EVENTS_ACTIVATING Event will be sent, after the firmware change has completed.
}
message UpdateDeviceSslCertificationRequest {
    required string certificateDomain = 1; // [(nanopb).max_size = 100]; // The domain name of the certificate Server.
    required string certificateUrl = 2; // [(nanopb).max_size = 255];    // The relative path of the certificate.
}

message UpdateDeviceSslCertificationResponse {
    required Status status = 1;
}
getStatusRequest {
}
message SetDeviceVerificationKeyRequest {
    required bytes certificateChunk = 1; // [(nanopb).max_size = 138]; // Verification key / public key of the platform to check the validity of an incoming message.
}

message SetDeviceVerificationKeyResponse {
    required Status status = 1;
}

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

SWDeviceGenericIO/CSLC.FuncFwDw

ST

curVer

VisString32

Current functional firmware version.

SWDeviceGenericIO/CSLC.ScyFwDw

ST

curVer

VisString32

Current security firmware version.

SWDevice-010805.icd

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SwitchConfigurationRequest>
         <!--type: Identification-->
         <ns1:DeviceIdentification>device-01</ns1:DeviceIdentification>
         <!--type: int, 0 or 1-->
         <ns1:ConfigurationBank>1</ns1:ConfigurationBank>
      </ns1:SwitchConfigurationRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SwitchConfigurationAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160313210830055</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SwitchConfigurationAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SwitchConfigurationAsyncRequest>
         <ns1:AsyncRequest>
            <!--type: CorrelationUid-->
            <ns:CorrelationUid>LianderNetManagement|||device-01|||20160313210830055</ns:CorrelationUid>
            <!--type: Identification-->
            <ns:DeviceId>device-01</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SwitchConfigurationAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SwitchConfigurationResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SwitchConfigurationResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
switchConfigurationRequest {
  newConfigurationSet: "1"
}

switchConfigurationResponse {
  status: OK
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SwitchFirmwareRequest>
         <!--type: Identification-->
         <ns1:DeviceIdentification>device-01</ns1:DeviceIdentification>
         <!--type: string-->
         <ns1:Version>W0311g</ns1:Version>
      </ns1:SwitchFirmwareRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SwitchFirmwareAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160313211917467</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SwitchFirmwareAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SwitchFirmwareAsyncRequest>
         <ns1:AsyncRequest>
            <!--type: CorrelationUid-->
            <ns:CorrelationUid>LianderNetManagement|||device-01|||20160313211917467</ns:CorrelationUid>
            <!--type: Identification-->
            <ns:DeviceId>device-01</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SwitchFirmwareAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SwitchFirmwareResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SwitchFirmwareResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
switchFirmwareRequest {
  newFirmwareVersion: "W0311g"
}

switchFirmwareResponse {
  status: OK
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:UpdateDeviceSslCertificationRequest>
         <!--type: Identification-->
         <ns1:DeviceIdentification>device-01</ns1:DeviceIdentification>
         <ns1:Certification>
            <ns1:certificateDomain>cert-server</ns1:certificateDomain>
            <ns1:certificateUrl>/certs/new-cert.pem</ns1:certificateUrl>
         </ns1:Certification>
      </ns1:UpdateDeviceSslCertificationRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:UpdateDeviceSslCertificationAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160305115500062</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:UpdateDeviceSslCertificationAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:UpdateDeviceSslCertificationAsyncRequest>
         <ns1:AsyncRequest>
            <!--type: CorrelationUid-->
            <ns:CorrelationUid>LianderNetManagement|||device-01|||20160305115500062</ns:CorrelationUid>
            <!--type: Identification-->
            <ns:DeviceId>device-01</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:UpdateDeviceSslCertificationAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:UpdateDeviceSslCertificationResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:UpdateDeviceSslCertificationResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
updateDeviceSslCertificationRequest {
  certificateDomain: "cert-server"
  certificateUrl: "/certs/new-cert.pem"
}

updateDeviceSslCertificationResponse {
  status: OK
}
message GetStatusRequest {
    optional bool present = 1 [default = true];
}

message GetStatusResponse {
    required Status status = 1;
    repeated LightValue value = 2; // [(nanopb).max_count = 6];
    required LinkType preferredLinktype = 3;
    required LinkType actualLinktype = 4;
    required LightType lightType = 5;
    required uint32 eventNotificationMask = 6;         // Bitmask for max 32 events, using NotificationBit for bit positions.
    optional uint32 numberOfOutputs = 7;               // Hardware - The number of outputs of this device.
    optional uint32 dcOutputVoltageMaximum = 8;        // Hardware - DC output voltage MAXimum (in mV).
    optional uint32 dcOutputVoltageCurrent = 9;        // Hardware - DC output current voltage (in mV).
    optional uint32 maximumOutputPowerOnDcOutput = 10; // Hardware - Maximum output power on DC output (mW). 
    optional bytes serialNumber = 11; // [(nanopb).max_size = 18]; // Hardware - Serial number of this device.
    optional bytes macAddress = 12; // [(nanopb).max_size = 6]; // Hardware - MAC-address of this device.
    optional string hardwareId = 13; // [(nanopb).min_size = 10, (nanopd).max_size = 25] ; // Hardware - The hardware ID of this device.
    optional uint32 internalFlashMemSize = 14;         // Hardware - The internal flash memory size.
    optional uint32 externalFlashMemSize = 15;         // Hardware - The external flash memory size.
    optional uint32 lastInternalTestResultCode = 16;   // Hardware - The last internal test result code.
    optional uint32 startupCounter = 17;               // Hardware - The startup counter.
    optional string bootLoaderVersion = 18;            // Software - The boot loader version.
    optional string firmwareVersion = 19;              // Software - The firmware version.
    optional bytes currentConfigurationBackUsed = 20; // [(nanopb).max_size = 6]; // Software - The current configuration bank in use.
    optional string name = 21;                         // Device - The name of this device.
    optional string currentTime = 22;                  // Device - Not UTC, the time used in timing operations (adjusted "offset" + summer timing). YYYYMMDDhhmmss format.
    optional string currentIp = 23;                    // Device - The current IP address of this device.
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}

message LightValue {
    optional bytes index = 1; // [(nanopb).max_size = 1]; // index number of connected light (DALI), none means all connected ligts.
    required bool on = 2;
    optional bytes dimValue = 3; // [(nanopb).max_size = 1]; // 1 - 100 %
}

enum LinkType {
    LINK_NOT_SET = 0;
    GPRS = 1;
    CDMA = 2;
    ETHERNET = 3;
}

enum LightType {
    LT_NOT_SET = 0;
    RELAY = 1;
    ONE_TO_TEN_VOLT = 2;
    ONE_TO_TEN_VOLT_REVERSE = 3;
    DALI = 4;
}
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header>
      <OrganisationIdentification xmlns="http://www.opensmartgridplatform.org/schemas/common">LianderNetManagement</OrganisationIdentification>
      <ApplicationName xmlns="http://www.opensmartgridplatform.org/schemas/common">SoapUI</ApplicationName>
      <UserName xmlns="http://www.opensmartgridplatform.org/schemas/common">Kevin</UserName>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
      <ns2:GetStatusRequest xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:DeviceIdentification>device-01</ns2:DeviceIdentification>
      </ns2:GetStatusRequest>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <ns2:GetStatusAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160106133844686</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:GetStatusAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header>
      <OrganisationIdentification xmlns="http://www.opensmartgridplatform.org/schemas/common">LianderNetManagement</OrganisationIdentification>
      <ApplicationName xmlns="http://www.opensmartgridplatform.org/schemas/common">SoapUI</ApplicationName>
      <UserName xmlns="http://www.opensmartgridplatform.org/schemas/common">Kevin</UserName>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
      <ns2:GetStatusAsyncRequest xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncRequest>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160106133844686</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncRequest>
      </ns2:GetStatusAsyncRequest>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns3:GetStatusResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10">
         <ns3:Result>OK</ns3:Result>
         <ns3:DeviceStatus>
            <ns3:LightValues>
               <ns3:Index>1</ns3:Index>
               <ns3:On>false</ns3:On>
            </ns3:LightValues>
            <ns3:LightValues>
               <ns3:Index>2</ns3:Index>
               <ns3:On>false</ns3:On>
            </ns3:LightValues>
            <ns3:TariffValues>
               <ns3:Index>3</ns3:Index>
               <ns3:High>true</ns3:High>
            </ns3:TariffValues>
            <ns3:PreferredLinkType>ETHERNET</ns3:PreferredLinkType>
            <ns3:ActualLinkType>ETHERNET</ns3:ActualLinkType>
            <ns3:LightType>RELAY</ns3:LightType>
            <ns3:EventNotifications>DIAG_EVENTS</ns3:EventNotifications>
            <ns3:EventNotifications>HARDWARE_FAILURE</ns3:EventNotifications>
            <ns3:EventNotifications>LIGHT_EVENTS</ns3:EventNotifications>
            <ns3:EventNotifications>TARIFF_EVENTS</ns3:EventNotifications>
            <ns3:EventNotifications>MONITOR_EVENTS</ns3:EventNotifications>
            <ns3:EventNotifications>FIRMWARE_EVENTS</ns3:EventNotifications>
            <ns3:EventNotifications>COMM_EVENTS</ns3:EventNotifications>
            <ns3:EventNotifications>SECURITY_EVENTS</ns3:EventNotifications>
            <ns3:NumberOfOutputs>4</ns3:NumberOfOutputs>
            <ns3:DcOutputVoltageMaximum>24000</ns3:DcOutputVoltageMaximum>
            <ns3:DcOutputVoltageCurrent>0</ns3:DcOutputVoltageCurrent>
            <ns3:MaximumOutputPowerOnDcOutput>15000</ns3:MaximumOutputPowerOnDcOutput>
            <ns3:MacAddress>D8-80-39-46-17-4E</ns3:MacAddress>
            <ns3:HardwareId>SB10</ns3:HardwareId>
            <ns3:InternalFlashMemSize>1048576</ns3:InternalFlashMemSize>
            <ns3:ExternalFlashMemSize>8388608</ns3:ExternalFlashMemSize>
            <ns3:LastInternalTestResultCode>0</ns3:LastInternalTestResultCode>
            <ns3:StartupCounter>2</ns3:StartupCounter>
            <ns3:BootLoaderVersion>v1.0</ns3:BootLoaderVersion>
            <ns3:FirmwareVersion>W0311g</ns3:FirmwareVersion>
            <ns3:CurrentConfigurationBackUsed>0</ns3:CurrentConfigurationBackUsed>
            <ns3:Name>device-01</ns3:Name>
            <ns3:CurrentTime>20160313141247</ns3:CurrentTime>
            <ns3:CurrentIp>192.168.178.16</ns3:CurrentIp>
         </ns3:DeviceStatus>
      </ns3:GetStatusResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
getStatusResponse {
  status: OK
  value {
    index: "\001"
    on: false
  }
  value {
    index: "\002"
    on: false
  }
  value {
    index: "\003"
    on: false
  }
  value {
    index: "\004"
    on: false
  }
  preferredLinktype: ETHERNET
  actualLinktype: ETHERNET
  lightType: RELAY
  eventNotificationMask: 255
  numberOfOutputs: 4
  dcOutputVoltageMaximum: 24000
  dcOutputVoltageCurrent: 0
  maximumOutputPowerOnDcOutput: 15000
  serialNumber: "123456789123456789"
  macAddress: "\330\2009F\027N"
  hardwareId: "SB10                      "
  internalFlashMemSize: 1048576
  externalFlashMemSize: 8388608
  lastInternalTestResultCode: 0
  startupCounter: 2
  bootLoaderVersion: "v1.0"
  firmwareVersion: "W0311g"
  currentConfigurationBackUsed: "\000"
  name: "device-01"
  currentTime: "20160313141247"
  currentIp: "192.168.178.16"
}
enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetDeviceVerificationKeyRequest>
         <!--type: Identification-->
         <ns1:DeviceIdentification>device-01</ns1:DeviceIdentification>
         <!--type: VerificationKey-->
         <ns1:VerificationKey>MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEow7CWR7EiNDRt1XQ/h1UrLE24zY3BkA582mfiywZ2h8tPkwleCBfcyLeZvS0T4NGz+zzO5CZphlD1TQtjL/ZXg==</ns1:VerificationKey>
      </ns1:SetDeviceVerificationKeyRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetDeviceVerificationKeyAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||device-01|||20160305122132785</ns3:CorrelationUid>
            <ns3:DeviceId>device-01</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetDeviceVerificationKeyAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetDeviceVerificationKeyAsyncRequest>
         <ns1:AsyncRequest>
            <!--type: CorrelationUid-->
            <ns:CorrelationUid>LianderNetManagement|||device-01|||20160305122132785</ns:CorrelationUid>
            <!--type: Identification-->
            <ns:DeviceId>device-01</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SetDeviceVerificationKeyAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetDeviceVerificationKeyResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetDeviceVerificationKeyResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
setDeviceVerificationKeyRequest {
  certificateChunk: "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEow7CWR7EiNDRt1XQ/h1UrLE24zY3BkA582mfiywZ2h8tPkwleCBfcyLeZvS0T4NGz+zzO5CZphlD1TQtjL/ZXg=="
}

setDeviceVerificationKeyResponse {
  status: OK
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:fman="http://www.opensmartgridplatform.org/schemas/firmwaremanagement">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>Sander</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <fman:GetFirmwareVersionRequest xmlns:fman="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
         <!--type: Identification-->
         <fman:DeviceIdentification>KAI-0000000053</fman:DeviceIdentification>
      </fman:GetFirmwareVersionRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetFirmwareVersionAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180924135200412</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:GetFirmwareVersionAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:fman="http://www.opensmartgridplatform.org/schemas/firmwaremanagement">
   <soapenv:Header>
      <com:OrganisationIdentification>LianderNetManagement</com:OrganisationIdentification>
      <com:UserName>Sander</com:UserName>
      <com:ApplicationName>SoapUI</com:ApplicationName>
   </soapenv:Header>
   <soapenv:Body>
      <fman:GetFirmwareVersionAsyncRequest xmlns:fman="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
         <fman:AsyncRequest>
            <!--type: CorrelationUid-->
            <com:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180924135200412</com:CorrelationUid>
            <!--type: Identification-->
            <com:DeviceId>KAI-0000000053</com:DeviceId>
         </fman:AsyncRequest>
      </fman:GetFirmwareVersionAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetFirmwareVersionResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
         <ns2:FirmwareVersion>
            <ns2:FirmwareModuleType>FUNCTIONAL</ns2:FirmwareModuleType>
            <ns2:Version>01_21_01A</ns2:Version>
         </ns2:FirmwareVersion>
         <ns2:FirmwareVersion>
            <ns2:FirmwareModuleType>SECURITY</ns2:FirmwareModuleType>
            <ns2:Version>01_06_02A</ns2:Version>
         </ns2:FirmwareVersion>
      </ns2:GetFirmwareVersionResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: GetFirmwareVersion {
  CSLC.FuncFwDw[ST].curVer: 01_21_01A
  CSLC.ScyFwDw[ST].curVer: 01_06_02A
}
2018-10-01 14:50:18.281] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: GET_FIRMWARE_VERSION for domain: CORE 1.0
2018-10-01 14:50:18.281] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-10-01 14:50:18.281] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-10-01 14:50:18.287] [dev-box] [iec61850RequestsMessageListenerContainer-2] WARN o.o.c.db.api.iec61850.entities.Ssld@createDefaultConfiguration:99 - DeviceType is SSLD, returning default list of DeviceOutputSetting: 1 TARIFF, 2 & 3 & 4 LIGHT
2018-10-01 14:50:18.290] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:79 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3, 4=4}
2018-10-01 14:50:18.297] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 1 and max retry count: 1
2018-10-01 14:50:18.391] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-10-01 14:50:18.394] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /home/dev/Sources/SmartSocietyServices/Configuration/iec61850-server-models/SWDevice-010805.icd
2018-10-01 14:50:18.436] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-10-01T14:50:18.281Z, end time: 2018-10-01T14:50:18.436Z, total time in milliseconds: 155
2018-10-01 14:50:18.438] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.c.Iec61850GetFirmwareVersionCommand@apply:45 - Reading the functional firmware version
2018-10-01 14:50:18.438] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.FuncFwDw
2018-10-01 14:50:18.467] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, curVer has value 01_21_01A
2018-10-01 14:50:18.469] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.c.Iec61850GetFirmwareVersionCommand@apply:60 - Reading the security firmware version
2018-10-01 14:50:18.469] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.ScyFwDw
2018-10-01 14:50:18.501] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, curVer has value 01_06_02A
2018-10-01 14:50:18.502] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-10-01 14:50:18.502] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.m.p.CommonGetFirmwareRequestMessageProcessor@handleDeviceResponse:80 - Override for handleDeviceResponse() by CommonGetFirmwareRequestMessageProcessor
2018-10-01 14:50:18.502] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:110 - Sending protocol response message [correlationUid=LianderNetManagement|||KAI-0000000053|||20181001145017865, device=KAI-0000000053, messageType=GET_FIRMWARE_VERSION, messagePriority=4]
2018-10-01 14:50:18.504] [dev-box] [Thread-67] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@associationClosed:365 - associationClosed() for device: KAI-0000000053, IOException: Connection disconnected by client
2018-10-01 14:50:18.504] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@logDuration:355 - Device: KAI-0000000053, messageType: GET_FIRMWARE_VERSION, Start time: 2018-10-01T14:50:18.281Z, end time: 2018-10-01T14:50:18.504Z, total time in milliseconds: 223
2018-10-01 14:50:18.504] [dev-box] [Thread-67] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@associationClosed:370 - No event notifications received from device: KAI-0000000053
<?xml version="1.0" encoding="UTF-8"?>
<!--Created by Test with OMICRON IEDScout 4.10 licensed to OMICRON electronics-->
<!--SCL Schema Version 3.1 (2012/10/22)-->
<SCL version="2007" revision="B" xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.iec.ch/61850/2003/SCL SCL.xsd">
    <Header id="" version="" revision="" toolID="OMICRON IEDScout" nameStructure="IEDName" />
    <Communication>
        <SubNetwork name="NONE" type="8-MMS">
            <ConnectedAP iedName="SWDevice" apName="P1">
                <Address>
                    <P type="IP" xsi:type="tP_IP">192.168.105.190</P>
                    <P type="OSI-TSEL" xsi:type="tP_OSI-TSEL">0001</P>
                    <P type="OSI-SSEL" xsi:type="tP_OSI-SSEL">0001</P>
                    <P type="OSI-PSEL" xsi:type="tP_OSI-PSEL">00000001</P>
                    <P type="OSI-AP-Title">1,1,1,999,1</P>
                    <P type="OSI-AP-Invoke" xsi:type="tP_OSI-AP-Invoke">0</P>
                    <P type="OSI-AE-Qualifier" xsi:type="tP_OSI-AE-Qualifier">12</P>
                    <P type="OSI-AE-Invoke" xsi:type="tP_OSI-AE-Invoke">0</P>
                    <P type="MMS-Port" xsi:type="tP_MMS-Port">102</P>
                </Address>
            </ConnectedAP>
        </SubNetwork>
    </Communication>
    <IED name="SWDevice">
        <Services>
            <DynAssociation />
            <GetDirectory />
            <GetDataObjectDefinition />
            <DataObjectDirectory />
            <GetDataSetValue />
            <SetDataSetValue />
            <DataSetDirectory />
            <ConfDataSet max="1" modify="false" />
            <DynDataSet max="42" />
            <ReadWrite />
            <ConfReportControl max="1" bufConf="false" />
            <GetCBValues />
            <ReportSettings rptID="Dyn" optFields="Dyn" bufTime="Dyn" trgOps="Dyn" intgPd="Dyn" owner="true" />
            <ConfLNs fixPrefix="true" fixLnInst="true" />
            <GOOSE max="0" />
            <GSSE max="0" />
        </Services>
        <AccessPoint name="P1">
            <Server>
                <Authentication none="true" />
                <LDevice inst="GenericIO">
                    <LN0 lnType="SWDeviceGenericIO.LLN0" lnClass="LLN0" inst="">
                        <DataSet name="evn_rpn">
                            <FCDA ldInst="GenericIO" prefix="" lnClass="CSLC" lnInst="" doName="EvnRpn" fc="ST" />
                        </DataSet>
                        <ReportControl name="evn_rpn01" rptID="evn_rpn" buffered="true" bufTime="50" datSet="evn_rpn" intgPd="1000" confRev="1">
                            <TrgOps dchg="true" qchg="false" dupd="false" period="false" gi="true" />
                            <OptFields seqNum="true" timeStamp="true" dataSet="true" reasonCode="true" dataRef="false" entryID="true" configRef="false" />
                            <RptEnabled max="1" />
                        </ReportControl>
                        <DOI name="Mod">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="NamPlt">
                            <DAI name="vendor">
                                <Val>MZ Automation</Val>
                            </DAI>
                            <DAI name="swRev">
                                <Val>0.0.1</Val>
                            </DAI>
                            <DAI name="d">
                                <Val>libiec61850 server example</Val>
                            </DAI>
                            <DAI name="configRev">
                                <Val></Val>
                            </DAI>
                            <DAI name="ldNs">
                                <Val></Val>
                            </DAI>
                        </DOI>
                    </LN0>
                    <LN lnType="SWDeviceGenericIO.CSLC" lnClass="CSLC" inst="">
                        <DOI name="RbOper">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="TlsCf">
                            <DAI name="enbTls">
                                <Val>0</Val>
                            </DAI>
                            <DAI name="port">
                                <Val>0</Val>
                            </DAI>
                            <DAI name="comName">
                                <Val></Val>
                            </DAI>
                        </DOI>
                        <DOI name="Sensor">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Atnm">
                            <DAI name="lon">
                                <Val>5.591</Val>
                            </DAI>
                            <DAI name="lat">
                                <Val>52.143</Val>
                            </DAI>
                            <DAI name="zenith">
                                <Val>0</Val>
                            </DAI>
                        </DOI>
                        <DOI name="SWCf">
                            <DAI name="LT">
                                <Val>RELAY</Val>
                            </DAI>
                            <DAI name="adSetOft">
                                <Val>0</Val>
                            </DAI>
                            <DAI name="adRiseOft">
                                <Val>0</Val>
                            </DAI>
                        </DOI>
                        <DOI name="FuncFwDw">
                            <DAI name="url">
                                <Val></Val>
                            </DAI>
                        </DOI>
                        <DOI name="Clock">
                            <DAI name="tZ">
                                <Val>60</Val>
                            </DAI>
                            <DAI name="dstBegT">
                                <Val>M3.5.0/2</Val>
                            </DAI>
                            <DAI name="dstEndT">
                                <Val>M10.5.0/3</Val>
                            </DAI>
                            <DAI name="dvt">
                                <Val>60</Val>
                            </DAI>
                            <DAI name="enbDst">
                                <Val>1</Val>
                            </DAI>
                            <DAI name="enbNtpC">
                                <Val>1</Val>
                            </DAI>
                            <DAI name="ntpSvrA">
                                <Val>192.168.105.200</Val>
                            </DAI>
                            <DAI name="syncPer">
                                <Val>1440</Val>
                            </DAI>
                            <DAI name="minOst">
                                <Val>2</Val>
                            </DAI>
                            <DAI name="almOst">
                                <Val>5</Val>
                            </DAI>
                            <DAI name="maxOst">
                                <Val>900</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Reg">
                            <DAI name="svrAddr">
                                <Val>10.2.1.127</Val>
                            </DAI>
                            <DAI name="svrPort">
                                <Val>50000</Val>
                            </DAI>
                            <DAI name="ntfEnb">
                                <Val>1</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Log">
                            <DAI name="enb">
                                <Val>1</Val>
                            </DAI>
                        </DOI>
                        <DOI name="ScyFwDw">
                            <DAI name="url">
                                <Val> </Val>
                            </DAI>
                        </DOI>
                        <DOI name="CARepl">
                            <DAI name="url">
                                <Val> </Val>
                            </DAI>
                        </DOI>
                        <DOI name="IPCf">
                            <DAI name="enbDHCP">
                                <Val>1</Val>
                            </DAI>
                            <DAI name="ipAddr">
                                <Val>192.168.105.227</Val>
                            </DAI>
                            <DAI name="netmask">
                                <Val>255.255.255.0</Val>
                            </DAI>
                            <DAI name="gateway">
                                <Val>192.168.1.1</Val>
                            </DAI>
                        </DOI>
                        <DOI name="EvnBuf">
                            <DAI name="enbEvnType">
                                <Val>1FFFFFF</Val>
                            </DAI>
                        </DOI>
                        <DOI name="SNMPCf">
                            <DAI name="userName">
                                <Val>sw_device</Val>
                            </DAI>
                            <DAI name="authKey">
                                <Val>1qaz2wsx</Val>
                            </DAI>
                            <DAI name="encryptKey">
                                <Val>1qaz2wsx</Val>
                            </DAI>
                        </DOI>
                    </LN>
                    <LN lnType="SWDeviceGenericIO.LPHD" lnClass="LPHD" inst="">
                        <DOI name="PhyNam">
                            <DAI name="vendor">
                                <Val>KAI</Val>
                            </DAI>
                            <DAI name="hwRev">
                                <Val>V3.0</Val>
                            </DAI>
                            <DAI name="serNum">
                                <Val>000000000000000000</Val>
                            </DAI>
                            <DAI name="model">
                                <Val>2016-xx-xx</Val>
                            </DAI>
                            <DAI name="name">
                                <Val>AS101</Val>
                            </DAI>
                            <DAI name="msn">
                                <Val>W0000000000000000</Val>
                            </DAI>
                        </DOI>
                    </LN>
                    <LN lnType="SWDeviceGenericIO.XSWC1" lnClass="XSWC" inst="1">
                        <DOI name="SwType">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Pos">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="CfSt">
                            <DAI name="enbOper">
                                <Val>1</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Sche">
                            <SDI name="sche1">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche2">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche3">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche4">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche5">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche6">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche7">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche8">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche9">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche10">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche11">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche12">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche13">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche14">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche15">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche16">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche17">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche18">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche19">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche20">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche21">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche22">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche23">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche24">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche25">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche26">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche27">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche28">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche29">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche30">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche31">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche32">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche33">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche34">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche35">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche36">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche37">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche38">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche39">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche40">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche41">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche42">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche43">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche44">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche45">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche46">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche47">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche48">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche49">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche50">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche51">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche52">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche53">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche54">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche55">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche56">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche57">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche58">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche59">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche60">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche61">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche62">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche63">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche64">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                        </DOI>
                    </LN>
                    <LN lnType="SWDeviceGenericIO.XSWC1" lnClass="XSWC" inst="2">
                        <DOI name="SwType">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Pos">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="CfSt">
                            <DAI name="enbOper">
                                <Val>1</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Sche">
                            <SDI name="sche1">
                                <DAI name="enable">
                                    <Val>1</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>1</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>2</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche2">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche3">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche4">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche5">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche6">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche7">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche8">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche9">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche10">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche11">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche12">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche13">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche14">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche15">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche16">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche17">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche18">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche19">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche20">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche21">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche22">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche23">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche24">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche25">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche26">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche27">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche28">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche29">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche30">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche31">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche32">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche33">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche34">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche35">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche36">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche37">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche38">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche39">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche40">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche41">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche42">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche43">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche44">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche45">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche46">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche47">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche48">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche49">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche50">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche51">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche52">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche53">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche54">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche55">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche56">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche57">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche58">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche59">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche60">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche61">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche62">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche63">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche64">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                        </DOI>
                    </LN>
                    <LN lnType="SWDeviceGenericIO.XSWC1" lnClass="XSWC" inst="3">
                        <DOI name="SwType">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Pos">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="CfSt">
                            <DAI name="enbOper">
                                <Val>1</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Sche">
                            <SDI name="sche1">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche2">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche3">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche4">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche5">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche6">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche7">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche8">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche9">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche10">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche11">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche12">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche13">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche14">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche15">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche16">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche17">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche18">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche19">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche20">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche21">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche22">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche23">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche24">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche25">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche26">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche27">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche28">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche29">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche30">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche31">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche32">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche33">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche34">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche35">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche36">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche37">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche38">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche39">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche40">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche41">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche42">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche43">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche44">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche45">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche46">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche47">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche48">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche49">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche50">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche51">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche52">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche53">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche54">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche55">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche56">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche57">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche58">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche59">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche60">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche61">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche62">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche63">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche64">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                        </DOI>
                    </LN>
                    <LN lnType="SWDeviceGenericIO.XSWC1" lnClass="XSWC" inst="4">
                        <DOI name="SwType">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Pos">
                            <DAI name="ctlModel">
                                <Val>status-only</Val>
                            </DAI>
                        </DOI>
                        <DOI name="CfSt">
                            <DAI name="enbOper">
                                <Val>1</Val>
                            </DAI>
                        </DOI>
                        <DOI name="Sche">
                            <SDI name="sche1">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche2">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche3">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche4">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche5">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche6">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche7">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche8">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche9">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche10">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche11">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche12">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche13">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche14">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche15">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche16">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche17">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche18">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche19">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche20">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche21">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche22">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche23">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche24">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche25">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche26">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche27">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche28">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche29">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche30">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche31">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche32">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche33">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche34">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche35">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche36">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche37">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche38">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche39">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche40">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche41">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche42">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche43">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche44">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche45">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche46">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche47">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche48">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche49">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche50">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche51">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche52">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche53">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche54">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche55">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche56">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche57">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche58">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche59">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche60">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche61">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche62">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche63">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                            <SDI name="sche64">
                                <DAI name="enable">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="day">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOn">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOnT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOff">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="tOffT">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="minOnPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="minOffPer">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srBefWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="srAftWd">
                                    <Val>30</Val>
                                </DAI>
                                <DAI name="igBefWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="igAftWd">
                                    <Val>0</Val>
                                </DAI>
                                <DAI name="Descr">
                                    <Val>ON/OFF schedule</Val>
                                </DAI>
                            </SDI>
                        </DOI>
                    </LN>
                </LDevice>
            </Server>
        </AccessPoint>
    </IED>
    <DataTypeTemplates>
        <LNodeType id="SWDeviceGenericIO.CSLC" lnClass="CSLC">
            <DO name="RbOper" type="SWDeviceGenericIO.CSLC.RbOper" />
            <DO name="TlsCf" type="SWDeviceGenericIO.CSLC.TlsCf" />
            <DO name="Sensor" type="SWDeviceGenericIO.CSLC.Sensor" />
            <DO name="Atnm" type="SWDeviceGenericIO.CSLC.Atnm" />
            <DO name="SWCf" type="SWDeviceGenericIO.CSLC.SWCf" />
            <DO name="FuncFwDw" type="SWDeviceGenericIO.CSLC.FuncFwDw" />
            <DO name="Clock" type="SWDeviceGenericIO.CSLC.Clock" />
            <DO name="Reg" type="SWDeviceGenericIO.CSLC.Reg" />
            <DO name="Log" type="SWDeviceGenericIO.CSLC.Log" />
            <DO name="ScyFwDw" type="SWDeviceGenericIO.CSLC.FuncFwDw" />
            <DO name="CARepl" type="SWDeviceGenericIO.CSLC.FuncFwDw" />
            <DO name="IPCf" type="SWDeviceGenericIO.CSLC.IPCf" />
            <DO name="EvnRpn" type="SWDeviceGenericIO.CSLC.EvnRpn" />
            <DO name="EvnBuf" type="SWDeviceGenericIO.CSLC.EvnBuf" />
            <DO name="SNMPCf" type="SWDeviceGenericIO.CSLC.SNMPCf" />
        </LNodeType>
        <LNodeType id="SWDeviceGenericIO.XSWC1" lnClass="XSWC">
            <DO name="OpCnt" type="SWDeviceGenericIO.XSWC1.OpCnt" />
            <DO name="SwType" type="SWDeviceGenericIO.XSWC1.SwType" />
            <DO name="Pos" type="SWDeviceGenericIO.CSLC.Sensor" />
            <DO name="OnItvB" type="SWDeviceGenericIO.XSWC1.OnItvB" />
            <DO name="CfSt" type="SWDeviceGenericIO.XSWC1.CfSt" />
            <DO name="Sche" type="SWDeviceGenericIO.XSWC1.Sche" />
        </LNodeType>
        <LNodeType id="SWDeviceGenericIO.LLN0" lnClass="LLN0">
            <DO name="Beh" type="SWDeviceGenericIO.LLN0.Beh" />
            <DO name="Health" type="SWDeviceGenericIO.LLN0.Health" />
            <DO name="Mod" type="SWDeviceGenericIO.LLN0.Mod" />
            <DO name="NamPlt" type="SWDeviceGenericIO.LLN0.NamPlt" />
        </LNodeType>
        <LNodeType id="SWDeviceGenericIO.LPHD" lnClass="LPHD">
            <DO name="PhyHealth" type="SWDeviceGenericIO.LLN0.Health" />
            <DO name="Proxy" type="SWDeviceGenericIO.LPHD.Proxy" />
            <DO name="PhyNam" type="SWDeviceGenericIO.LPHD.PhyNam" />
        </LNodeType>
        <DOType id="SWDeviceGenericIO.CSLC.TlsCf" cdc="UNKNOWN">
            <DA name="enbTls" fc="CF" bType="BOOLEAN" />
            <DA name="port" fc="CF" bType="INT32U" />
            <DA name="comName" fc="CF" bType="VisString255" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.Atnm" cdc="UNKNOWN">
            <DA name="sunset" fc="ST" bType="Timestamp" />
            <DA name="sunrise" fc="ST" bType="Timestamp" />
            <DA name="lon" fc="CF" bType="FLOAT32" />
            <DA name="lat" fc="CF" bType="FLOAT32" />
            <DA name="zenith" fc="CF" bType="INT8U" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.SWCf" cdc="UNKNOWN">
            <DA name="LT" fc="CF" bType="VisString64" />
            <DA name="adSetOft" fc="CF" bType="INT16" />
            <DA name="adRiseOft" fc="CF" bType="INT16" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.FuncFwDw" cdc="UNKNOWN">
            <DA name="status" fc="ST" bType="INT8" />
            <DA name="curVer" fc="ST" bType="VisString32" />
            <DA name="url" fc="CF" bType="VisString255" />
            <DA name="startT" fc="CF" bType="Timestamp" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.Clock" cdc="UNKNOWN">
            <DA name="curT" fc="CF" bType="Timestamp" />
            <DA name="tZ" fc="CF" bType="INT16" />
            <DA name="dstBegT" fc="CF" bType="VisString255" />
            <DA name="dstEndT" fc="CF" bType="VisString255" />
            <DA name="dvt" fc="CF" bType="INT16" />
            <DA name="enbDst" fc="CF" bType="BOOLEAN" />
            <DA name="enbNtpC" fc="CF" bType="BOOLEAN" />
            <DA name="ntpSvrA" fc="CF" bType="VisString255" />
            <DA name="syncPer" fc="CF" bType="INT16U" />
            <DA name="minOst" fc="CF" bType="INT16U" />
            <DA name="almOst" fc="CF" bType="INT16U" />
            <DA name="maxOst" fc="CF" bType="INT16U" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.Reg" cdc="UNKNOWN">
            <DA name="svrAddr" fc="CF" bType="VisString64" />
            <DA name="svrPort" fc="CF" bType="INT32" />
            <DA name="ntfEnb" fc="CF" bType="BOOLEAN" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.Log" cdc="UNKNOWN">
            <DA name="enb" fc="CF" bType="BOOLEAN" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.IPCf" cdc="UNKNOWN">
            <DA name="mac" fc="ST" bType="VisString32" />
            <DA name="enbDHCP" fc="CF" bType="BOOLEAN" />
            <DA name="ipAddr" fc="CF" bType="VisString32" />
            <DA name="netmask" fc="CF" bType="VisString32" />
            <DA name="gateway" fc="CF" bType="VisString32" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.EvnRpn" cdc="UNKNOWN">
            <DA name="evnType" fc="ST" bType="INT8U" />
            <DA name="swNum" fc="ST" bType="INT8U" />
            <DA name="trgType" fc="ST" bType="INT8U" />
            <DA name="swVal" fc="ST" bType="BOOLEAN" />
            <DA name="trgTime" fc="ST" bType="Timestamp" />
            <DA name="remark" fc="ST" bType="VisString64" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.EvnBuf" cdc="UNKNOWN">
            <DA name="lastIdx" fc="ST" bType="INT16U" />
            <DA name="evn1" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn2" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn3" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn4" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn5" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn6" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn7" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn8" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn9" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn10" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn11" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn12" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn13" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn14" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn15" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn16" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn17" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn18" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn19" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn20" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn21" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn22" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn23" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn24" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn25" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn26" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn27" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn28" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn29" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn30" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn31" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn32" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn33" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn34" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn35" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn36" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn37" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn38" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn39" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn40" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn41" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn42" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn43" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn44" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn45" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn46" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn47" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn48" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn49" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn50" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn51" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn52" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn53" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn54" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn55" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn56" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn57" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn58" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn59" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn60" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn61" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn62" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn63" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn64" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn65" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn66" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn67" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn68" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn69" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn70" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn71" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn72" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn73" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn74" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn75" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn76" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn77" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn78" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn79" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn80" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn81" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn82" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn83" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn84" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn85" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn86" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn87" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn88" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn89" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn90" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn91" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn92" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn93" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn94" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn95" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn96" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn97" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn98" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn99" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn100" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn101" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn102" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn103" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn104" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn105" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn106" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn107" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn108" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn109" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn110" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn111" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn112" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn113" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn114" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn115" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn116" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn117" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn118" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn119" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="evn120" fc="ST" bType="Struct" type="SWDeviceGenericIO.CSLC.EvnBuf.evn1" />
            <DA name="enbEvnType" fc="CF" bType="VisString32" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.SNMPCf" cdc="UNKNOWN">
            <DA name="userName" fc="CF" bType="VisString255" />
            <DA name="authKey" fc="CF" bType="VisString255" />
            <DA name="encryptKey" fc="CF" bType="VisString255" />
        </DOType>
        <DOType id="SWDeviceGenericIO.XSWC1.OnItvB" cdc="UNKNOWN">
            <DA name="lastIdx" fc="ST" bType="INT8U" />
            <DA name="itv1" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv2" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv3" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv4" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv5" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv6" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv7" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv8" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv9" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv10" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv11" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv12" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv13" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv14" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv15" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv16" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv17" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv18" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv19" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv20" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv21" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv22" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv23" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv24" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv25" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv26" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv27" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv28" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv29" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv30" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv31" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv32" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv33" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv34" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv35" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv36" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv37" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv38" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv39" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv40" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv41" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv42" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv43" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv44" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv45" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv46" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv47" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv48" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv49" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv50" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv51" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv52" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv53" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv54" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv55" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv56" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv57" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv58" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv59" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
            <DA name="itv60" fc="ST" bType="Struct" type="SWDeviceGenericIO.XSWC1.OnItvB.itv1" />
        </DOType>
        <DOType id="SWDeviceGenericIO.XSWC1.CfSt" cdc="UNKNOWN">
            <DA name="enbOper" fc="CF" bType="BOOLEAN" />
        </DOType>
        <DOType id="SWDeviceGenericIO.XSWC1.Sche" cdc="UNKNOWN">
            <DA name="sche1" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche2" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche3" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche4" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche5" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche6" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche7" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche8" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche9" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche10" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche11" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche12" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche13" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche14" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche15" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche16" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche17" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche18" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche19" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche20" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche21" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche22" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche23" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche24" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche25" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche26" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche27" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche28" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche29" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche30" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche31" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche32" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche33" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche34" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche35" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche36" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche37" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche38" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche39" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche40" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche41" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche42" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche43" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche44" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche45" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche46" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche47" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche48" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche49" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche50" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche51" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche52" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche53" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche54" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche55" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche56" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche57" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche58" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche59" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche60" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche61" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche62" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche63" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
            <DA name="sche64" fc="CF" bType="Struct" type="SWDeviceGenericIO.XSWC1.Sche.sche1" />
        </DOType>
        <DOType id="SWDeviceGenericIO.LPHD.PhyNam" cdc="DPL">
            <DA name="vendor" fc="DC" bType="VisString255" />
            <DA name="hwRev" fc="DC" bType="VisString255" />
            <DA name="serNum" fc="DC" bType="VisString255" />
            <DA name="model" fc="DC" bType="VisString255" />
            <DA name="name" fc="DC" bType="VisString255" />
            <DA name="msn" fc="DC" bType="VisString255" />
        </DOType>
        <DOType id="SWDeviceGenericIO.LLN0.Mod" cdc="INC">
            <DA name="stVal" fc="ST" bType="Enum" type="Mod" />
            <DA name="q" fc="ST" bType="Quality" />
            <DA name="t" fc="ST" bType="Timestamp" />
            <DA name="Oper" fc="CO" bType="Struct" type="SWDeviceGenericIO.LLN0.Mod.Oper" />
            <DA name="ctlModel" fc="CF" bType="Enum" type="ctlModel" />
        </DOType>
        <DOType id="SWDeviceGenericIO.XSWC1.SwType" cdc="INC">
            <DA name="stVal" fc="ST" bType="INT8" />
            <DA name="q" fc="ST" bType="Quality" />
            <DA name="t" fc="ST" bType="Timestamp" />
            <DA name="Oper" fc="CO" bType="Struct" type="SWDeviceGenericIO.XSWC1.SwType.Oper" />
            <DA name="ctlModel" fc="CF" bType="Enum" type="ctlModel" />
        </DOType>
        <DOType id="SWDeviceGenericIO.LLN0.Beh" cdc="INS">
            <DA name="stVal" fc="ST" bType="Enum" type="Beh" />
            <DA name="q" fc="ST" bType="Quality" />
            <DA name="t" fc="ST" bType="Timestamp" />
        </DOType>
        <DOType id="SWDeviceGenericIO.LLN0.Health" cdc="INS">
            <DA name="stVal" fc="ST" bType="Enum" type="Health" />
            <DA name="q" fc="ST" bType="Quality" />
            <DA name="t" fc="ST" bType="Timestamp" />
        </DOType>
        <DOType id="SWDeviceGenericIO.XSWC1.OpCnt" cdc="INS">
            <DA name="stVal" fc="ST" bType="INT32" />
            <DA name="q" fc="ST" bType="Quality" />
            <DA name="t" fc="ST" bType="Timestamp" />
        </DOType>
        <DOType id="SWDeviceGenericIO.LLN0.NamPlt" cdc="LPL">
            <DA name="vendor" fc="DC" bType="VisString255" />
            <DA name="swRev" fc="DC" bType="VisString255" />
            <DA name="d" fc="DC" bType="VisString255" />
            <DA name="configRev" fc="DC" bType="VisString255" />
            <DA name="ldNs" fc="EX" bType="VisString255" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.RbOper" cdc="SPC">
            <DA name="stVal" fc="ST" bType="BOOLEAN" />
            <DA name="Oper" fc="CO" bType="Struct" type="SWDeviceGenericIO.CSLC.RbOper.Oper" />
            <DA name="ctlModel" fc="CF" bType="Enum" type="ctlModel" />
        </DOType>
        <DOType id="SWDeviceGenericIO.CSLC.Sensor" cdc="SPC">
            <DA name="stVal" fc="ST" bType="BOOLEAN" />
            <DA name="q" fc="ST" bType="Quality" />
            <DA name="t" fc="ST" bType="Timestamp" />
            <DA name="Oper" fc="CO" bType="Struct" type="SWDeviceGenericIO.CSLC.RbOper.Oper" />
            <DA name="ctlModel" fc="CF" bType="Enum" type="ctlModel" />
        </DOType>
        <DOType id="SWDeviceGenericIO.LPHD.Proxy" cdc="SPS">
            <DA name="stVal" fc="ST" bType="BOOLEAN" />
            <DA name="q" fc="ST" bType="Quality" />
            <DA name="t" fc="ST" bType="Timestamp" />
        </DOType>
        <DAType id="SWDeviceGenericIO.CSLC.EvnBuf.evn1">
            <BDA name="evnType" bType="INT8U" />
            <BDA name="swNum" bType="INT8U" />
            <BDA name="trgType" bType="INT8U" />
            <BDA name="swVal" bType="BOOLEAN" />
            <BDA name="trgTime" bType="Timestamp" />
            <BDA name="remark" bType="VisString64" />
        </DAType>
        <DAType id="SWDeviceGenericIO.XSWC1.OnItvB.itv1">
            <BDA name="itv" bType="INT32" />
            <BDA name="day" bType="Timestamp" />
        </DAType>
        <DAType id="SWDeviceGenericIO.XSWC1.Sche.sche1">
            <BDA name="enable" bType="BOOLEAN" />
            <BDA name="day" bType="INT32" />
            <BDA name="tOn" bType="INT32" />
            <BDA name="tOnT" bType="INT8" />
            <BDA name="tOff" bType="INT32" />
            <BDA name="tOffT" bType="INT8" />
            <BDA name="minOnPer" bType="INT16U" />
            <BDA name="minOffPer" bType="INT16U" />
            <BDA name="srBefWd" bType="INT16U" />
            <BDA name="srAftWd" bType="INT16U" />
            <BDA name="igBefWd" bType="INT16U" />
            <BDA name="igAftWd" bType="INT16U" />
            <BDA name="Descr" bType="VisString255" />
        </DAType>
        <DAType id="SWDeviceGenericIO.LLN0.Mod.Oper.origin">
            <BDA name="orCat" bType="Enum" type="orCategory" />
            <BDA name="orIdent" bType="Octet64" />
        </DAType>
        <DAType id="SWDeviceGenericIO.CSLC.RbOper.Oper">
            <BDA name="ctlVal" bType="BOOLEAN" />
            <BDA name="origin" bType="Struct" type="SWDeviceGenericIO.LLN0.Mod.Oper.origin" />
            <BDA name="ctlNum" bType="INT8U" />
            <BDA name="T" bType="Timestamp" />
            <BDA name="Test" bType="BOOLEAN" />
            <BDA name="Check" bType="Check" />
        </DAType>
        <DAType id="SWDeviceGenericIO.LLN0.Mod.Oper">
            <BDA name="ctlVal" bType="Enum" type="Mod" />
            <BDA name="origin" bType="Struct" type="SWDeviceGenericIO.LLN0.Mod.Oper.origin" />
            <BDA name="ctlNum" bType="INT8U" />
            <BDA name="T" bType="Timestamp" />
            <BDA name="Test" bType="BOOLEAN" />
            <BDA name="Check" bType="Check" />
        </DAType>
        <DAType id="SWDeviceGenericIO.XSWC1.SwType.Oper">
            <BDA name="ctlVal" bType="INT8" />
            <BDA name="origin" bType="Struct" type="SWDeviceGenericIO.LLN0.Mod.Oper.origin" />
            <BDA name="ctlNum" bType="INT8U" />
            <BDA name="T" bType="Timestamp" />
            <BDA name="Test" bType="BOOLEAN" />
            <BDA name="Check" bType="Check" />
        </DAType>
        <EnumType id="ctlModel">
            <!--Source: IEC 61850-7-3:2003-->
            <EnumVal ord="0">status-only</EnumVal>
            <EnumVal ord="1">direct-with-normal-security</EnumVal>
            <EnumVal ord="2">sbo-with-normal-security</EnumVal>
            <EnumVal ord="3">direct-with-enhanced-security</EnumVal>
            <EnumVal ord="4">sbo-with-enhanced-security</EnumVal>
        </EnumType>
        <EnumType id="orCategory">
            <!--Source: IEC 61850-7-3:2003-->
            <EnumVal ord="0">not-supported</EnumVal>
            <EnumVal ord="1">bay-control</EnumVal>
            <EnumVal ord="2">station-control</EnumVal>
            <EnumVal ord="3">remote-control</EnumVal>
            <EnumVal ord="4">automatic-bay</EnumVal>
            <EnumVal ord="5">automatic-station</EnumVal>
            <EnumVal ord="6">automatic-remote</EnumVal>
            <EnumVal ord="7">maintenance</EnumVal>
            <EnumVal ord="8">process</EnumVal>
        </EnumType>
        <EnumType id="Beh">
            <!--Source: IEC 61850-7-4:2003-->
            <EnumVal ord="1">on</EnumVal>
            <EnumVal ord="2">blocked</EnumVal>
            <EnumVal ord="3">test</EnumVal>
            <EnumVal ord="4">test/blocked</EnumVal>
            <EnumVal ord="5">off</EnumVal>
        </EnumType>
        <EnumType id="Health">
            <!--Source: IEC 61850-7-4:2003-->
            <EnumVal ord="1">Ok</EnumVal>
            <EnumVal ord="2">Warning</EnumVal>
            <EnumVal ord="3">Alarm</EnumVal>
        </EnumType>
        <EnumType id="Mod">
            <!--Source: IEC 61850-7-4:2003-->
            <EnumVal ord="1">on</EnumVal>
            <EnumVal ord="2">blocked</EnumVal>
            <EnumVal ord="3">test</EnumVal>
            <EnumVal ord="4">test/blocked</EnumVal>
            <EnumVal ord="5">off</EnumVal>
        </EnumType>
    </DataTypeTemplates>
</SCL>

SWDevice-010805

Contract for SWDevice-010805 The contract specifies the messages which can be exchanged with an SSLD.

hashtag
Messages

The messages below are part of OSGP and implemented in the IEC61850 protocol adapter and supported by the SWDevice-010805 device firmware.

  • (from device to platform) is a request that notifies the platform a device wants to register. During the registration the device sends its identification (serial number), and the device communicates its IP address to the platform.

  • (from platform to device) is a response which informs the device that the registration was successful. The device will not register anymore, until the next power cycle or reboot.

  • (from platform to device) is a request which commands a device to switch all light relays on.

  • (from device to platform) is a response which returns the result of the StartSelfTestRequest.

  • (from platform to device) is a request which commands a device to switch all light relays off.

  • (from device to platform) is a response which returns the result of the StopSelfTestRequest.

  • (from platform to device) is a request which commands a device to reboot immediately.

  • (from device to platform) is a response which returns the result of the SetRebootRequest.

  • (from platform to device) is a request which commands a device to switch on or off one ore several light relays.

  • (from device to platform) is a response which returns the result of the SetLightRequest.

  • (from platform to device) is a request which commands a device to switch its light relays according to light measurement schedule-entries.

  • (from device to platform) is a response which returns the result of the SetTransitionRequest.

  • (from platform to device) is a request which commands a device to set the event notification mask.

  • (from device to platform) is a response which returns the result of the SetEventNotificationsRequest.

  • (from platform to device) is a request which queries a device for the current status of all its relays, the type of configuration (RELAY for SSLD), and the event notification mask set on the device.

  • (from device to platform) is a response which returns the result of the GetStatusRequest and, if 'result = OK', returns the current status for all of the relays and other information.

  • (from platform to device) is a request which queries a device for its current firmware version.

  • (from device to platform) is a response which returns the result of the GetFirmwareVersionRequest and, if 'result = OK', returns the current firmware version.

  • (from platform to device) is a request which commands a device to download a new firmware version from a server using a URL.

  • (from device to platform) is a response which returns the result of the UpdateFirmwareRequest, which indicates if the device will start the process to download and install a new firmware version. Please note there are several events which are sent from the device to the platform to inform the platform when the firmware has been downloaded and whether or not the firmware was successfully activated.

  • (from platform to device) is a request which queries a device for its current configuration settings.

  • (from device to platform) is a response which returns the result of the GetConfigurationRequest and, if 'result = OK', returns the configuration settings retrieved from the device.

  • (from platform to device) is a request which commands a device to update its configuration.

  • (from device to platform) is a response which returns the result of the SetConfigurationRequest.

  • (from platform to device) is a request which commands a device to update its light or tariff schedule.

  • (from device to platform) is a response which returns the result of the SetScheduleRequest.

  • (from platform to device) is a request which commands a device to download a new certificate file from a server using a URL.

  • (from platform to device) is a response which returns the result of the UpdateDeviceSslCertificationRequest, which indicates if the device will start the process to download and install a new certificate file. Please note there are several events which are sent from the device to the platform to inform the platform whether or not the certificate file was successfully downloaded and activated.

  • (from device to platform) is a request that pushes an event notification from a device to the platform.

The following messages are not supported in IEC61850 and will return an UNSUPPORTED_DEVICE_ACTION SOAP Fault when a request is sent:

  • ResumeScheduleRequest

  • SwitchConfigurationRequest

  • SwitchFirmwareRequest

The following message from device to OSGP is also not supported:

  • ConfirmRegisterDeviceRequest

RegisterDevice

hashtag
Description

The device registration is a 2 step process. First RegisterDeviceRequest is sent from device to platform. Second are writing GPS coordinates to the device and disabling the device registration flag.

Request that notifies the platform that a device wants to register. During the registration the device identification (serial number) and the IP address are sent to the platform.

Response writes GPS coordinates and disables registration flag.

hashtag
IEC61850 Fields

hashtag
Plain text registration message

IEC61850 platform messages of the data sent to the device:

IEC61850 protocol adapter logging:

IEC61850

hashtag
IEC61850

The open smart grid platform supports IEC61850. IEC61850 is a popular protocol in the field of "smart grids". IEC61850 started as a standard for substation automation but has expanded into other domains such as EV and solar panels. Currently, the IEC61850 protocol is used within the Public Lighting, Microgrids and Distribution Automation domains. IEC61850 on Wikipediaarrow-up-right

hashtag
Protocol security

  • No security options exist in this IEC61850 version 1 and 2

  • Use through a secured tunnelling protocol like TLS (with client certificates) or VPN

    IEC Security guidelines can be found in IEC62351.

hashtag
Specific communication service mapping (SCSM)

The open smart grid platform implementation supports:

  • IEC 61850-8-1: Mappings to MMS (ISO/IEC9506-1 and ISO/IEC 9506-2)

hashtag
Used library

The is used to implement the protocol.

hashtag
Supported Devices

These devices are currently supported by the Open Smart Grid Platform:

  • Wago 750-881 RTU

  • ABB 540CID11 RTU

  • Kaifa AS101 load control box

hashtag
Difference between OSLP and IEC61850

Contrary to OSLP the contract between OSGP and IEC61850 devices does not exist of request/response messages, instead the request messages received by OSGP will result in multiple read/write operations at the device. The response messages returned by OSGP will contain the result of these operations.

UpdateFirmware

hashtag
Description

Request which commands a device to download and install new firmware. The request contains a URL defining the location of the new firmware image. The device should download the firmware from that location.

Response which returns the result of the request.

hashtag
IEC61850 Fields

hashtag
Example

Soap requests and responses sent to and from platform:

Platform message of the data written to the device:

IEC61850 protocol adapter logging:

Protocols

The open smart grid platform supported protocols can be found in this section. Feel free to add your own protocol or improve an existing protocol adapter.

hashtag
Protocol Adapters

Protocol Adapter components translate a message from domain adapter components into a protocol message for a smart device. Protocol Adapter components send the protocol message to a smart device using a network connection. The response from the smart device is translated into a domain response message which will be sent to the Core components (which will route it to the domain adapter which issued the request).

hashtag
OSLP

For the OSLP implementation, 2 components are used. The first component is the protocol adapter for the protocol. It can translate message into the protocol message for SSLD's. Second there's the signing-server component. It is responsible for signing the protocol message using the private key of the platform. The components communicate using a queue-pair. The singing-server can handle multiple protocol adapter instances by utilizing a reply-to queue per protocol adapter instance. Since the protocol adapter component needs to be reachable from a network, it is a requirement that the private key may not be used by the protocol adapter directly. The singing-server component can be deployed in such a way that no network access is available to this component, as the only coupling needed are the queues / the message broker.

hashtag
DLMS

The DLMS protocol is used for (mainly) smart metering.

hashtag
IEC61850

The IEC61850 implementation is used for e.g. distribution automation, microgrids and public lighting.

hashtag
MQTT

The MQTT implementation is used in distribution automation

hashtag
Basic layout of a protocol adapter

The following diagram shows the basic structure of a protocol adapter. This however does not mean that all protocol adapters will be structured like this, but instead the diagram shows an example of how such a protocol adapter could be structured.

EventNotification

hashtag
Description

Buffered report sent from device to platform containing information about 1 event. The devices keep up to 120 events in the cyclic buffer CSLC.EvnBuf.evn1/env120. The events are converted to buffered reports when OSGP triggers the device to do so by writing true to CSLC.evn_rpn01[BR].RptEna. When this happens, the device will send the buffered reports to OSGP. OSGP will save the information specified by the remark field, like the event type and the event time:

evnType: 4 = TARIFF_EVENTS_TARIFF_ON
swNum: 1 = get external index for switch 1
trgType: 3 = fixed time trigger
swVal: true = ON
trgTime: 2018-10-01T05:00:00.000Z

Example buffered report:

NOTE: After executing operations SetLightRequest, GetStatusRequest and SetTransitionRequest, OSGP will enable reporting on the device. Optionally, OSGP will enable reporting after DeviceRegistrationRequest (default is false).

hashtag
IEC61850 Fields

IEC61850 platform message of the data sent to the device:

IEC61850 protocol Adapter logging:

GetStatus

hashtag
Description

Request which queries the device for the status of all relays, the type of configuration, and the event notification mask set on the device.

Response which returns the result of the request and, if 'result = OK', contains the current status for all of the relays and other information.

SetConfiguration

hashtag
Description

Request which commands a device to update its configuration.

Response which returns the result of the request.

StartSelfTest

hashtag
Description

Request which commands the device to switch all light relays on and then queries the device for the status of the relays. OGSP checks if the status of the relays is as expected (on in this case).

Response returns the result of the request.

StopSelfTest

hashtag
Description

Request which commands the device to switch all light relays off and then queries the device for the status of the relays. OGSP checks if the status of the relays is as expected (off in this case).

Response which returns the result of the request.

                     RptId:     evn_rpn
                DataSetRef:     SWDeviceGenericIO/LLN0.evn_rpn
                   ConfRev:     null
                   BufOvfl:     true
                   EntryId:     none: [0, 0, 1, 102, 45, -1, 87, -73]
                                (f-�W�)
        InclusionBitString:     [true]
        MoreSegmentsFollow:     false
                     SqNum:     0
                  SubSqNum:     null
               TimeOfEntry:     none: 1096606800823
                                (2018-10-01T05:00:00.823Z)
               ReasonCodes:
                                0x40    (DataChange)
                   DataSet:     SWDeviceGenericIO/LLN0.evn_rpn
           DataSet members:     1
                    member:     SWDeviceGenericIO/CSLC.EvnRpn [ST]
SWDeviceGenericIO/CSLC.EvnRpn.evnType: 4
SWDeviceGenericIO/CSLC.EvnRpn.swNum: 1
SWDeviceGenericIO/CSLC.EvnRpn.trgType: 3
SWDeviceGenericIO/CSLC.EvnRpn.swVal: true
SWDeviceGenericIO/CSLC.EvnRpn.trgTime: Mon Oct 01 05:00:00 UTC 2018
SWDeviceGenericIO/CSLC.EvnRpn.remark: remark
                                        evnType: 4 = TARIFF_EVENTS_TARIFF_ON
                                        swNum: 1 = get external index for switch 1
                                        trgType: 3 = fixed time trigger
                                        swVal: true = ON
                                        trgTime: 2018-10-01T05:00:00.000Z
                                        remark: remark
SetDeviceVerificationKeyRequest
RegisterDeviceRequest
RegisterDeviceResponse
StartSelfTestRequest
StartSelfTestResponse
StopSelfTestRequest
StopSelfTestResponse
SetRebootRequest
SetRebootResponse
SetLightRequest
SetLightResponse
SetTransitionRequest
SetTransitionResponse
SetEventNotificationsRequest
SetEventNotificationsResponse
GetStatusRequest
GetStatusResponse
GetFirmwareVersionRequest
GetFirmwareVersionResponse
UpdateFirmwareRequest
UpdateFirmwareResponse
GetConfigurationRequest
GetConfigurationResponse
SetConfigurationRequest
SetConfigurationResponse
SetScheduleRequest
SetScheduleResponse
UpdateDeviceSslCertificationRequest
UpdateDeviceSslCertificationResponse
EventNotificationRequest
OpenMUC IEC61850 library from Fraunhoferarrow-up-right

OSLP v0.5.1

NOTE: OSLP v0.5.1 is deprecated.

Contract for v0.5.1

CSLC.Atnm

CF

lat

FLOAT32

Latitude.

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

CSLC.Reg

CF

ntfEnb

BOOLEAN

Enable/Disable device registration.

CSLC.Atnm

CF

lon

FLOAT32

Longitude.

CSLC.ScyFwDw

CF

url

VisString255

Security firmware. Set new firmware file download URL here, device will download the new firmware file and then replace the old firmware file at startT.

CSLC.ScyFwDw

CF

startT

Timestamp

Security firmware. Device will try to install new firmware file at this Timestamp (date + time).

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

CSLC.FuncFwDw

CF

url

VisString255

Functional firmware. Set new firmware file download URL here, device will download the new firmware file and then replace the old firmware file at startT.

CSLC.FuncFwDw

CF

startT

Timestamp

Functional firmware. Device will try to install new firmware file at this Timestamp (date + time).

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

CSLC.evn_rpn01

BR

RptEna

BOOLEAN

Flag which indicates to the device to send buffered reports.

EventNotification

hashtag
Description

A light sensor device can send a buffered report containing the current state of the digital inputs. The buffered report will be sent on data change. OSGP will interpret the buffered report and save event information contained in the report, in this case the state of the digital input:

AA1TH01LD0/SPGGIO1.Ind.stVal: false

IEC61850 protocol Adapter logging:

Protobuf Contract

FlexOVL_540_171101_2_out.icd

0000000053,84.30.69.148
LogicalDevice: SWDeviceGenericIO
messageType: LocationInformation {
  CSLC.Atnm[CF].lon: 52.37875
  CSLC.Atnm[CF].lat:  5.95558
}
messageType: DisableRegistration {
  CSLC.Reg[CF].ntfEnb: false
}
2018-09-28 06:24:43.590] [osgp-tst-04] [New I/O server boss #9] INFO o.o.a.p.i.a.config.Iec61850Config@getPipeline:120 - Created new IEC61850 handler pipeline for server
2018-09-28 06:24:43.591] [osgp-tst-04] [New I/O server boss #9] INFO o.j.n.handler.logging.LoggingHandler@info:48 - [id: 0x2838b6a7, /84.241.206.116:51773 => /172.16.1.5:50001] OPEN
2018-09-28 06:24:43.591] [osgp-tst-04] [New I/O server boss #9] INFO o.o.a.p.i.i.n.Iec61850ChannelHandlerServer@channelOpen:34 - 674805415 Channel opened
2018-09-28 06:24:43.592] [osgp-tst-04] [New I/O worker #4] INFO o.j.n.handler.logging.LoggingHandler@info:48 - [id: 0x2838b6a7, /84.241.206.116:51773 => /172.16.1.5:50001] BOUND: /172.16.1.5:50001
2018-09-28 06:24:43.593] [osgp-tst-04] [New I/O worker #4] INFO o.j.n.handler.logging.LoggingHandler@info:48 - [id: 0x2838b6a7, /84.241.206.116:51773 => /172.16.1.5:50001] CONNECTED: /84.241.206.116:51773
2018-09-28 06:25:38.173] [osgp-tst-04] [New I/O worker #4] INFO o.j.n.handler.logging.LoggingHandler@info:48 - [id: 0x2838b6a7, /84.241.206.116:51773 => /172.16.1.5:50001] RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=25, cap=25)
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 30 30 30 30 30 30 30 30 35 33 2c 38 34 2e 33 30 |0000000053,84.30|
|00000010| 2e 36 39 2e 31 34 38 0d 0a |.69.148.. |
+--------+-------------------------------------------------+----------------+
2018-09-28 06:25:49.131] [osgp-tst-04] [New I/O worker #4] INFO o.j.n.handler.logging.LoggingHandler@info:48 - [id: 0x2838b6a7, /84.241.206.116:51773 :> /172.16.1.5:50001] DISCONNECTED
2018-09-28 06:25:49.131] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.RegisterDeviceRequestDecoder@decodeLast:41 - Decoding bytes received at channel disconnect.
2018-09-28 06:25:49.170] [osgp-tst-04] [ActiveMQ Task-1] INFO o.a.a.t.failover.FailoverTransport@doReconnect:1055 - Successfully connected to tcp://localhost:61616
2018-09-28 06:25:49.217] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.Iec61850ChannelHandlerServer@processRegistrationMessage:75 - Using testDeviceId: KAI-0000000053 and testDeviceIp: 84.30.69.148
2018-09-28 06:25:49.218] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.Iec61850ChannelHandlerServer@processRegistrationMessage:87 - Sending register device request to OSGP with correlation ID: 497d5a374fff414cbf2b7e42e2a9d702
2018-09-28 06:25:49.218] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.m.OsgpRequestMessageSender@send:34 - Sending request message to OSGP.
2018-09-28 06:25:49.220] [osgp-tst-04] [ActiveMQ Task-1] INFO o.a.a.t.failover.FailoverTransport@doReconnect:1055 - Successfully connected to tcp://localhost:61616
2018-09-28 06:25:49.268] [osgp-tst-04] [protocolLogItemRequestsMessageListenerContainer-2] INFO o.o.l.i.j.ProtocolLogItemRequestMessageListener@onMessage:38 - Received protocol log item request message off type [IEC61850_LOG_ITEM]
2018-09-28 06:25:49.296] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-09-28 06:25:49.302] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:80 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3}
2018-09-28 06:25:49.307] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 0 and max retry count: 0
2018-09-28 06:25:49.327] [osgp-tst-04] [DefaultMessageListenerContainer-1] INFO o.o.c.i.j.p.i.ProtocolRequestMessageListener@onMessage:46 - Received message of type: REGISTER_DEVICE
2018-09-28 06:25:49.327] [osgp-tst-04] [DefaultMessageListenerContainer-1] INFO o.o.c.i.j.p.i.m.RegisterDeviceMessageProcessor@processMessage:53 - Received message of messageType: REGISTER_DEVICE organisationIdentification: no-organisation deviceIdentification: KAI-0000000053
2018-09-28 06:25:49.329] [osgp-tst-04] [DefaultMessageListenerContainer-1] INFO o.o.c.i.j.p.i.m.RegisterDeviceMessageProcessor@updateRegistrationData:92 - updateRegistrationData called for device: KAI-0000000053 ipAddress: 84.30.69.148, deviceType: SSLD hasSchedule: true.
2018-09-28 06:25:49.360] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-09-28 06:25:49.361] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-server-model/SWDevice-010805.icd
2018-09-28 06:25:49.398] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-09-28T06:25:49.297Z, end time: 2018-09-28T06:25:49.398Z, total time in milliseconds: 101
2018-09-28 06:25:49.400] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.Reg
2018-09-28 06:25:49.419] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.s.c.Iec61850DisableRegistrationCommand@disableRegistration:30 - Registration disabled for device: KAI-0000000053
2018-09-28 06:25:49.421] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.a.s.DeviceRegistrationService@setLocationInformation:122 - Ssld found for device: KAI-0000000053 longitude: 52.37875, latitude: 5.95558
2018-09-28 06:25:49.422] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.Atnm
2018-09-28 06:25:49.646] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.s.c.Iec61850SetGpsCoordinatesCommand@setGpsCoordinates:32 - longitude: 52.37875, latitude: 5.95558 written for device: KAI-0000000053
2018-09-28 06:25:49.647] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.a.s.DeviceRegistrationService@apply:98 - Reporting disabled for device: KAI-0000000053
2018-09-28 06:25:49.647] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.Iec61850ChannelHandlerServer@processRegistrationMessage:93 - Disabled registration for device: KAI-0000000053, at IP address: 84.30.69.148
2018-09-28 06:25:49.649] [osgp-tst-04] [Thread-185] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@associationClosed:366 - associationClosed() for device: KAI-0000000053, IOException: Connection disconnected by client
2018-09-28 06:25:49.649] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.Iec61850ChannelHandlerServer@channelDisconnected:40 - 674805415 Channel disconnected
2018-09-28 06:25:49.649] [osgp-tst-04] [Thread-185] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@associationClosed:371 - No event notifications received from device: KAI-0000000053
2018-09-28 06:25:49.649] [osgp-tst-04] [New I/O worker #4] INFO o.j.n.handler.logging.LoggingHandler@info:48 - [id: 0x2838b6a7, /84.241.206.116:51773 :> /172.16.1.5:50001] UNBOUND
2018-09-28 06:25:49.649] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.Iec61850ChannelHandlerServer@channelUnbound:52 - 674805415 Channel unbound
2018-09-28 06:25:49.649] [osgp-tst-04] [New I/O worker #4] INFO o.j.n.handler.logging.LoggingHandler@info:48 - [id: 0x2838b6a7, /84.241.206.116:51773 :> /172.16.1.5:50001] CLOSED
2018-09-28 06:25:49.649] [osgp-tst-04] [New I/O worker #4] INFO o.o.a.p.i.i.n.Iec61850ChannelHandlerServer@channelClosed:46 - 674805415 Channel closed
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
      xmlns:ns1="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:UpdateFirmwareRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
         <ns1:FirmwareIdentification>KAI-SSLD-V2</ns1:FirmwareIdentification>
         <ns1:FirmwareModuleType>FUNCTIONAL</ns1:FirmwareModuleType>
      </ns1:UpdateFirmwareRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:UpdateFirmwareAsyncResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180926075721482</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:UpdateFirmwareAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:UpdateFirmwareAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180926075721482</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:UpdateFirmwareAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:UpdateFirmwareResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:UpdateFirmwareResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: UpdateFirmware {
  CSLC.FuncFwDw[CF].startT: 2018-09-26 10:04:52
  CSLC.FuncFwDw[CF].url: https://168.63.97.65:63443/firmware/KAI-SSLD-V2
}
2018-09-26 07:57:21.971] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceRequestMessageListener@onMessage:61 - Received message of type: UPDATE_FIRMWARE with message priority: 4
2018-09-26 07:57:21.972] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: UPDATE_FIRMWARE for domain: CORE 1.0
2018-09-26 07:57:21.972] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-09-26 07:57:21.972] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-09-26 07:57:21.976] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:80 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3}
2018-09-26 07:57:21.977] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 3 and max retry count: 3
2018-09-26 07:57:22.029] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-09-26 07:57:22.030] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-server-model/SWDevice-010805.icd
2018-09-26 07:57:22.087] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-09-26T07:57:21.972Z, end time: 2018-09-26T07:57:22.087Z, total time in milliseconds: 115
2018-09-26 07:57:22.087] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850UpdateFirmwareCommand@updateFunctionalFirmware:80 - Reading the functional firmware node for device: KAI-0000000053
2018-09-26 07:57:22.087] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.FuncFwDw
2018-09-26 07:57:22.103] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, url has value https://127.0.0.3:8443/firmware/TST/TSTMOD/generated-no-file.txt
2018-09-26 07:57:22.103] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850UpdateFirmwareCommand@updateFunctionalFirmware:89 - Current functional firmware download url: https://127.0.0.3:8443/firmware/TST/TSTMOD/generated-no-file.txt, start time: Mon Sep 03 15:02:04 UTC 2018 for device: KAI-0000000053
2018-09-26 07:57:22.103] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850UpdateFirmwareCommand@updateFunctionalFirmware:93 - Updating the functional firmware download url to: https://168.63.97.65:63443/firmware/KAI-SSLD-V2 for device: KAI-0000000053
2018-09-26 07:57:22.103] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing https://168.63.97.65:63443/firmware/KAI-SSLD-V2 to url
2018-09-26 07:57:22.122] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.Clock
2018-09-26 07:57:22.138] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850UpdateFirmwareCommand@updateFunctionalFirmware:101 - Updating the functional firmware download start time to: Wed Sep 26 10:04:52 UTC 2018 for device: KAI-0000000053
2018-09-26 07:57:22.138] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeDate:139 - Device: KAI-0000000053, writing Wed Sep 26 10:04:52 UTC 2018 to startT
2018-09-26 07:57:22.155] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-26 07:57:22.156] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK
2018-09-26 07:57:22.156] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:111 - Sending protocol response message for device: KAI-0000000053 of message type: UPDATE_FIRMWARE with message priority: 4
2018-09-26 07:57:22.156] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@logDuration:355 - Device: KAI-0000000053, messageType: UPDATE_FIRMWARE, Start time: 2018-09-26T07:57:21.972Z, end time: 2018-09-26T07:57:22.156Z, total time in milliseconds: 184
LogicalDevice: SWDeviceGenericIO
messageType: EnableBufferedReporting {
  CSLC.evn_rpn01[BR].RtpEna: true
}
2018-10-01 10:52:10.476] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.m.DeviceRequestMessageListener@onMessage:61 - Received message of type: GET_LIGHT_STATUS with message priority: 4
2018-10-01 10:52:10.477] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: GET_LIGHT_STATUS for domain: PUBLIC_LIGHTING 1.0
2018-10-01 10:52:10.477] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-10-01 10:52:10.477] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-10-01 10:52:10.480] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:80 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3}
2018-10-01 10:52:10.483] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 0 and max retry count: 0
2018-10-01 10:52:12.312] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-10-01 10:52:12.314] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-server-model/SWDevice-010805.icd
2018-10-01 10:52:12.406] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-10-01T10:52:10.477Z, end time: 2018-10-01T10:52:12.406Z, total time in milliseconds: 1929
2018-10-01 10:52:12.414] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC1.Pos
2018-10-01 10:52:12.751] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:63 - Got status of relay 1 => on
2018-10-01 10:52:12.752] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.Pos
2018-10-01 10:52:13.106] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:63 - Got status of relay 2 => off
2018-10-01 10:52:13.106] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.Pos
2018-10-01 10:52:13.405] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:63 - Got status of relay 3 => off
2018-10-01 10:52:13.406] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.EvnBuf
2018-10-01 10:52:13.728] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, enbEvnType has value 1FFFFFF
2018-10-01 10:52:13.728] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:74 - Got EvnBuf.enbEvnType filter 1FFFFFF
2018-10-01 10:52:13.729] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.SWCf
2018-10-01 10:52:14.058] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, LT has value RELAY
2018-10-01 10:52:14.058] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-10-01 10:52:14.058] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.m.p.PublicLightingGetStatusRequestMessageProcessor@handleDeviceResponse:69 - Override for handleDeviceResponse() by PublicLightingGetStatusRequestMessageProcessor
2018-10-01 10:52:14.058] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.m.SsldDeviceRequestMessageProcessor@handleGetStatusDeviceResponse:68 - Handling getStatusDeviceResponse for device: KAI-0000000053
2018-10-01 10:52:14.058] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:111 - Sending protocol response message for device: KAI-0000000053 of message type: GET_LIGHT_STATUS with message priority: 4
2018-10-01 10:52:14.064] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/LLN0.evn_rpn01
2018-10-01 10:52:14.064] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@setSqNum:62 - First new SqNum for report listener for device: KAI-0000000053 is: 0
2018-10-01 10:52:14.509] [osgp-tst-04] [iec61850RequestsMessageListenerContainer-7] INFO o.o.a.p.i.i.n.s.c.Iec61850EnableReportingCommand@enableReportingOnDeviceWithoutUsingSequenceNumber:79 - Allowing device KAI-0000000053 to send reports containing events
2018-10-01 10:52:14.786] [osgp-tst-04] [Thread-327] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@newReport:92 - newReport for device: KAI-0000000053, reportId: evn_rpn, timeOfEntry: 2018-10-01T05:00:00.823Z, sqNum: 0
2018-10-01 10:52:14.795] [osgp-tst-04] [Thread-327] WARN o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@newReport:96 - Buffer Overflow reported for device: KAI-0000000053, reportId: evn_rpn, timeOfEntry: 2018-10-01T05:00:00.823Z, sqNum: 0 - entries within the buffer may have been lost.
2018-10-01 10:52:14.796] [osgp-tst-04] [Thread-327] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@logReportDetails:273 - Report details for device KAI-0000000053
                     RptId:     evn_rpn
                DataSetRef:     SWDeviceGenericIO/LLN0.evn_rpn
                   ConfRev:     null
                   BufOvfl:     true
                   EntryId:     none: [0, 0, 1, 102, 45, -1, 87, -73]
                                (f-�W�)
        InclusionBitString:     [true]
        MoreSegmentsFollow:     false
                     SqNum:     0
                  SubSqNum:     null
               TimeOfEntry:     none: 1096606800823
                                (2018-10-01T05:00:00.823Z)
               ReasonCodes:
                                0x40    (DataChange)
                   DataSet:     SWDeviceGenericIO/LLN0.evn_rpn
           DataSet members:     1
                    member:     SWDeviceGenericIO/CSLC.EvnRpn [ST]
SWDeviceGenericIO/CSLC.EvnRpn.evnType: 4
SWDeviceGenericIO/CSLC.EvnRpn.swNum: 1
SWDeviceGenericIO/CSLC.EvnRpn.trgType: 3
SWDeviceGenericIO/CSLC.EvnRpn.swVal: true
SWDeviceGenericIO/CSLC.EvnRpn.trgTime: Mon Oct 01 05:00:00 UTC 2018
SWDeviceGenericIO/CSLC.EvnRpn.remark: remark
                                        evnType: 4 = TARIFF_EVENTS_TARIFF_ON
                                        swNum: 1 = get external index for switch 1
                                        trgType: 3 = fixed time trigger
                                        swVal: true = ON
                                        trgTime: 2018-10-01T05:00:00.000Z
                                        remark: remark


2018-10-01 10:52:14.796] [osgp-tst-04] [Thread-327] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@newReport:117 - Handle member SWDeviceGenericIO/CSLC.EvnRpn for device: KAI-0000000053, reportId: evn_rpn, timeOfEntry: 2018-10-01T05:00:00.823Z, sqNum: 0
2018-10-01 10:52:14.798] [osgp-tst-04] [Thread-328] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@newReport:92 - newReport for device: KAI-0000000053, reportId: evn_rpn, timeOfEntry: 2018-10-01T05:51:01.157Z, sqNum: 1
2018-10-01 10:52:14.798] [osgp-tst-04] [Thread-328] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@logReportDetails:273 - Report details for device KAI-0000000053
                     RptId:     evn_rpn
                DataSetRef:     SWDeviceGenericIO/LLN0.evn_rpn
                   ConfRev:     null
                   BufOvfl:     false
                   EntryId:     none: [0, 0, 1, 102, 46, 46, 10, 37]
                                (f..
%)
        InclusionBitString:     [true]
        MoreSegmentsFollow:     false
                     SqNum:     1
                  SubSqNum:     null
               TimeOfEntry:     none: 1096609861157
                                (2018-10-01T05:51:01.157Z)
               ReasonCodes:
                                0x40    (DataChange)
                   DataSet:     SWDeviceGenericIO/LLN0.evn_rpn
           DataSet members:     1
                    member:     SWDeviceGenericIO/CSLC.EvnRpn [ST]
SWDeviceGenericIO/CSLC.EvnRpn.evnType: 3
SWDeviceGenericIO/CSLC.EvnRpn.swNum: 2
SWDeviceGenericIO/CSLC.EvnRpn.trgType: 1
SWDeviceGenericIO/CSLC.EvnRpn.swVal: false
SWDeviceGenericIO/CSLC.EvnRpn.trgTime: Mon Oct 01 05:51:01 UTC 2018
SWDeviceGenericIO/CSLC.EvnRpn.remark: remark
                                        evnType: 3 = LIGHT_EVENTS_LIGHT_OFF
                                        swNum: 2 = get external index for switch 2
                                        trgType: 1 = light trigger (sensor trigger)
                                        swVal: false = OFF
                                        trgTime: 2018-10-01T05:51:01.000Z
                                        remark: remark


2018-10-01 10:52:14.799] [osgp-tst-04] [Thread-328] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@newReport:117 - Handle member SWDeviceGenericIO/CSLC.EvnRpn for device: KAI-0000000053, reportId: evn_rpn, timeOfEntry: 2018-10-01T05:51:01.157Z, sqNum: 1
2018-10-01 10:52:19.510] [osgp-tst-04] [Timer-52] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/LLN0.evn_rpn01
2018-10-01 10:52:21.299] [osgp-tst-04] [Timer-52] INFO o.o.a.p.i.i.n.s.c.Iec61850ClearReportCommand@clearReportOnDevice:32 - Cleared event buffer for device: KAI-0000000053
2018-10-01 10:52:21.301] [osgp-tst-04] [Thread-329] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@associationClosed:366 - associationClosed() for device: KAI-0000000053, IOException: Connection disconnected by client
2018-10-01 10:52:21.301] [osgp-tst-04] [Timer-52] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@logDuration:355 - Device: KAI-0000000053, messageType: GET_LIGHT_STATUS, Start time: 2018-10-01T10:52:10.477Z, end time: 2018-10-01T10:52:21.301Z, total time in milliseconds: 10824
2018-10-01 10:52:21.303] [osgp-tst-04] [Thread-329] INFO o.o.a.p.i.a.s.DeviceManagementService@addEventNotifications:109 - addEventNotifications called for device KAI-0000000053: [EventNotificationDto[deviceUid=KAI-0000000053, dateTime=2018-10-01T05:00:00.000Z, eventType=TARIFF_EVENTS_TARIFF_ON, index=1, description=fixed time trigger], EventNotificationDto[deviceUid=KAI-0000000053, dateTime=2018-10-01T05:51:01.000Z, eventType=LIGHT_EVENTS_LIGHT_OFF, index=2, description=light trigger (sensor trigger)]]
2018-10-01 10:52:21.304] [osgp-tst-04] [Thread-329] INFO o.o.a.p.i.i.m.OsgpRequestMessageSender@send:34 - Sending request message to OSGP.
2018-10-01 16:11:34.057] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.i.n.r.Iec61850ClientLMDEventListener@newReport:45 - newReport for reportId: A, timeOfEntry: 2018-10-01T16:11:34.057Z, sqNum: null
2018-10-01 16:11:34.057] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.i.n.r.Iec61850ClientLMDEventListener@logReportDetails:160 - Report details for device LichtmeterOost
                     RptId:     A
                DataSetRef:     AA1TH01LD0/LLN0.StatNrmlA
                   ConfRev:     null
                   BufOvfl:     null
                   EntryId:     null
        InclusionBitString:     [false, true, false, false, true, true, false, false, false, false, false, false, false, false, true, false, false]
        MoreSegmentsFollow:     false
                     SqNum:     null
                  SubSqNum:     null
               TimeOfEntry:     null
                   DataSet:     AA1TH01LD0/LLN0.StatNrmlA
           DataSet members:     4
                    member:     AA1TH01LD0/SPGGIO1.Ind [ST]
AA1TH01LD0/SPGGIO1.Ind.stVal: false
AA1TH01LD0/SPGGIO1.Ind.q: 0x00 0x00
AA1TH01LD0/SPGGIO1.Ind.t: Thu Jan 01 00:00:00 UTC 1970
                    member:     AA1TH01LD0/SPGGIO2.Ind [ST]
AA1TH01LD0/SPGGIO2.Ind.stVal: true
AA1TH01LD0/SPGGIO2.Ind.q: 0x00 0x00
AA1TH01LD0/SPGGIO2.Ind.t: Thu Jan 01 00:00:00 UTC 1970
                    member:     AA1TH01LD0/SPGGIO3.Ind [ST]
AA1TH01LD0/SPGGIO3.Ind.stVal: false
AA1TH01LD0/SPGGIO3.Ind.q: 0x00 0x00
AA1TH01LD0/SPGGIO3.Ind.t: Thu Jan 01 00:00:00 UTC 1970
                    member:     AA1TH01LD0/SPGGIO4.Ind [ST]
AA1TH01LD0/SPGGIO4.Ind.stVal: false
AA1TH01LD0/SPGGIO4.Ind.q: 0x00 0x00
AA1TH01LD0/SPGGIO4.Ind.t: Thu Jan 01 00:00:00 UTC 1970


2018-10-01 16:11:34.057] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.i.n.r.Iec61850ClientLMDEventListener@processReportedDataForLightMeasurementDevices:87 - Trying to find light measurement devices...
2018-10-01 16:11:34.135] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.i.n.r.Iec61850ClientLMDEventListener@processReportedDataForLightMeasurementDevices:89 - Found 4 light measurement devices.
2018-10-01 16:11:34.135] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.i.n.r.Iec61850ClientLMDEventListener@processReportedDataForLightMeasurementDevices:101 - Returning 4 results.
2018-10-01 16:11:34.139] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.a.s.DeviceManagementService@addEventNotifications:109 - addEventNotifications called for device LichtmeterOost: [EventNotificationDto[deviceUid=LichtmeterOost, dateTime=2018-10-01T16:11:34.057Z, eventType=LIGHT_SENSOR_REPORTS_LIGHT, index=3, description=reportId: A, timeOfEntry: 2018-10-01T16:11:34.057Z, sqNum: null]]
2018-10-01 16:11:34.139] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.i.m.OsgpRequestMessageSender@send:34 - Sending request message to OSGP.
2018-10-01 16:11:34.145] [osgp-tst-03] [ActiveMQ Task-1] INFO o.a.a.t.failover.FailoverTransport@doReconnect:1055 - Successfully connected to tcp://localhost:61616
2018-10-01 16:11:34.198] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.a.s.DeviceManagementService@addEventNotifications:109 - addEventNotifications called for device LichtmeterLeeuwarden: [EventNotificationDto[deviceUid=LichtmeterLeeuwarden, dateTime=2018-10-01T16:11:34.057Z, eventType=LIGHT_SENSOR_REPORTS_LIGHT, index=4, description=reportId: A, timeOfEntry: 2018-10-01T16:11:34.057Z, sqNum: null]]
2018-10-01 16:11:34.199] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.i.m.OsgpRequestMessageSender@send:34 - Sending request message to OSGP.
2018-10-01 16:11:34.202] [osgp-tst-03] [ActiveMQ Task-1] INFO o.a.a.t.failover.FailoverTransport@doReconnect:1055 - Successfully connected to tcp://localhost:61616
2018-10-01 16:11:34.292] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.a.s.DeviceManagementService@addEventNotifications:109 - addEventNotifications called for device LichtmeterNoord: [EventNotificationDto[deviceUid=LichtmeterNoord, dateTime=2018-10-01T16:11:34.057Z, eventType=LIGHT_SENSOR_REPORTS_DARK, index=2, description=reportId: A, timeOfEntry: 2018-10-01T16:11:34.057Z, sqNum: null]]
2018-10-01 16:11:34.292] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.i.m.OsgpRequestMessageSender@send:34 - Sending request message to OSGP.
2018-10-01 16:11:34.356] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.a.s.DeviceManagementService@addEventNotifications:109 - addEventNotifications called for device LichtmeterWest: [EventNotificationDto[deviceUid=LichtmeterWest, dateTime=2018-10-01T16:11:34.057Z, eventType=LIGHT_SENSOR_REPORTS_LIGHT, index=1, description=reportId: A, timeOfEntry: 2018-10-01T16:11:34.057Z, sqNum: null]]
2018-10-01 16:11:34.356] [osgp-tst-03] [Thread-613] INFO o.o.a.p.i.i.m.OsgpRequestMessageSender@send:34 - Sending request message to OSGP.
// import "nanopb.proto";

package oslp;

option java_package = "org.opensmartgridplatform.oslp";

message Message {
    optional RegisterDeviceRequest registerDeviceRequest = 1;
    optional RegisterDeviceResponse registerDeviceResponse = 2;
    optional StartSelfTestRequest startSelfTestRequest = 3;
    optional StartSelfTestResponse startSelfTestResponse = 4;
    optional StopSelfTestRequest stopSelfTestRequest = 5;
    optional StopSelfTestResponse stopSelfTestResponse = 6;
    optional UpdateFirmwareRequest updateFirmwareRequest = 7;
    optional UpdateFirmwareResponse updateFirmwareResponse = 8;
    optional SetLightRequest setLightRequest = 9;
    optional SetLightResponse setLightResponse = 10;
    optional GetStatusRequest getStatusRequest = 11;
    optional GetStatusResponse getStatusResponse = 12;
    optional ResumeScheduleRequest resumeScheduleRequest = 13;
    optional ResumeScheduleResponse resumeScheduleResponse = 14;
    optional SetEventNotificationsRequest setEventNotificationsRequest = 15;
    optional SetEventNotificationsResponse setEventNotificationsResponse = 16;
    optional EventNotificationRequest eventNotificationRequest = 17;
    optional EventNotificationResponse eventNotificationResponse = 18;
    optional GetFirmwareVersionRequest getFirmwareVersionRequest = 19;
    optional GetFirmwareVersionResponse getFirmwareVersionResponse = 20;
    optional SetScheduleRequest setScheduleRequest = 21;
    optional SetScheduleResponse setScheduleResponse = 22;
    optional SetConfigurationRequest setConfigurationRequest = 25;
    optional SetConfigurationResponse setConfigurationResponse = 26;
    optional GetPowerUsageHistoryRequest getPowerUsageHistoryRequest = 27;
    optional GetPowerUsageHistoryResponse getPowerUsageHistoryResponse = 28;
    optional GetActualPowerUsageRequest getActualPowerUsageRequest = 29;
    optional GetActualPowerUsageResponse getActualPowerUsageResponse = 30;
    optional SetRebootRequest setRebootRequest = 31;
    optional SetRebootResponse setRebootResponse = 32;
    optional SetTransitionRequest setTransitionRequest = 33;
    optional SetTransitionResponse setTransitionResponse = 34;
    optional GetConfigurationRequest getConfigurationRequest = 35;
    optional GetConfigurationResponse getConfigurationResponse = 36;
    optional ConfirmRegisterDeviceRequest confirmRegisterDeviceRequest = 37;
    optional ConfirmRegisterDeviceResponse confirmRegisterDeviceResponse =  38;
}

// ========= Device Installation
message RegisterDeviceRequest {
    required string deviceIdentification = 1; // [(nanopb).max_size = 41];
    required bytes ipAddress = 2; // [(nanopb).max_size = 4];
    required DeviceType deviceType = 3;
    required bool hasSchedule = 4;
    required uint32 randomDevice = 5; // 16 bits
}

message RegisterDeviceResponse {
    required Status status = 1;
    required string currentTime = 2; // [(nanopb).max_size = 15];// - format YYYYMMDDhhmmss UTC
    required uint32 randomDevice = 3;
    required uint32 randomPlatform = 4;
    optional LocationInfo locationInfo = 5; // Location information of device
}

message StartSelfTestRequest {
    optional bool present = 1 [default = true];
}

message StartSelfTestResponse {
    required Status status = 1;
}

message StopSelfTestRequest {
    optional bool present = 1 [default = true];
}

message StopSelfTestResponse {
    required Status status = 1;
    required bytes selfTestResult = 2; // [(nanopb).max_size = 1];
}

// ========= Firmware Management
message GetFirmwareVersionRequest {
    optional bool present = 1 [default = true];
}

message GetFirmwareVersionResponse {
    required string firmwareVersion = 1; // [(nanopb).max_size = 7]; // RXX
}

message UpdateFirmwareRequest {
    required string firmwareDomain = 1; // [(nanopb).max_size = 100]; // Servername
    required string firmwareUrl = 2; // [(nanopb).max_size = 255]; // /firmware/PSLD/RXX
}

message UpdateFirmwareResponse {
    required Status status = 1;
}

// ========= Ad-Hoc & Status
message SetLightRequest {
    repeated LightValue values = 1; // [(nanopb).max_count = 6];
}

message SetLightResponse {
    required Status status = 1;
}

message GetStatusRequest {
    optional bool present = 1 [default = true];
}

message GetStatusResponse {
    required Status status = 1;
    repeated LightValue value = 2; // [(nanopb).max_count = 6];
    required LinkType preferredLinktype = 3;
    required LinkType actualLinktype = 4;
    required LightType lightType = 5;
    required uint32 eventNotificationMask = 6; // Bitmask for max 32 events, using NotificationBit for bit positions.
}

message ResumeScheduleRequest {
    optional bytes index = 1; // [(nanopb).max_size = 1]; // index number of connected light (DALI), none means all connected ligts.
    required bool immediate = 2; // [default = false]; // Resume at next schedule item or direct
}

message ResumeScheduleResponse {
    required Status status = 1;
}

message SetRebootRequest {
    optional bool present = 1 [default = true];
}

message SetRebootResponse {
    required Status status = 1;
}

message SetTransitionRequest {
    required TransitionType transitionType = 1; // Night-Day or Day-Night transition
    optional string time = 2; // [(nanopb).max_size = 7]; // - format hhmmss UTC
}

message SetTransitionResponse {
    required Status status = 1;
}

message SetEventNotificationsRequest {
    required uint32 NotificationMask = 1; // Bitmask for max 32 events, using NotificationBit for bit positions.
}

message SetEventNotificationsResponse {
    required Status status = 1;
}

message EventNotificationRequest {
    repeated EventNotification notifications = 1; // [(nanopb).max_count = 6];
}

message EventNotificationResponse {
    required Status status = 1;
}

// ========= Scheduling
message SetScheduleRequest {
    repeated Schedule schedules = 1; // [(nanopb).max_count = 50];
    optional PageInfo pageInfo = 2;
    required RelayType scheduleType = 3; // RT_NOT_SET is NOT supported!
}

message SetScheduleResponse {
    required Status status = 1;
}

// ========= Configuration
message SetConfigurationRequest {
    optional LightType lightType = 1;
    optional DaliConfiguration daliConfiguration = 2; // contains specific configuration for DALI controllers
    optional RelayConfiguration relayConfiguration = 3; // contains specific configuration for Relay
    optional uint32 shortTermHistoryIntervalMinutes = 4; 
    optional LinkType preferredLinkType = 5;
    optional MeterType meterType = 6;
    optional uint32 longTermHistoryInterval = 7; 
    optional LongTermIntervalType longTermHistoryIntervalType = 8; 
}

message SetConfigurationResponse {
    required Status status = 1;
}

message GetConfigurationRequest {
    optional bool present = 1 [default = true];
}

message GetConfigurationResponse {
    required Status status = 1;
    optional LightType lightType = 2;
    optional DaliConfiguration daliConfiguration = 3; // contains specific configuration for DALI controllers
    optional RelayConfiguration relayConfiguration = 4; // contains specific configuration for Relay
    optional uint32 shortTermHistoryIntervalMinutes = 5; 
    optional LinkType preferredLinkType = 6;
    optional MeterType meterType = 7;
    optional uint32 longTermHistoryInterval = 8; 
    optional LongTermIntervalType longTermHistoryIntervalType = 9; 
}

message ConfirmRegisterDeviceRequest {
    required uint32 randomDevice = 1;
    required uint32 randomPlatform = 2;
}

message ConfirmRegisterDeviceResponse {
    required Status status = 1;
    required uint32 randomDevice = 2;
    required uint32 randomPlatform = 3;
    required uint32 sequenceWindow = 4;
}

// ========= Monitoring
message GetPowerUsageHistoryRequest {
    required TimePeriod timePeriod = 1;
    optional uint32 page = 2;
    required HistoryTermType termType = 3;
}

message GetPowerUsageHistoryResponse {
    required Status status = 1;
    repeated PowerUsageData powerUsageData = 2; // [(nanopb).max_count = 20]; 
    optional PageInfo pageInfo = 3;
}

message GetActualPowerUsageRequest {
    optional bool present = 1 [default = true];
}

message GetActualPowerUsageResponse {
    required Status status = 1;
    required PowerUsageData powerUsageData = 2;
}

// ========= Types
message LocationInfo {
    optional sint32 timeOffset = 1; // correction in minutes with respect to UTC
    optional sint32 latitude = 2; // divide by 1000000 to get float value
    optional sint32 longitude = 3; // divide by 1000000 to get float value
}

message LightValue {
    optional bytes index = 1; // [(nanopb).max_size = 1]; // index number of connected light (DALI), none means all connected ligts.
    required bool on = 2;
    optional bytes dimValue = 3; // [(nanopb).max_size = 1]; // 1 - 100 %
}

message EventNotification {
    required Event event = 1;
    optional bytes index = 2; // [(nanopb).max_size=1];
    optional string description = 3; // [(nanopb).max_size = 81];
}

message Schedule {
    required Weekday weekday = 1;
    optional string startDay = 2; // [(nanopb).max_size = 9]; //- format YYYYMMDD UTC, indicates the range of a schedule entry, from startDay
    optional string endDay = 3; // [(nanopb).max_size = 9]; // - format YYYYMMDD UTC, including endDay
    required ActionTime actionTime = 4;
    optional string time = 5; // [(nanopb).max_size = 7]; // - format hhmmss localtime set when actionTime = ABSOLUTETIME
    optional Window window = 6; // window to wait for light sensor trigger
    repeated LightValue value = 7; // [(nanopb).max_count = 6];
    optional TriggerType triggerType = 8; // React to setTransition or switch astronomical
}

message Window {
    required uint32 minutesBefore = 1; // minutes before sunset / sunrise
    required uint32 minutesAfter = 2; // minutes after sunset / sunrise
}

message DaliConfiguration {
    optional bytes numberOfLights = 1; // [(nanopb).max_size = 1]; // number of lights connected to DALI controller
    repeated IndexAddressMap addressMap = 2; // [(nanopb).max_count = 4];
}

message RelayConfiguration {
    repeated IndexAddressMap addressMap = 1; // [(nanopb).max_count = 6];
}

message IndexAddressMap {
    required bytes index = 1; // [(nanopb).max_size = 1]; // external index, for example 1
    required bytes address = 2; // [(nanopb).max_size = 1]; // internal address, for example 2
    required RelayType relayType = 3;
}

message PageInfo {
    required uint32 currentPage = 1; // Pages start from 1
    required uint32 pageSize = 2;
    required uint32 totalPages = 3;
}

message TimePeriod {
    required string startTime = 1; // [(nanopb).max_size = 15];     // - format YYYYMMDDhhmmss UTC
    required string endTime = 2; // [(nanopb).max_size = 15];   // - format YYYYMMDDhhmmss UTC
}

message PowerUsageData {
    required string recordTime = 1; // [(nanopb).max_size = 15];    // Record time - format YYYYMMDDhhmmss UTC
    required MeterType meterType = 2;                               // Meter type (P1, Pulse, Aux)
    required uint64 totalConsumedEnergy = 3;                        // Electricity delivered to client (Tariff I + Tarrif II) in 0,001 kWh
    required uint32 actualConsumedPower = 4;                        // Actual Electricity power delivered in W
    optional PsldData psldData = 5;
    optional SsldData ssldData = 6;
}

message PsldData {
    required uint32 totalLightingHours = 1;     // Total lighting hours
}

message SsldData {
    required uint32 actualCurrent1 = 1;             // Instantaneous current L1 in mA
    required uint32 actualCurrent2 = 2;             // Instantaneous current L2 in mA
    required uint32 actualCurrent3 = 3;             // Instantaneous current L3 in mA
    required uint32 actualPower1 = 4;               // Instantaneous active power L1 in W
    required uint32 actualPower2 = 5;               // Instantaneous active power L2 in W
    required uint32 actualPower3 = 6;               // Instantaneous active power L3 in W
    required uint32 averagePowerFactor1 = 7;        // Power factor L1 (in 1/2^32) in steps of 0.1, 10 equals a power factor of 1
    required uint32 averagePowerFactor2 = 8;        // Power factor L2 (in 1/2^32) in steps of 0.1, 10 equals a power factor of 1
    required uint32 averagePowerFactor3 = 9;        // Power factor L3 (in 1/2^32) in steps of 0.1, 10 equals a power factor of 1
    repeated RelayData relayData = 10;   // [(nanopb).max_count = 4]; // Measurement data per relay 
}

message RelayData {
    required bytes index = 1; // [(nanopb).max_size = 1]; // external index, for example 1
    required uint32 totalLightingMinutes = 2;       // Total lighting minutes for lighting relay
}

// ========= Enumerations

// ========= Event Notification
enum NotificationBit {
    DIAG_EVENTS = 1;
    HARDWARE_FAILURE = 2;
    LIGHT_EVENTS = 4; // For example LightValue changes
    TARIFF_EVENTS = 8; // For example Tariff changes
    MONITOR_EVENTS = 16; // For example monitor buffer is almost full
    FIRMWARE_EVENTS = 32; // For example firmware activation
    COMM_EVENTS = 64; // For example alternative channel
    SECURITY_EVENTS = 128; // For example out of sequence
}


//Events must map to their notification bit:
//EG: 0000-0999 =1
//    1000-1999 =2
//    2000-2999 =4
//    3000-3999 =8
//    4000-4999 =16
//    5000-5999 =32
//    6000-6999 =64
//    7000-7999 =128
// OR to check  2^((event num)/1000)=notification bit

enum Event {
    // 0 - 999 Diagnostics
    DIAG_EVENTS_GENERAL = 0; 

    // 1000 - 1999 Hardware Failures
    HARDWARE_FAILURE_RELAY = 1000; // Index indicates relay (not supported yet) 

    // 2000 - 2999 Light Events
    LIGHT_EVENTS_LIGHT_ON = 2000; // Index indicates light
    LIGHT_EVENTS_LIGHT_OFF = 2001; // Index indicates light
    LIGHT_FAILURE_DALI_COMMUNICATION = 2500; // DALI communication failure
    LIGHT_FAILURE_BALLAST = 2501; // Ballast failure detected (DALI only)
    LIGHT_FAILURE_TARIFF_SWITCH_ATTEMPT = 2502; // Attempt to switch an endpoint configured as tariff from OVL schedule or manual override (index indicates endpoint) 

    // 3000 - 3999 Tariff Events
    TARIFF_EVENTS_TARIFF_ON = 3000; // Tariff switched on
    TARIFF_EVENTS_TARIFF_OFF = 3001; // Tariff switched off

    // 4000 - 4999
    MONITOR_EVENTS_LONG_BUFFER_FULL = 4000; // Long term monitoring buffer overrun occurred
    MONITOR_FAILURE_P1_COMMUNICATION = 4500; // P1 meter could not be read
    MONITOR_SHORT_DETECTED = 4600;
    MONITOR_SHORT_RESOLVED = 4601;
    MONITOR_DOOR_OPENED = 4700;
    MONITOR_DOOR_CLOSED = 4701;

    // 5000 - 5999 Firmware Events
    FIRMWARE_EVENTS_ACTIVATING = 5000; // Start activating new firmware, after downloading
    FIRMWARE_EVENTS_DOWNLOAD_NOTFOUND = 5501; // Download of firmware failed, i.e. location incorrect
    FIRMWARE_EVENTS_DOWNLOAD_FAILED = 5502; // Download of firmware failed, image incorrect 

    // 6000 – 6999
    COMM_EVENTS_ALTERNATIVE_CHANNEL = 6000; // Alternative channel selected for communication (description contains selected channel GPRS/CDMA/Ethernet)
    COMM_EVENTS_RECOVERED_CHANNEL = 6001; // Communication has been recovered for this channel

    // 7000 - 7999
    SECURITY_EVENTS_OUT_OF_SEQUENCE = 7000; // Out of sequence occurred and sequence number is renegotiated
}

// ========= Enums
enum TriggerType {
    TT_NOT_SET = 0;
    LIGHT_TRIGGER = 1;
    ASTRONOMICAL = 2;
}

enum TransitionType {
    NIGHT_DAY = 0;
    DAY_NIGHT = 1;
}

enum Weekday {
    MONDAY = 1;
    TUESDAY = 2;
    WEDNESDAY = 3;
    THURSDAY = 4;
    FRIDAY = 5;
    SATURDAY = 6;
    SUNDAY = 7;
    WEEKDAY = 8;
    WEEKEND = 9;
    ABSOLUTEDAY = 10;
    ALL = 11;
}

enum ActionTime {
    ABSOLUTETIME = 1;
    SUNRISE = 2;
    SUNSET = 3;
}

enum DeviceType {
    PSLD = 0;
    SSLD = 1;
}

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}

enum LightType {
    LT_NOT_SET = 0;
    RELAY = 1;
    ONE_TO_TEN_VOLT = 2;
    ONE_TO_TEN_VOLT_REVERSE = 3;
    DALI = 4;
}

enum RelayType {
    RT_NOT_SET = 0;
    LIGHT = 1;
    TARIFF = 2;
}

enum MeterType {
    MT_NOT_SET = 0;
    P1 = 1;
    PULSE = 2;
    AUX = 3;
}

enum LinkType {
    LINK_NOT_SET = 0;
    GPRS = 1;
    CDMA = 2;
    ETHERNET = 3;
}

enum LongTermIntervalType {
    LT_INT_NOT_SET = 0;
    DAYS = 1;
    MONTHS = 2;
}

enum HistoryTermType {
    Short = 0;
    Long = 1;
}
<?xml version="1.0" encoding="utf-8"?>
<!--Generated with ABB IEC61850 Libraries 5.3.1.25 at 1-11-2017 15:05:17.-->
<SCL xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:sxy="http://www.iec.ch/61850/2003/SCLcoordinates" xmlns:esld="http://www.abb.com/61850/2006/SCL_SLD" xmlns:eComm="http://www.abb.com/61850/2009/SCL_ABBCommunication" xmlns:eABB="http://www.abb.com/61850/2010/ABBTranslations" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.iec.ch/61850/2003/SCL SCL.xsd http://www.iec.ch/61850/2003/SCLcoordinates SCL_Coordinates.xsd http://www.abb.com/61850/2006/SCL_SLD SCL_SLD.xsd http://www.abb.com/61850/2009/SCL_ABBCommunication SCL_ABBCommunication.xsd http://www.abb.com/61850/2010/ABBTranslations SCL_ABBTranslations.xsd">
  <Private type="ABB SLD">
    <esld:SLD>
      <esld:Sizes elementSize="1" />
      <esld:AlarmSettings />
      <esld:MeasurementStatus />
      <esld:DefaultColors />
      <esld:NameDisplay />
      <esld:Fonts />
      <esld:MeasurementPrecision defaultDecimals="0" />
      <esld:DisplayMultipliers />
    </esld:SLD>
    <esld:BusbarColoring triggeringTimeBuffer="0" />
  </Private>
  <Header id="ID" version="2003" revision="A" nameStructure="IEDName" />
  <Communication>
    <SubNetwork name="WA1" desc="Subnetwork" type="8-MMS">
      <Private type="ABBPCMInternalObjRef">fe64bc9f-6918-4694-b3c7-b8f84dede770</Private>
      <ConnectedAP iedName="AA1TH01" apName="S1">
        <Address>
          <P type="IP" xsi:type="tP_IP">192.168.0.10</P>
          <P type="OSI-AP-Title" xsi:type="tP_OSI-AP-Title">1,3,9999,23</P>
          <P type="OSI-AE-Qualifier" xsi:type="tP_OSI-AE-Qualifier">23</P>
          <P type="OSI-PSEL" xsi:type="tP_OSI-PSEL">00000001</P>
          <P type="OSI-SSEL" xsi:type="tP_OSI-SSEL">0001</P>
          <P type="OSI-TSEL" xsi:type="tP_OSI-TSEL">0001</P>
          <P type="IP-GATEWAY" xsi:type="tP_IP-GATEWAY">0.0.0.0</P>
          <P type="IP-SUBNET" xsi:type="tP_IP-SUBNET">255.255.255.0</P>
        </Address>
      </ConnectedAP>
    </SubNetwork>
  </Communication>
  <IED name="AA1TH01" desc="Server" type="RTU560_2" manufacturer="ABB" configVersion="1.3">
    <Private type="ABB_PCMObjectTypeName">Generic IEC61850 IED</Private>
    <Private type="ABBPCMInternalObjRef">580da69c-6a72-4d9d-8a28-0978d0d82a5b</Private>
    <Services>
      <DynAssociation />
      <GetDirectory />
      <GetDataObjectDefinition />
      <DataObjectDirectory />
      <GetDataSetValue />
      <DataSetDirectory />
      <ConfDataSet max="48" maxAttributes="450" />
      <ReadWrite />
      <ConfReportControl max="48" />
      <GetCBValues />
      <ReportSettings cbName="Conf" datSet="Conf" rptID="Dyn" optFields="Dyn" bufTime="Dyn" trgOps="Dyn" intgPd="Dyn" />
      <GSESettings cbName="Conf" datSet="Conf" appID="Conf" />
      <GOOSE max="8" />
      <ConfLNs fixPrefix="true" fixLnInst="true" />
    </Services>
    <AccessPoint name="S1">
      <Server>
        <Authentication />
        <LDevice inst="LD0">
          <LN0 lnClass="LLN0" inst="" lnType="LLN0_RTU560_2_IEC61850">
            <DataSet name="StatNrmlA" desc="Status data used for event list entries.">
              <FCDA ldInst="LD0" lnClass="LPHD" lnInst="1" doName="PhyHealth" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="1" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="9" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="7" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="2" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="3" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="5" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="16" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="15" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="14" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="13" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="12" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="11" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="10" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="4" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="6" doName="Ind" fc="ST" />
              <FCDA ldInst="LD0" prefix="SP" lnClass="GGIO" lnInst="8" doName="Ind" fc="ST" />
            </DataSet>
            <ReportControl name="rcb_A" rptID="A" datSet="StatNrmlA" confRev="1" bufTime="500" buffered="true">
              <TrgOps dchg="true" qchg="true" />
              <OptFields />
            </ReportControl>
            <DOI name="NamPlt">
              <DAI name="swRev">
                <Val>12.0.3.0</Val>
              </DAI>
            </DOI>
          </LN0>
          <LN lnClass="LPHD" inst="1" lnType="LPHD_RTU560_2_IEC61850">
            <DOI name="PhyNam">
              <DAI name="swRev">
                <Val>12.0.3.0</Val>
              </DAI>
            </DOI>
            <DOI name="PhyHealth" desc="IED operable">
              <DAI name="stVal">
                <Private type="RTU560_IED_Health">1000</Private>
              </DAI>
            </DOI>
          </LN>
          <LN prefix="SP" lnClass="GGIO" inst="1" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="9" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="7" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="2" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="3" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="5" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="16" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="15" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="14" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="13" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="12" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="11" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="10" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="4" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="6" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
          <LN prefix="SP" lnClass="GGIO" inst="8" lnType="ABBRTU500_2_Rev1_SPGGIO_#LIB1" />
        </LDevice>
      </Server>
    </AccessPoint>
  </IED>
  <DataTypeTemplates>
    <LNodeType id="LLN0_RTU560_2_IEC61850" lnClass="LLN0" iedType="RTU560_2">
      <DO name="Mod" type="tcROMod_RTU560_2_IEC61850" />
      <DO name="Beh" type="tcBeh_RTU560_2_IEC61850" />
      <DO name="Health" type="tcHealth_RTU560_2_IEC61850" />
      <DO name="NamPlt" type="tcLPL_LLN0_RTU560_2_IEC61850" />
      <DO name="Loc" type="tcSPS_RTU560_2_IEC61850" />
    </LNodeType>
    <LNodeType id="LPHD_RTU560_2_IEC61850" lnClass="LPHD" iedType="RTU560_2">
      <DO name="PhyNam" type="tcDPL_RTU560_2_IEC61850" />
      <DO name="PhyHealth" type="tcHealth_RTU560_2_IEC61850" />
      <DO name="Proxy" type="tcSPS_RTU560_2_IEC61850" />
    </LNodeType>
    <LNodeType id="ABBRTU500_2_Rev1_SPGGIO_#LIB1" lnClass="GGIO" iedType="RTU560_2">
      <DO name="Mod" type="ABBRTU500_2_Rev1_tcROMod" />
      <DO name="Beh" type="ABBRTU500_2_Rev1_tcBeh" />
      <DO name="Health" type="ABBRTU500_2_Rev1_tcHealth" />
      <DO name="NamPlt" type="ABBRTU500_2_Rev1_tcLPL_#LIB1" />
      <DO name="Ind" type="ABBRTU500_2_Rev1_tcSPS" />
    </LNodeType>
    <DOType id="tcROMod_RTU560_2_IEC61850" cdc="INC" iedType="RTU560_2">
      <DA name="stVal" bType="Enum" valKind="RO" type="Mod" fc="ST" dchg="true">
        <Val>on</Val>
      </DA>
      <DA name="q" bType="Quality" valKind="RO" fc="ST" qchg="true" />
      <DA name="t" bType="Timestamp" valKind="RO" fc="ST" />
      <DA name="ctlModel" bType="Enum" valKind="RO" type="ctlModel" fc="CF">
        <Val>status-only</Val>
      </DA>
      <DA name="d" bType="VisString255" fc="DC" />
    </DOType>
    <DOType id="tcBeh_RTU560_2_IEC61850" cdc="INS" iedType="RTU560_2">
      <DA name="stVal" bType="Enum" valKind="RO" type="Beh" fc="ST" dchg="true">
        <Val>on</Val>
      </DA>
      <DA name="q" bType="Quality" valKind="RO" fc="ST" qchg="true" />
      <DA name="t" bType="Timestamp" valKind="RO" fc="ST" />
      <DA name="d" bType="VisString255" fc="DC" />
    </DOType>
    <DOType id="tcHealth_RTU560_2_IEC61850" cdc="INS" iedType="RTU560_2">
      <DA name="stVal" bType="Enum" type="Health" fc="ST" dchg="true">
        <Val>Alarm</Val>
      </DA>
      <DA name="q" bType="Quality" valKind="RO" fc="ST" qchg="true" />
      <DA name="t" bType="Timestamp" valKind="RO" fc="ST" />
      <DA name="d" bType="VisString255" fc="DC" />
    </DOType>
    <DOType id="tcLPL_LLN0_RTU560_2_IEC61850" cdc="LPL" iedType="RTU560_2">
      <DA name="vendor" bType="VisString255" valKind="RO" fc="DC">
        <Val>ABB</Val>
      </DA>
      <DA name="swRev" bType="VisString255" fc="DC">
        <Val>11.4.2.0</Val>
      </DA>
      <DA name="d" bType="VisString255" valKind="RO" fc="DC">
        <Val>RTU560_Server</Val>
      </DA>
      <DA name="configRev" bType="VisString255" fc="DC">
        <Val>1</Val>
      </DA>
      <DA name="ldNs" bType="VisString255" fc="EX">
        <Val>IEC 61850-7-4:2003</Val>
      </DA>
    </DOType>
    <DOType id="tcSPS_RTU560_2_IEC61850" cdc="SPS" iedType="RTU560_2">
      <DA name="stVal" bType="BOOLEAN" fc="ST" dchg="true">
        <Val>false</Val>
      </DA>
      <DA name="q" bType="Quality" valKind="RO" fc="ST" qchg="true" />
      <DA name="t" bType="Timestamp" valKind="RO" fc="ST" />
      <DA name="d" bType="VisString255" fc="DC" />
    </DOType>
    <DOType id="tcDPL_RTU560_2_IEC61850" cdc="DPL" iedType="RTU560_2">
      <DA name="vendor" bType="VisString255" valKind="RO" fc="DC">
        <Val>ABB</Val>
      </DA>
      <DA name="swRev" bType="VisString255" fc="DC">
        <Val>11.4.2.0</Val>
      </DA>
      <DA name="serNum" bType="VisString255" fc="DC" />
      <DA name="model" bType="VisString255" valKind="RO" fc="DC">
        <Val>RTU560_Server</Val>
      </DA>
    </DOType>
    <DOType id="ABBRTU500_2_Rev1_tcROMod" cdc="INC" iedType="RTU560_2">
      <DA name="stVal" bType="Enum" valKind="RO" type="Mod" fc="ST" dchg="true">
        <Val>on</Val>
      </DA>
      <DA name="q" bType="Quality" valKind="RO" fc="ST" qchg="true" />
      <DA name="t" bType="Timestamp" valKind="RO" fc="ST" />
      <DA name="ctlModel" bType="Enum" valKind="RO" type="ctlModel" fc="CF">
        <Val>status-only</Val>
      </DA>
      <DA name="d" bType="VisString255" fc="DC" />
    </DOType>
    <DOType id="ABBRTU500_2_Rev1_tcBeh" cdc="INS" iedType="RTU560_2">
      <DA name="stVal" bType="Enum" valKind="RO" type="Beh" fc="ST" dchg="true">
        <Val>on</Val>
      </DA>
      <DA name="q" bType="Quality" valKind="RO" fc="ST" qchg="true" />
      <DA name="t" bType="Timestamp" valKind="RO" fc="ST" />
      <DA name="d" bType="VisString255" fc="DC" />
    </DOType>
    <DOType id="ABBRTU500_2_Rev1_tcHealth" cdc="INS" iedType="RTU560_2">
      <DA name="stVal" bType="Enum" type="Health" fc="ST" dchg="true">
        <Val>Alarm</Val>
      </DA>
      <DA name="q" bType="Quality" valKind="RO" fc="ST" qchg="true" />
      <DA name="t" bType="Timestamp" valKind="RO" fc="ST" />
      <DA name="d" bType="VisString255" fc="DC" />
    </DOType>
    <DOType id="ABBRTU500_2_Rev1_tcLPL_#LIB1" cdc="LPL" iedType="RTU560_2">
      <DA name="vendor" bType="VisString255" valKind="RO" fc="DC">
        <Val>ABB</Val>
      </DA>
      <DA name="swRev" bType="VisString255" fc="DC">
        <Val>12.0.3.0</Val>
      </DA>
      <DA name="d" bType="VisString255" valKind="RO" fc="DC">
        <Val>RTU560_Server</Val>
      </DA>
      <DA name="configRev" bType="VisString255" fc="DC">
        <Val>1</Val>
      </DA>
    </DOType>
    <DOType id="ABBRTU500_2_Rev1_tcSPS" cdc="SPS" iedType="RTU560_2">
      <DA name="stVal" bType="BOOLEAN" fc="ST" dchg="true">
        <Val>false</Val>
      </DA>
      <DA name="q" bType="Quality" valKind="RO" fc="ST" qchg="true" />
      <DA name="t" bType="Timestamp" valKind="RO" fc="ST" />
      <DA name="d" bType="VisString255" fc="DC" />
    </DOType>
    <EnumType id="Mod">
      <EnumVal ord="1">on</EnumVal>
      <EnumVal ord="2">blocked</EnumVal>
      <EnumVal ord="3">test</EnumVal>
      <EnumVal ord="4">test/blocked</EnumVal>
      <EnumVal ord="5">off</EnumVal>
    </EnumType>
    <EnumType id="ctlModel">
      <EnumVal ord="0">status-only</EnumVal>
      <EnumVal ord="1">direct-with-normal-security</EnumVal>
      <EnumVal ord="2">sbo-with-normal-security</EnumVal>
      <EnumVal ord="3">direct-with-enhanced-security</EnumVal>
      <EnumVal ord="4">sbo-with-enhanced-security</EnumVal>
    </EnumType>
    <EnumType id="Beh">
      <EnumVal ord="1">on</EnumVal>
      <EnumVal ord="2">blocked</EnumVal>
      <EnumVal ord="3">test</EnumVal>
      <EnumVal ord="4">test/blocked</EnumVal>
      <EnumVal ord="5">off</EnumVal>
    </EnumType>
    <EnumType id="Health">
      <EnumVal ord="1">Ok</EnumVal>
      <EnumVal ord="2">Warning</EnumVal>
      <EnumVal ord="3">Alarm</EnumVal>
    </EnumType>
  </DataTypeTemplates>
</SCL>
hashtag
IEC61850 Fields

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

XSWC1.Pos

ST

stVal

BOOLEAN

Current switch status for relay 1.

XSWC2.Pos

ST

stVal

BOOLEAN

hashtag
Example

Soap requests and responses sent to and from platform:

Platform message of the data read from the device:

IEC61850 protocol Adapter logging:

hashtag
IEC61850 Fields

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

XSWC1.SwType

CO

Oper.ctlVal

INT8

Switch type for relay 1, tariff = 0, light = 1.

XSWC2.SwType

CO

Oper.ctlVal

INT8

hashtag
Example

Soap requests and responses sent to and from platform:

IEC61850 platform message of the data sent to the device:

IEC61850 protocol adapter logging:

hashtag
IEC61850 Fields

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

XSWC2.Pos

CO

Oper.ctlVal

BOOLEAN

Flag which, if set to true, immediately switches relay 2 on.

XSWC3.Pos

CO

Oper.ctlVal

BOOLEAN

hashtag
Example

Soap requests and responses sent to and from platform:

IEC61850 platform message of the data written to the device:

IEC61850 platform message of the data read from the device:

IEC61850 protocol adapter logging:

hashtag
IEC61850 Fields

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

XSWC2.Pos

CO

Oper.ctlVal

BOOLEAN

Flag which, if set to false, immediately switches relay 2 off.

XSWC3.Pos

CO

Oper.ctlVal

BOOLEAN

hashtag
Example

Soap requests and responses sent to and from platform:

IEC61850 platform message of the data written to the device:

IEC61850 platform message of the data read from the device:

IEC61850 protocol adapter logging:

Diagram of the structure of a protocol adapter

GetStatus

hashtag
Description

Request which queries the device for the status of the digital input.

Response which returns the result of the request and, if 'result = OK', contains the current status for the digital input.

hashtag
IEC61850 Fields

hashtag
Example

Soap requests and responses sent to and from platform:

Platform message of the data read from the device:

IEC61850 protocol Adapter logging:

SetTransition

hashtag
Description

Request which informs a device of a daylight transiton: it has become dark (sunset) or light (sunrise). The device will switch the relays, which have schedule entries for transition messages. See light schedule-entry for more information regarding switch schedules.

Response which returns the result of the request.

hashtag
IEC61850 Fields

hashtag
Example

Soap requests and responses sent to and from platform:

Platform message of the data written to the device:

IEC61850 protocol adapter logging:

SetSchedule

hashtag
Description

Request which commands a device to set a light or tariff schedule.

Response which returns the result of the request.

hashtag
IEC61850 Fields

The table shows the fields for XSWC1 (relay 1). The device has 4 relays (XSWC1...XSWC4).

Although the device supports setting 64 schedule entries (sche1...sche64) for 4 relays (XSWC1...XSWC4), the actual number of schedule entries is limited by OSGP to 50.

Besides the fields on the relay, the switch logic applies astronomical sunrise and sunset offsets to the calculated astronomical times. These are stored with the Street Light Configuration (logical node CSLC).

hashtag
Examples

hashtag
Example 1: Light schedule based on light measurement

Description: This schedule combines a 'morning/evening light' with an 'all night light'. Relay 1 and 2 will be switched on using a light measurement trigger. Relay 2 will be switched off at 23:00 using an absolute time. Relay 2 will be switched on at 07:00, but only when no light measurement trigger has been received yet. Relay 1 and 2 will be switched off using a light measurement trigger.

Screenshot of this schedule in an OSGP client application:

SOAP Request Message for Platform web service:

Platform message of data written to the device:

IEC61850 protocol adapter logging:

Astronomical Offsets

The SOAP request message may contain information about astronomical offsets (see the for more details about the offsets). When AstronomicalSunriseOffset and/or AstronomicalSunsetOffset are set, they will be written to the device in attributes CSLC.SWCf.adRiseOft and CSLC.SWCf.adSetOft.

hashtag
Example 2: Tariff Schedule

Description for this schedule:

This schedule defines the tariff switching moments. For most weekdays of the year the tariff is high from 7 'o clock in the morning until 11 'o clock in the evening. During the night and weekend, the tariff is low. However for certain days, like Christmas Day, the tariff has to be low as well (Christmas Day may be a weekday).

SOAP Request Message for Platform web service:

SOAP Response Message:

SOAP Request message for response:

SOAP Response message:

Platform message for data written to device:

IEC61850 protocol adapter logging:

UpdateDeviceSslCertification

hashtag
Description

Request to download a new SSL certificate from the certificate server. The device will be given the domain name and URL where the certificate is located.

hashtag
IEC61850 Fields

hashtag
Example

Soap requests and responses sent to and from platform:

IEC61850 platform message of the data sent to the device:

IEC61850 protocol Adapter logging:

FlexOVL_540_171101_2

Contract for FlexOVL_540_171101_2 The contract specifies the messages which can be exchanged with a LMD.

hashtag
Messages

The messages below are part of OSGP and implemented in the IEC61850 protocol adapter and supported by the FlexOVL_540_171101_2 device firmware.

  • (from platform to device) is a request which queries a device for the current status of all its digital inputs.

  • (from device to platform) is a response which returns the result of the GetStatusRequest and, if 'result = OK', returns the current status for all of the digital inputs.

  • (from device to platform) is a request that pushes an event notification from a device to the platform.

No other message types are supported by this device.

DLMS / COSEM

hashtag
DLMS/COSEM

The open smart grid platform supports DLMS/COSEM (IEC 62056arrow-up-right]. DLMS/COSEM is a popular protocol to read smart meters. DLMS/COSEM is the de facto standard in Europe.

The open smart grid platform DLMS/COSEM implementation was initial based on SMR5 and DSMR v4arrow-up-right. Other types of meters/profiles can be added to the platform. The open smart grid platform implementation supports HLS3/4/5.

hashtag
Protocol security

  • Public/private key pair(s)

  • Multiple encryption levels inside protocol (DSMR requires highest encryption level)

  • Full encryption of communication

hashtag
Used library

The is used to implement the protocol. Please note that jDLMS is licensed under the GPLv3.

hashtag
Protocol adapter configuration

DLMS

hashtag
DLMS device simulator

DLMS

hashtag
Supported devices

These devices can be used in combination with the Open Smart Grid Platform.

E/G
Supplier
Type
x fase

DLMS device simulator

The library that is used to connect to DLMS devices contains functionality to build a simulator for a device. The library offers the following core functionality.

  • zero or more servers can be started on a host (different ports)

  • zero or more logical devices can be registered with a server (different device id)

  • zero or more annotated objects can be registered with a logical device

  • these objects define available dlms classes, ObisCodes, attributeIds and methods for the device and can contain any logic

  • authentication and encryption are supported

If you want to simulate a certain device you will prepare annotated classes and register instances of these with a logical device. Because you create plain Java you can make use of all functionality Java offers, for example databases. To try and make the simulation more realistic you may build in connection timeouts etc.

hashtag
General Usage

For each combination of a cosem class and obiscode you create a java class that you annotate with @CosemClass(id = ..., obis = "x.x.x.x.x.255")

In these java classes you can add fields of type DataObject that you annotate with @CosemAttribute(id = ..., type = Type.x)

Also you can create getXXX and setXXX methods to intercept getting and setting data on a logical device. XXX will be the name of the corresponding field starting with a capital letter.

For example:

The value of the field will be the response to get(AttributeAddress...) that is fired from osgp CommandExecutors. NOTE that these values can also be set! For example using the ClientConsole.

You can also annotate methods with or without a DataObject return value and with or without a DataObject parameter: @CosemMethod(id = ..., consumes = Type.x)

For example:

Such a method will be called when osgp fires ClientConnection.action, the DataObject that may be returned will become available in osgp on the MethodResult object.

hashtag
GXF device simulators

GXF has an implementation of DLMS device simulators that builds on the DLMS COSEM Server concepts as described in the section.

hashtag
dlms-device-simulator

This project contains the code to activate a DLMS COSEM server simulating a smart meter by running the DeviceServer Spring Boot Application configure by settings defined in DlmsServerConfig.

More details about how to configure and start a simulator can be found in the .

The following diagrams provides some insight into the different parts that together provide access to COSEM interface object attributes and methods supported by the server.

Spring configuration classes define beans of type CosemInterfaceObject that are collected for activated Spring profiles to define the objects on the simulated device.

A COSEM interface object like octet-string deviceid1 can have a readable and writable value, that is made available outside the server and DLMS communication as well.

The role the DlmsAttributeValuesClient can play in a scenario where data is read and set from tests is described with the DLMS Attribute Values REST Resource.

hashtag
DLMS Attribute Values REST Resource as used in Cucumber tests with a simulated smart meter

The Cucumber test implementation using simulated DLMS device for smart metering comprises of a number of classes spread across the following projects:

  • dlms-device-simulator

  • osgp-simulator-dlms-triggered

  • cucumber-tests-platform-smartmetering

Dynamic values in smart meters (changed by DLMS communication or getting/setting values from test code) are implemented by using a REST resource, both from the simulated device and from the code behind Cucumber step definitions.

The following picture describes the REST resource endpoints and the way the resource is used by the different components.

OSLP

hashtag
OSLP Documentation

hashtag
The Open Street Light Protocol

The OSLP is a lightweight message based protocol. OSLP uses and is used for communication with SSLD devices (and device simulators). It is defined as a contract/interface. The interface defines datatypes and messages which use those data types. Google Protocol Buffers is used to generate the protocol implementations for Java (for the platform) and C/C++ (for the SSLD devices).

Open street light protocol does not use ASN.1 but Google Protocol Buffers. The main reason for this is the lack of a good quality free ASN.1 compiler for Java or C. Google Protocol Buffers offers a fast and free compiler for Java and C which produces small message sizes.

hashtag
Protocol security

  • Public/private key pair

  • Signing of messages through Elliptic Curve DSA 256 bit

    ** Integrity of the message is ensured

    ** Sender identity is ensured

    ** No encryption, because content is not confidential

Special note on Java security provider:

When both the DLMS and OSLP providers are deloyed within the same Java VM, the SunEC provider will not work properly. To workaround this issue, the SunPKCS11-NSS provider must be used for the OSLP protocol adapter. By default this provider is enabled on the development VM.

hashtag
OSLP v0.5.1 (Deprecated)

The protobuf contract for . For v0.5.1 port number 12121 is used.

hashtag
OSLP v0.6.1

The protobuf contract for . For v0.6.1 port number 12122 is used.

hashtag
OSLP Envelope

The requests and responses are sent using an OSLP envelope. This structure contains the following fields: securityKey, sequenceNumber, deviceId and payloadMessage. The first 3 field are byte arrays, the payloadMessage is a protobuf type which is serializable.

DLMS protocol adapter configuration

A specific protocol adapter can be used for a specific protocol The protocol-adapter that will be used by the device, is configured in the protocol_info field of the device. The following steps are required to configure and use a specific protocol-adapter:

  1. Create a protocol-adapter that listens to a specific queue

  2. Add a protocol-info record that uses this queue for the requests

  3. Configure the device in osgp-core, so that it will use this new protocol-info

hashtag
1. osgp-protocol-adapter-dlms

Configure the name of the JMS queue on which the protocol adpater will listen for requests.

hashtag
2. osgp-core

hashtag
Protocol Info table

By using a different outgoing_requests_property_prefix value, osgp-core can use a separate JMS queue for the requests.

Column
Example value
Description

hashtag
osgp-core.properties

The property with the prefix specified in the protocol-info table must be configured in the osgp-core.properties file The value is the name of the JMS queue. This is the same name as the name of the JMS queue specified in the osgp-protocol-adapter-dlms

hashtag
3. Connecting the device to the protocol-info

A device can be configured to use the specific protocol adapter, by pointing it to the new protocol_info record

Column
Example value
Description

MQTT

hashtag
MQTT Documentation

hashtag
MQ Telemetry Transport Protocol

MQTT is a lightweight publish/subscribe messaging protocol designed for constrained devices and networks.

hashtag
Dependencies

The MQTT Protocol Adapter uses the HiveMQ MQTT client com.hivemq:hivemq-mqtt-client which supports MQTT 3. The MQTT Protocol Simulator also uses HiveMQ, as well as the Moquette MQTT broker io.moquette:moquette-broker. The reason for using Moquette is that there is no Maven dependency for the HiveMQ broker component. The integration test for the MQTT client uses a test container for Eclipse Mosquitto based on the eclipse-mosquitto Docker image as broker.

hashtag
Simulator

The simulator runs an MQTT broker and a client which repeatedly publishes messages as specified in its mqtt_simulator_spec.json file.

Example:

The spec file above will pause for 5 seconds and then start publishing a measurement and congestion message with intervals of 30 seconds. The message payload is assumed to be a String and not validated or parsed in any way.

The protocol adapter will establish a connection with the simulator and subscribe to the default topics +/measurement,+/congestion. This means measurement and congestion messages from any device (+).

A configurable default QoS value is used (See com.hivemq.client.mqtt.datatypes.MqttQos for the values).

In earlier versions the MQTT broker was treated as a device saved in the GXF core and protocol adapter databases. To simplify things the MQTT protocol adapter now allows to configure connection settings for the MQTT broker, no longer considering this as a platform device.

SetReboot

hashtag
Description

Request which commands a device to reboot immediately. After the reboot, the device will switch its relays according to its schedule. Any ad hoc changes to relays will be lost.

Response which returns the result of the request.

GetConfiguration

hashtag
Description

Request which queries a device for its current configuration.

Response which returns the result of the request and, if 'result = OK', contains the configuration of the device.

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header>
      <OrganisationIdentification xmlns="http://www.opensmartgridplatform.org/schemas/common">LianderNetManagement</OrganisationIdentification>
      <ApplicationName xmlns="http://www.opensmartgridplatform.org/schemas/common">SoapUI</ApplicationName>
      <UserName xmlns="http://www.opensmartgridplatform.org/schemas/common">Sander</UserName>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
      <ns2:GetStatusRequest xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:DeviceIdentification>KAI-0000000053</ns2:DeviceIdentification>
      </ns2:GetStatusRequest>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetStatusAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180924111517726</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:GetStatusAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header>
      <OrganisationIdentification xmlns="http://www.opensmartgridplatform.org/schemas/common">LianderNetManagement</OrganisationIdentification>
      <ApplicationName xmlns="http://www.opensmartgridplatform.org/schemas/common">SoapUI</ApplicationName>
      <UserName xmlns="http://www.opensmartgridplatform.org/schemas/common">Sander</UserName>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
      <ns2:GetStatusAsyncRequest xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncRequest>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180924111517726</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053|</ns3:DeviceId>
         </ns2:AsyncRequest>
      </ns2:GetStatusAsyncRequest>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetStatusResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
         <ns2:DeviceStatus>
            <ns2:LightValues>
               <ns2:Index>2</ns2:Index>
               <ns2:On>false</ns2:On>
            </ns2:LightValues>
            <ns2:LightValues>
               <ns2:Index>3</ns2:Index>
               <ns2:On>false</ns2:On>
            </ns2:LightValues>
            <ns2:PreferredLinkType>ETHERNET</ns2:PreferredLinkType>
            <ns2:ActualLinkType>ETHERNET</ns2:ActualLinkType>
            <ns2:LightType>RELAY</ns2:LightType>
            <ns2:EventNotifications>DIAG_EVENTS</ns2:EventNotifications>
            <ns2:EventNotifications>LIGHT_EVENTS</ns2:EventNotifications>
            <ns2:EventNotifications>TARIFF_EVENTS</ns2:EventNotifications>
            <ns2:EventNotifications>MONITOR_EVENTS</ns2:EventNotifications>
            <ns2:EventNotifications>FIRMWARE_EVENTS</ns2:EventNotifications>
            <ns2:EventNotifications>COMM_EVENTS</ns2:EventNotifications>
            <ns2:EventNotifications>SECURITY_EVENTS</ns2:EventNotifications>
         </ns2:DeviceStatus>
      </ns2:GetStatusResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: GetStatus {
  XSWC2.Pos[ST].stVal: false
  CSLC.SWCf[CF].LT: RELAY
  XSWC3.Pos[ST].stVal: false
  XSWC1.Pos[ST].stVal: false
  CSLC.EvnBuf[CF].enbEvnType: 1FFFFFF
}
2018-10-01 13:31:42.182] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: GET_LIGHT_STATUS for domain: PUBLIC_LIGHTING 1.0
2018-10-01 13:31:42.182] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-10-01 13:31:42.182] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-10-01 13:31:42.316] [dev-box] [iec61850RequestsMessageListenerContainer-2] WARN o.o.c.db.api.iec61850.entities.Ssld@createDefaultConfiguration:99 - DeviceType is SSLD, returning default list of DeviceOutputSetting: 1 TARIFF, 2 & 3 & 4 LIGHT
2018-10-01 13:31:42.326] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:79 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3, 4=4}
2018-10-01 13:31:42.335] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 1 and max retry count: 1
2018-10-01 13:31:42.428] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-10-01 13:31:42.434] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-server-model/SWDevice-010805.icd
2018-10-01 13:31:42.513] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-10-01T13:31:42.182Z, end time: 2018-10-01T13:31:42.513Z, total time in milliseconds: 331
2018-10-01 13:31:42.533] [dev-box] [iec61850RequestsMessageListenerContainer-2] WARN o.o.c.db.api.iec61850.entities.Ssld@createDefaultConfiguration:99 - DeviceType is SSLD, returning default list of DeviceOutputSetting: 1 TARIFF, 2 & 3 & 4 LIGHT
2018-10-01 13:31:42.533] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC1.Pos
2018-10-01 13:31:42.564] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:62 - Got status of relay 1 => off
2018-10-01 13:31:42.565] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.Pos
2018-10-01 13:31:42.596] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:62 - Got status of relay 2 => off
2018-10-01 13:31:42.596] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.Pos
2018-10-01 13:31:42.626] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:62 - Got status of relay 3 => off
2018-10-01 13:31:42.626] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC4.Pos
2018-10-01 13:31:42.656] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:62 - Got status of relay 4 => off
2018-10-01 13:31:42.656] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.EvnBuf
2018-10-01 13:31:42.688] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, enbEvnType has value 1FFFFFF
2018-10-01 13:31:42.688] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:74 - Got EvnBuf.enbEvnType filter 1FFFFFF
2018-10-01 13:31:42.691] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.SWCf
2018-10-01 13:31:42.725] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, LT has value RELAY
2018-10-01 13:31:42.725] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-10-01 13:31:42.727] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.m.p.PublicLightingGetStatusRequestMessageProcessor@handleDeviceResponse:68 - Override for handleDeviceResponse() by PublicLightingGetStatusRequestMessageProcessor
2018-10-01 13:31:42.727] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.m.SsldDeviceRequestMessageProcessor@handleGetStatusDeviceResponse:66 - Handling getStatusDeviceResponse for device: KAI-0000000053
2018-10-01 13:31:42.728] [dev-box] [iec61850RequestsMessageListenerContainer-2] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:110 - Sending protocol response message [correlationUid=LianderNetManagement|||KAI-0000000053|||20181001133141570, device=KAI-0000000053, messageType=GET_LIGHT_STATUS, messagePriority=4]
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetConfigurationRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
         <ns1:Configuration>
            <ns1:LightType>RELAY</ns1:LightType>
            <ns1:RelayConfiguration>
               <ns1:RelayMap>
                  <ns1:Index>1</ns1:Index>
                  <ns1:Address>1</ns1:Address>
                  <ns1:RelayType>TARIFF</ns1:RelayType>
               </ns1:RelayMap>
               <ns1:RelayMap>
                  <ns1:Index>2</ns1:Index>
                  <ns1:Address>2</ns1:Address>
                  <ns1:RelayType>LIGHT</ns1:RelayType>
               </ns1:RelayMap>
               <ns1:RelayMap>
                  <ns1:Index>3</ns1:Index>
                  <ns1:Address>3</ns1:Address>
                  <ns1:RelayType>LIGHT</ns1:RelayType>
               </ns1:RelayMap>
            </ns1:RelayConfiguration>
            <ns1:PreferredLinkType>ETHERNET</ns1:PreferredLinkType>
            <ns1:TimeSyncFrequency>1440</ns1:TimeSyncFrequency>
            <ns1:DeviceFixedIp>
               <ns1:IpAddress>192.168.0.110</ns1:IpAddress>
               <ns1:NetMask>255.255.0.0</ns1:NetMask>
               <ns1:GateWay>192.168.0.1</ns1:GateWay>
            </ns1:DeviceFixedIp>
            <ns1:DhcpEnabled>true</ns1:DhcpEnabled>
            <ns1:OsgpIpAddress>168.63.97.65</ns1:OsgpIpAddress>
            <ns1:OsgpPortNumber>50003</ns1:OsgpPortNumber>
            <ns1:NtpHost>0.nl.pool.ntp.org</ns1:NtpHost>
            <ns1:NtpEnabled>true</ns1:NtpEnabled>
            <ns1:NtpSyncInterval>1440</ns1:NtpSyncInterval>
            <ns1:AutomaticSummerTimingEnabled>true</ns1:AutomaticSummerTimingEnabled>
            <ns1:AstroGateSunRiseOffset>0</ns1:AstroGateSunRiseOffset>
            <ns1:AstroGateSunSetOffset>0</ns1:AstroGateSunSetOffset>
            <ns1:SummerTimeDetails>2019-03-30T23:00:00.000Z</ns1:SummerTimeDetails>
            <ns1:WinterTimeDetails>2018-10-27T22:00:00.000Z</ns1:WinterTimeDetails>
         </ns1:Configuration>
      </ns1:SetConfigurationRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetConfigurationAsyncResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925135306803</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetConfigurationAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetConfigurationAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925135306803</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SetConfigurationAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetConfigurationResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetConfigurationResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: SetConfiguration {
  CSLC.Reg[CF].svrPort: 50003
  CSLC.SWCf[CF].adSetOft: 0
  CSLC.Clock[CF].ntpSvrA: 0.nl.pool.ntp.org
  CSLC.SWCf[CF].LT: RELAY
  CSLC.Clock[CF].dstEndT: M10.5.6/22
  CSLC.IPCf[CF].enbDHCP: true
  XSWC2.SwType[CO].Oper.ctlVal: 1
  XSWC3.SwType[CO].Oper.ctlVal: 1
  CSLC.Clock[CF].enbDst: true
  XSWC1.SwType[CO].Oper.ctlVal: 0
  CSLC.Clock[CF].enbNtpC: true
  CSLC.IPCf[CF].netmask: 255.255.0.0
  CSLC.IPCf[CF].gateway: 192.168.0.1
  CSLC.IPCf[CF].ipAddr: 192.168.0.110
  CSLC.Reg[CF].svrAddr: 168.63.97.65
  CSLC.SWCf[CF].adRiseOft: 0
  CSLC.Clock[CF].syncPer: 1440
  CSLC.Clock[CF].dstBegT: M3.5.6/23
}
2018-09-25 13:53:07.723] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC1.SwType
2018-09-25 13:53:07.756] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:70 - Updating Switch for internal index 1 to 0 (TARIFF)
2018-09-25 13:53:07.772] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.SwType
2018-09-25 13:53:07.801] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:70 - Updating Switch for internal index 2 to 1 (LIGHT)
2018-09-25 13:53:07.817] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.SwType
2018-09-25 13:53:08.002] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:70 - Updating Switch for internal index 3 to 1 (LIGHT)
2018-09-25 13:53:08.016] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.Reg
2018-09-25 13:53:08.031] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:92 - Updating OspgIpAddress to 168.63.97.65
2018-09-25 13:53:08.031] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing 168.63.97.65 to svrAddr
2018-09-25 13:53:08.400] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:100 - Updating OsgpPortNumber to 50003
2018-09-25 13:53:08.444] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.SWCf
2018-09-25 13:53:08.761] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:120 - Updating AstroGateSunRiseOffset to 0
2018-09-25 13:53:08.916] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:130 - Updating AstroGateSunSetOffset to 0
2018-09-25 13:53:09.208] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:140 - Updating LightType to RELAY
2018-09-25 13:53:09.209] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing RELAY to LT
2018-09-25 13:53:10.728] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.Clock
2018-09-25 13:53:10.743] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:165 - Updating TimeSyncFrequency to 1440
2018-09-25 13:53:10.762] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:175 - Updating AutomaticSummerTimingEnabled to true
2018-09-25 13:53:10.781] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:202 - Updating DstBeginTime to M3.5.6/23 based on SummerTimeDetails 2019-03-30T23:00:00.000Z
2018-09-25 13:53:10.781] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing M3.5.6/23 to dstBegT
2018-09-25 13:53:10.800] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:213 - Updating DstEndTime to M10.5.6/22 based on WinterTimeDetails 2018-10-27T22:00:00.000Z
2018-09-25 13:53:10.800] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing M10.5.6/22 to dstEndT
2018-09-25 13:53:10.818] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:221 - Updating ntpEnabled to true
2018-09-25 13:53:10.836] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:230 - Updating ntpHost to 0.nl.pool.ntp.org
2018-09-25 13:53:10.836] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing 0.nl.pool.ntp.org to ntpSvrA
2018-09-25 13:53:10.855] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:239 - Updating ntpSyncInterval to 1440
2018-09-25 13:53:10.874] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.IPCf
2018-09-25 13:53:10.891] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:259 - Updating DhcpEnabled to true
2018-09-25 13:53:14.062] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:271 - Updating deviceFixedIpAddress to 192.168.0.110
2018-09-25 13:53:14.062] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing 192.168.0.110 to ipAddr
2018-09-25 13:53:14.082] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:277 - Updating deviceFixedIpNetmask to 255.255.0.0
2018-09-25 13:53:14.082] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing 255.255.0.0 to netmask
2018-09-25 13:53:14.101] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetConfigurationCommand@apply:283 - Updating deviceFixIpGateway to 192.168.0.1
2018-09-25 13:53:14.101] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing 192.168.0.1 to gateway
2018-09-25 13:53:14.119] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-25 13:53:14.120] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:StartDeviceTestRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
      </ns1:StartDeviceTestRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:StartDeviceTestAsyncResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925142331454</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:StartDeviceTestAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:StartDeviceTestAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925142331454</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:StartDeviceTestAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:StartDeviceTestResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:StartDeviceTestResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: StartSelfTest {
  XSWC2.Pos[CO].Oper.ctlVal: true
  XSWC3.Pos[CO].Oper.ctlVal: true
}
LogicalDevice: SWDeviceGenericIO
messageType: GetStatus {
  XSWC2.Pos[ST].stVal: true
  CSLC.SWCf[CF].LT: RELAY
  XSWC3.Pos[ST].stVal: true
  XSWC1.Pos[ST].stVal: false
  CSLC.EvnBuf[CF].enbEvnType: 1FFFFFF
}
2018-09-25 14:23:31.994] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceRequestMessageListener@onMessage:61 - Received message of type: START_SELF_TEST with message priority: 4
2018-09-25 14:23:31.994] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: START_SELF_TEST for domain: CORE 1.0
2018-09-25 14:23:31.995] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-09-25 14:23:31.995] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-09-25 14:23:32.002] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:80 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3}
2018-09-25 14:23:32.005] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 3 and max retry count: 3
2018-09-25 14:23:32.056] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-09-25 14:23:32.056] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-server-model/SWDevice-010805.icd
2018-09-25 14:23:32.111] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-09-25T14:23:31.995Z, end time: 2018-09-25T14:23:32.111Z, total time in milliseconds: 116
2018-09-25 14:23:32.114] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:339 - Turning all lights relays on
2018-09-25 14:23:32.114] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@createListOfInternalIndicesToSwitch:220 - creating list of internal indices using device output settings
2018-09-25 14:23:32.114] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@apply:66 - Trying to switch light relay with internal index: 2 on: true for device: KAI-0000000053
2018-09-25 14:23:32.115] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.CfSt
2018-09-25 14:23:32.128] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850Commands@enableOperationOfRelay:56 - masterControl.enbOper is true, switching of relay 2 is enabled
2018-09-25 14:23:32.129] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.Pos
2018-09-25 14:23:32.144] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@switchLightRelay:108 - Switching relay 2 on
2018-09-25 14:23:32.162] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@apply:66 - Trying to switch light relay with internal index: 3 on: true for device: KAI-0000000053
2018-09-25 14:23:32.162] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.CfSt
2018-09-25 14:23:32.258] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850Commands@enableOperationOfRelay:56 - masterControl.enbOper is true, switching of relay 3 is enabled
2018-09-25 14:23:32.258] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.Pos
2018-09-25 14:23:32.480] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@switchLightRelay:108 - Switching relay 3 on
2018-09-25 14:23:32.523] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-25 14:23:32.523] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@selfTestSleep:391 - Waiting 5000 milliseconds before getting the device status
2018-09-25 14:23:37.524] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC1.Pos
2018-09-25 14:23:39.899] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:63 - Got status of relay 1 => off
2018-09-25 14:23:39.900] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.Pos
2018-09-25 14:23:40.148] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:63 - Got status of relay 2 => on
2018-09-25 14:23:40.148] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.Pos
2018-09-25 14:23:40.287] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:63 - Got status of relay 3 => on
2018-09-25 14:23:40.287] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.EvnBuf
2018-09-25 14:23:41.762] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, enbEvnType has value 1FFFFFF
2018-09-25 14:23:41.762] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:74 - Got EvnBuf.enbEvnType filter 1FFFFFF
2018-09-25 14:23:41.763] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.SWCf
2018-09-25 14:23:41.778] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, LT has value RELAY
2018-09-25 14:23:41.778] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-25 14:23:41.778] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:354 - Fetching and checking the devicestatus
2018-09-25 14:23:41.779] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): false for lightValue.getIndex(): 1 and lightValueDto.getIndex(): 2
2018-09-25 14:23:41.779] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): false for lightValue.getIndex(): 1 and lightValueDto.getIndex(): 3
2018-09-25 14:23:41.779] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): true for lightValue.getIndex(): 2 and lightValueDto.getIndex(): 2
2018-09-25 14:23:41.779] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): false for lightValue.getIndex(): 2 and lightValueDto.getIndex(): 3
2018-09-25 14:23:41.779] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): false for lightValue.getIndex(): 3 and lightValueDto.getIndex(): 2
2018-09-25 14:23:41.779] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): true for lightValue.getIndex(): 3 and lightValueDto.getIndex(): 3
2018-09-25 14:23:41.779] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:372 - All lights relays are on, returning OK
2018-09-25 14:23:41.779] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK
2018-09-25 14:23:41.779] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:111 - Sending protocol response message for device: KAI-0000000053 of message type: START_SELF_TEST with message priority: 4
2018-09-25 14:23:41.780] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@logDuration:355 - Device: KAI-0000000053, messageType: START_SELF_TEST, Start time: 2018-09-25T14:23:31.995Z, end time: 2018-09-25T14:23:41.780Z, total time in milliseconds: 9785
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:StopDeviceTestRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
      </ns1:StopDeviceTestRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:StopDeviceTestAsyncResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925142825021</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:StopDeviceTestAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:StopDeviceTestAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925142825021</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:StopDeviceTestAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:StopDeviceTestResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:StopDeviceTestResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: StopSelfTest {
  XSWC2.Pos[CO].Oper.ctlVal: false
  XSWC3.Pos[CO].Oper.ctlVal: false
}
LogicalDevice: SWDeviceGenericIO
messageType: GetStatus {
  XSWC2.Pos[ST].stVal: false
  CSLC.SWCf[CF].LT: RELAY
  XSWC3.Pos[ST].stVal: false
  XSWC1.Pos[ST].stVal: false
  CSLC.EvnBuf[CF].enbEvnType: 1FFFFFF
}
2018-09-25 14:30:28.448] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceRequestMessageListener@onMessage:61 - Received message of type: STOP_SELF_TEST with message priority: 4
2018-09-25 14:30:28.448] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: STOP_SELF_TEST for domain: CORE 1.0
2018-09-25 14:30:28.448] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 2
2018-09-25 14:30:28.448] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using
 response time-out: 10000
2018-09-25 14:30:28.451] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:80 - Retrieved internal to external index map for device KAI-0000000053:
 {0=0, 1=1, 2=2, 3=3}
2018-09-25 14:30:28.452] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 3 and max retry count: 3
2018-09-25 14:30:28.496] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-09-25 14:30:28.497] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-serve
r-model/SWDevice-010805.icd
2018-09-25 14:30:28.559] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-09-25T14:30:28
.448Z, end time: 2018-09-25T14:30:28.559Z, total time in milliseconds: 111
2018-09-25 14:30:28.561] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:339 - Turning all lights relays off
2018-09-25 14:30:28.561] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@createListOfInternalIndicesToSwitch:220 - creating list of internal indices using device output settings
2018-09-25 14:30:28.561] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@apply:66 - Trying to switch light relay with internal index: 2 on: false for device: KAI-0000000053
2018-09-25 14:30:28.561] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.CfSt
2018-09-25 14:30:28.577] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850Commands@enableOperationOfRelay:56 - masterControl.enbOper is true, switching of relay 2 is enabled
2018-09-25 14:30:28.577] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.Pos
2018-09-25 14:30:28.592] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@switchLightRelay:108 - Switching relay 2 off
2018-09-25 14:30:28.608] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@apply:66 - Trying to switch light relay with internal index: 3 on: false for device: KAI-0000000053
2018-09-25 14:30:28.608] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.CfSt
2018-09-25 14:30:28.684] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850Commands@enableOperationOfRelay:56 - masterControl.enbOper is true, switching of relay 3 is enabled
2018-09-25 14:30:28.684] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.Pos
2018-09-25 14:30:28.908] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetLightCommand@switchLightRelay:108 - Switching relay 3 off
2018-09-25 14:30:28.924] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-25 14:30:28.925] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@selfTestSleep:391 - Waiting 5000 milliseconds before getting the device status
2018-09-25 14:30:33.925] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC1.Pos
2018-09-25 14:30:36.862] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:63 - Got status of relay 1 => off
2018-09-25 14:30:36.863] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.Pos
2018-09-25 14:30:37.550] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:63 - Got status of relay 2 => off
2018-09-25 14:30:37.550] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.Pos
2018-09-25 14:30:37.663] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:63 - Got status of relay 3 => off
2018-09-25 14:30:37.663] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.EvnBuf
2018-09-25 14:30:38.469] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, enbEvnType has value 1FFFFFF
2018-09-25 14:30:38.469] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetStatusCommand@apply:74 - Got EvnBuf.enbEvnType filter 1FFFFFF
2018-09-25 14:30:38.469] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.SWCf
2018-09-25 14:30:38.485] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, LT has value RELAY
2018-09-25 14:30:38.485] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-25 14:30:38.485] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:354 - Fetching and checking the devicestatus
2018-09-25 14:30:38.485] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): false for lightValue.getIndex(): 1 and lightValueDto.getIndex(): 2
2018-09-25 14:30:38.485] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): false for lightValue.getIndex(): 1 and lightValueDto.getIndex(): 3
2018-09-25 14:30:38.485] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): true for lightValue.getIndex(): 2 and lightValueDto.getIndex(): 2
2018-09-25 14:30:38.485] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): false for lightValue.getIndex(): 2 and lightValueDto.getIndex(): 3
2018-09-25 14:30:38.485] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): false for lightValue.getIndex(): 3 and lightValueDto.getIndex(): 2
2018-09-25 14:30:38.485] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:359 - relaysWithInternalIdToSwitch.getIndex().equals(lightValue.getIndex()): true for lightValue.getIndex(): 3 and lightValueDto.getIndex(): 3
2018-09-25 14:30:38.485] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850SsldDeviceService@runSelfTest:372 - All lights relays are off, returning OK
2018-09-25 14:30:38.486] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK
2018-09-25 14:30:38.486] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:111 - Sending protocol response message for device: KAI-0000000053 of message type: STOP_SELF_TEST with message priority: 4

Current switch status for relay 2.

XSWC3.Pos

ST

stVal

BOOLEAN

Current switch status for relay 3.

XSWC4.Pos

ST

stVal

BOOLEAN

Current switch status for relay 4.

CSLC.EvnBuf

CF

enbEvnType

VisString32

Bitmask indicating which event notification types are enabled.

CSLC.SWCf

CF

LT

VisString64

Device light type, always "RELAY".

Switch type for relay 2, tariff = 0, light = 1.

XSWC3.SwType

CO

Oper.ctlVal

INT8

Switch type for relay 3, tariff = 0, light = 1.

XSWC4.SwType

CO

Oper.ctlVal

INT8

Switch type for relay 4, tariff = 0, light = 1.

CSLC.SWCf

CF

LT

VisString64

Light type, always set to "RELAY".

CSLC.SWCf

CF

adSetOft

INT16

Offset in minutes with respect to astronomical sunset.

CSLC.SWCf

CF

adRiseOft

INT16

Offset in minutes with respect to astronomical sunrise.

CSLC.Reg

CF

svrAddr

VisString64

OSGP server address for device registration.

CSLC.Reg

CF

svrPort

INT32

OSGP server port for device registration.

CSLC.Clock

CF

dstBegT

VisString255

Daylight savings time begin time.

CSLC.Clock

CF

dstEndT

VisString255

Daylight savings time end time.

CSLC.Clock

CF

enbDst

BOOLEAN

Flag indicating whether daylight savings time is enabled.

CSLC.Clock

CF

enbNtpC

BOOLEAN

Flag indicating whether NTP client is enabled.

CSLC.Clock

CF

ntpSvrA

VisString255

NTP server address.

CSLC.Clock

CF

syncPer

INT16U

Time sync period in minutes.

CSLC.IPCf

CF

enbDHCP

BOOLEAN

Flag indicating whether DHCP client is enabled.

CSLC.IPCf

CF

ipAddr

VisString32

Fixed IP address when DHCP is disabled.

CSLC.IPCf

CF

netmask

VisString32

Netmask when DHCP is disabled.

CSLC.IPCf

CF

gateway

VisString32

Gateway when DHCP is disabled.

Flag which, if set to true, immediately switches relay 3 on.

Flag which, if set to false, immediately switches relay 3 off.

GetStatusRequest
GetStatusResponse
EventNotificationRequest

MA304

E

Kaifa

MA304C

3 fase

E

L+G

ZCF110CCtFs2

1 fase

E

L+G

ZMF110CCtFs2

3 fase

E

L+G

ZCF110CBtFs2

1 fase

E

L+G

E350

E

L+G

E650

E

Iskra

Mx382

G

L+G

G350 (wireless/wired)

G

Itron

G1 RF1

E

Kaifa

MA105

E

Kaifa

MA105C

1 fase

E

OpenMUC jDLMS library from Fraunhoferarrow-up-right
protocol adapter configuration
device simulator

Kaifa

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

SPGGIO2.Ind

ST

stVal

BOOLEAN

Current state of the digital input.

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

CSLC.Sensor

CO

Oper.ctlVal

BOOLEAN

Flag indicating transition type, true = DAY_NIGHT, false = NIGHT_DAY.

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

CSLC.CARepl

CF

url

VisString255

Set new CA file download URL here, device will download the new CA file and then replace the old CA file at startT.

CSLC.CARepl

CF

startT

VisString32

Device will download CA file at this Timestamp (date + time).

Replay attack prevention

Google Protocol Buffersarrow-up-right
OSLP v0.5.1
OSLP v0.6.1

jms.protocol.dlms.incoming.requests

Property prefix of the JMS queue for incoming requests

outgoing_requests_property_prefix

jms.protocol.dlms.outgoing.cdma.requests

Property prefix of the JMS queue for outgoing requests

incoming_responses_property_prefix

jms.protocol.dlms.incoming.responses

Property prefix of the JMS queue for incoming responses

outgoing_responses_property_prefix

jms.protocol.dlms.outgoing.cdma.responses

Property prefix of the JMS queue for outgoing responses

id

1

Auto generated ID

protocol

SMR_CDMA

Identifier of the configuration

protocol_version

5.1

Version identifier of the configuration

device_identification

E0049007469584219

Identification of the device

protocol_info_id

1

Reference to id in Protocol Info table

incoming_requests_property_prefix

hashtag
IEC61850 Fields

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

CSLC.RbOper

ST

Oper.ctlVal

BOOLEAN

Flag which, if set to true, will trigger a reboot.

hashtag
Example

Soap requests and responses sent to and from platform:

IEC61850 platform message of the data set on the device:

IEC61850 protocol adapter logging:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
      <ns:MessagePriority>9</ns:MessagePriority>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:GetStatusRequest>
         <ns1:DeviceIdentification>LichtmeterNoord</ns1:DeviceIdentification>
      </ns1:GetStatusRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetStatusAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||LichtmeterNoord|||20181001155341143</ns3:CorrelationUid>
            <ns3:DeviceId>LichtmeterNoord</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:GetStatusAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" 
xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:GetStatusAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||LichtmeterNoord|||20181001155341143</ns:CorrelationUid>
            <ns:DeviceId>?</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:GetStatusAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetStatusResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
         <ns2:DeviceStatus>
            <ns2:LightValues>
               <ns2:Index>2</ns2:Index>
               <ns2:On>true</ns2:On>
               <ns2:DimValue>-1</ns2:DimValue>
            </ns2:LightValues>
            <ns2:PreferredLinkType>ETHERNET</ns2:PreferredLinkType>
            <ns2:ActualLinkType>ETHERNET</ns2:ActualLinkType>
            <ns2:LightType>ONE_TO_TWENTY_FOUR_VOLT</ns2:LightType>
         </ns2:DeviceStatus>
      </ns2:GetStatusResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO 
messageType: GetLightSensorStatus {
  SPGGIO2.Ind[ST].stVal: false
}
2018-10-01 15:53:41.468] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.m.DeviceRequestMessageListener@onMessage:61 - Received message of type: GET_LIGHT_SENSOR_STATUS with message priority: 9
2018-10-01 15:53:41.468] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: GET_LIGHT_STATUS for domain: PUBLIC_LIGHTING 1.0
2018-10-01 15:53:41.468] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-10-01 15:53:41.469] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@testIfConnectionIsCachedAndAlive:202 - Trying to find connection in cache for deviceIdentification: LichtmeterNoord
2018-10-01 15:53:41.469] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@testIfConnectionIsCachedAndAlive:206 - Connection found for deviceIdentification: LichtmeterNoord
2018-10-01 15:53:41.469] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@testIfConnectionIsCachedAndAlive:211 - Testing if connection is alive using AA1TH01LD0/LLN0.NamPlt for deviceIdentification: LichtmeterNoord
2018-10-01 15:53:41.469] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@testIfConnectionIsCachedAndAlive:224 - Connection is still active for deviceIdentification: LichtmeterNoord
2018-10-01 15:53:41.472] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.s.Iec61850LmdDeviceService@getStatus:63 - Iec61850LmdDeviceService.getStatus() called for LMD: LichtmeterNoord of type: LMD with digital input: 2
2018-10-01 15:53:41.473] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: LichtmeterNoord, ObjectReference: AA1TH01LD0/SPGGIO2.Ind
2018-10-01 15:53:41.473] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.s.c.Iec61850GetLightSensorStatusCommand@apply:89 - device: LichtmeterNoord, indNode: AA1TH01LD0/SPGGIO2.Ind [ST]
AA1TH01LD0/SPGGIO2.Ind.stVal: false
AA1TH01LD0/SPGGIO2.Ind.q: 0x00 0x00
AA1TH01LD0/SPGGIO2.Ind.t: Thu Jan 01 00:00:00 UTC 1970
2018-10-01 15:53:41.473] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.s.c.Iec61850GetLightSensorStatusCommand@apply:93 - device: LichtmeterNoord, stVal: AA1TH01LD0/SPGGIO2.Ind.stVal: false
2018-10-01 15:53:41.473] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: LichtmeterNoord
2018-10-01 15:53:41.473] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.m.p.PublicLightingGetLightSensorStatusRequestMessageProcessor@handleDeviceResponse:93 - Override for handleDeviceResponse() by PublicLightingGetLightSensorStatusRequestMessageProcessor
2018-10-01 15:53:41.474] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.m.LmdDeviceRequestMessageProcessor@handleGetStatusDeviceResponse:65 - Handling getStatusDeviceResponse for device: LichtmeterNoord
2018-10-01 15:53:41.474] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:111 - Sending protocol response message for device: LichtmeterNoord of message type: GET_LIGHT_STATUS with message priority: 9
2018-10-01 15:53:41.474] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.s.Iec61850LmdDeviceService@enableReporting:125 - Trying to enable reporting for device: LichtmeterNoord
2018-10-01 15:53:41.474] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: LichtmeterNoord, ObjectReference: AA1TH01LD0/LLN0.rcb_A
2018-10-01 15:53:41.474] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.s.c.Iec61850EnableReportingCommand@enableUnbufferedReportingOnLightMeasurementDevice:146 - reportingEnabled for unbuffered reports: true
2018-10-01 15:53:41.474] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-23] INFO o.o.a.p.i.i.n.s.c.Iec61850EnableReportingCommand@enableUnbufferedReportingOnLightMeasurementDevice:149 - Unbuffered reporting is already enabled for device: LichtmeterNoord
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetTransitionRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
         <ns1:TransitionType>NIGHT_DAY</ns1:TransitionType>
         <ns1:Time>08:00:00</ns1:Time>
      </ns1:SetTransitionRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetTransitionAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180926091217778</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetTransitionAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetTransitionAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180926091217778</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SetTransitionAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetTransitionResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>NOT FOUND</ns2:Result>
      </ns2:SetTransitionResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: SetTransition {
  CSLC.Sensor[CO].Oper.ctlVal: false
}
2018-09-26 09:12:18.111] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceRequestMessageListener@onMessage:61 - Received message of type: SET_TRANSITION with message priority: 4
2018-09-26 09:12:18.111] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: SET_TRANSITION for domain: PUBLIC_LIGHTING 1.0
2018-09-26 09:12:18.111] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-09-26 09:12:18.111] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-09-26 09:12:18.116] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:80 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3}
2018-09-26 09:12:18.121] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 3 and max retry count: 3
2018-09-26 09:12:18.167] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-09-26 09:12:18.167] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-server-model/SWDevice-010805.icd
2018-09-26 09:12:18.224] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-09-26T09:12:18.112Z, end time: 2018-09-26T09:12:18.224Z, total time in milliseconds: 112
2018-09-26 09:12:18.224] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850TransitionCommand@transitionDevice:37 - device: KAI-0000000053, transition: NIGHT_DAY
2018-09-26 09:12:18.224] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] WARN o.o.a.p.i.i.n.s.c.Iec61850TransitionCommand@transitionDevice:42 - device: KAI-0000000053, setting date/time 1970-01-01T08:00:00.000Z for transition NIGHT_DAY not supported
2018-09-26 09:12:18.224] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.Sensor
2018-09-26 09:12:18.239] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850TransitionCommand@apply:54 - device: KAI-0000000053, sensorNode: SWDeviceGenericIO/CSLC.Sensor [CO]
SWDeviceGenericIO/CSLC.Sensor.Oper [CO]
SWDeviceGenericIO/CSLC.Sensor.Oper.ctlVal: true
SWDeviceGenericIO/CSLC.Sensor.Oper.origin [CO]
SWDeviceGenericIO/CSLC.Sensor.Oper.origin.orCat: 0
SWDeviceGenericIO/CSLC.Sensor.Oper.origin.orIdent: []
SWDeviceGenericIO/CSLC.Sensor.Oper.ctlNum: 0
SWDeviceGenericIO/CSLC.Sensor.Oper.T: Thu Jan 01 00:00:00 UTC 1970
SWDeviceGenericIO/CSLC.Sensor.Oper.Test: false
SWDeviceGenericIO/CSLC.Sensor.Oper.Check: 0x0
2018-09-26 09:12:18.239] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850TransitionCommand@apply:57 - device: KAI-0000000053, oper: SWDeviceGenericIO/CSLC.Sensor.Oper [CO]
SWDeviceGenericIO/CSLC.Sensor.Oper.ctlVal: true
SWDeviceGenericIO/CSLC.Sensor.Oper.origin [CO]
SWDeviceGenericIO/CSLC.Sensor.Oper.origin.orCat: 0
SWDeviceGenericIO/CSLC.Sensor.Oper.origin.orIdent: []
SWDeviceGenericIO/CSLC.Sensor.Oper.ctlNum: 0
SWDeviceGenericIO/CSLC.Sensor.Oper.T: Thu Jan 01 00:00:00 UTC 1970
SWDeviceGenericIO/CSLC.Sensor.Oper.Test: false
SWDeviceGenericIO/CSLC.Sensor.Oper.Check: 0x0
2018-09-26 09:12:18.239] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850TransitionCommand@apply:60 - device: KAI-0000000053, ctlVal: SWDeviceGenericIO/CSLC.Sensor.Oper.ctlVal: true
2018-09-26 09:12:18.239] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850TransitionCommand@apply:63 - device: KAI-0000000053, set ctlVal to false in order to transition the device
2018-09-26 09:12:18.255] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-26 09:12:18.255] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK
2018-09-26 09:12:18.256] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:111 - Sending protocol response message for device: KAI-0000000053 of message type: SET_TRANSITION with message priority: 4
2018-09-26 09:12:18.256] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/LLN0.evn_rpn01
2018-09-26 09:12:18.256] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@setSqNum:62 - First new SqNum for report listener for device: KAI-0000000053 is: 0
2018-09-26 09:12:18.270] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850EnableReportingCommand@enableReportingOnDeviceWithoutUsingSequenceNumber:79 - Allowing device KAI-0000000053 to send reports containing events
2018-09-26 09:12:38.270] [osgp-tst-03] [Timer-45] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/LLN0.evn_rpn01
2018-09-26 09:12:38.305] [osgp-tst-03] [Timer-45] INFO o.o.a.p.i.i.n.s.c.Iec61850ClearReportCommand@clearReportOnDevice:32 - Cleared event buffer for device: KAI-0000000053
2018-09-26 09:12:38.307] [osgp-tst-03] [Timer-45] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@logDuration:355 - Device: KAI-0000000053, messageType: SET_TRANSITION, Start time: 2018-09-26T09:12:18.112Z, end time: 2018-09-26T09:12:38.307Z, total time in milliseconds: 20195
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" 
xmlns:ns1="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:UpdateDeviceSslCertificationRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
         <ns1:Certification>
            <ns1:certificateDomain>cert-server</ns1:certificateDomain>
            <ns1:certificateUrl>/certs/new-cert.pem</ns1:certificateUrl>
         </ns1:Certification>
      </ns1:UpdateDeviceSslCertificationRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:UpdateDeviceSslCertificationAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20181001092825280</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:UpdateDeviceSslCertificationAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" 
xmlns:ns1="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Kevin</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:UpdateDeviceSslCertificationAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20181001092825280</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:UpdateDeviceSslCertificationAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:UpdateDeviceSslCertificationResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/devicemanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:UpdateDeviceSslCertificationResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: UpdateSslCertificate {
  CSLC.CARepl[CF].url: cert-server/certs/new-cert.pem
  CSLC.CARepl[CF].startT: 2018-10-01 11:36:08
}
2018-10-01 09:28:25.800] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.m.DeviceRequestMessageListener@onMessage:61 - Received message of type: UPDATE_DEVICE_SSL_CERTIFICATION with message priority: 4
2018-10-01 09:28:25.847] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: UPDATE_DEVICE_SSL_CERTIFICATION for domain: CORE 1.0
2018-10-01 09:28:25.847] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-10-01 09:28:25.847] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-10-01 09:28:25.852] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:80 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3}
2018-10-01 09:28:25.871] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 3 and max retry count: 3
2018-10-01 09:28:25.926] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-10-01 09:28:25.932] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-server-model/SWDevice-010805.icd
2018-10-01 09:28:25.960] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-10-01T09:28:25.847Z, end time: 2018-10-01T09:28:25.960Z, total time in milliseconds: 113
2018-10-01 09:28:25.968] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.s.c.Iec61850UpdateSslCertificateCommand@apply:44 - Reading the certificate authority url
2018-10-01 09:28:25.968] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.CARepl
2018-10-01 09:28:25.983] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.s.c.Iec61850UpdateSslCertificateCommand@apply:64 - Updating the certificate download url to cert-server/certs/new-cert.pem
2018-10-01 09:28:25.983] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeString:99 - Device: KAI-0000000053, writing cert-server/certs/new-cert.pem to url
2018-10-01 09:28:26.003] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.Clock
2018-10-01 09:28:26.018] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.s.c.Iec61850UpdateSslCertificateCommand@apply:78 - Updating the certificate download start time to: Mon Oct 01 11:36:08 UTC 2018
2018-10-01 09:28:26.018] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.helper.NodeContainer@writeDate:139 - Device: KAI-0000000053, writing Mon Oct 01 11:36:08 UTC 2018 to startT
2018-10-01 09:28:26.036] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-10-01 09:28:26.037] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK
2018-10-01 09:28:26.037] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:111 - Sending protocol response message for device: KAI-0000000053 of message type: UPDATE_DEVICE_SSL_CERTIFICATION with message priority: 4
2018-10-01 09:28:26.040] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-13] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@logDuration:355 - Device: KAI-0000000053, messageType: UPDATE_DEVICE_SSL_CERTIFICATION, Start time: 2018-10-01T09:28:25.847Z, end time: 2018-10-01T09:28:26.037Z, total time in milliseconds: 190
2018-10-01 09:28:26.040] [osgp-tst-03] [Thread-557] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@associationClosed:366 - associationClosed() for device: KAI-0000000053, IOException: Connection disconnected by client
2018-10-01 09:28:26.040] [osgp-tst-03] [Thread-557] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@associationClosed:371 - No event notifications received from device: KAI-000000005
class OslpEnvelope {
    /**
     * Length of the security hash.
     * Length for ECDSA is 71 or 72 or 73 bytes.
     * Length for RSA is 128 bytes.
     */
    public static final int SECURITY_KEY_LENGTH = 128;

    /**
     * Length of the sequence number.
     */
    public static final int SEQUENCE_NUMBER_LENGTH = 2;

    /**
     * Length of the manufacturer id.
     */
    public static final int MANUFACTURER_ID_LENGTH = 2;

    /**
     * Length of the device id.
     */
    public static final int DEVICE_ID_LENGTH = 10;

    /**
     * Length of the length.
     */
    public static final int LENGTH_INDICATOR_LENGTH = 2;

    /**
     * Buffer for security key bytes.
     */
    public byte[] securityKey = new byte[SECURITY_KEY_LENGTH];

    /**
     * Buffer for sequence number bytes.
     */
    public byte[] sequenceNumber = new byte[SEQUENCE_NUMBER_LENGTH];

    /**
     * Buffer for deviceid bytes.
     */
    public byte[] deviceId = new byte[DEVICE_ID_LENGTH + MANUFACTURER_ID_LENGTH];

    /**
     * Buffer for OSLP payload.
     */
    public Message payloadMessage;
}
jms.dlms.requests.queue=protocol-dlms.1_0.osgp-core.1_0.cdma.requests
jms.protocol.dlms.outgoing.cdma.requests.queue=protocol-dlms.1_0.osgp-core.1_0.cdma.requests
{
  "brokerHost": "0.0.0.0",
  "brokerPort": 8883,
  "startupPauseMillis": 5000,
  "messages": [
    {

      "topic" : "TST-01/measurement",
      "payload": "TST-01; 220.1; 220.2; 220.3; 5.1; 5.2; 5.3; 7.1; 7.2; 7.3;",
      "pauseMillis": 30000
    },
    {

      "topic" : "TST-01/congestion",
      "payload": "TST-01; 5.1; 5.2; 5.3; 7.1; 7.2; 7.3;",
      "pauseMillis": 30000
    }
  ]
}
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/adhocmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetRebootRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
      </ns1:SetRebootRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetRebootAsyncResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/adhocmanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925104202472</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetRebootAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/adhocmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetRebootAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925104202472</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SetRebootAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetRebootResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/adhocmanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetRebootResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>>
LogicalDevice: SWDeviceGenericIO
messageType: Reboot {
  CSLC.RbOper[ST].Oper.ctlVal: true
}
2018-09-25 10:44:06.142] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.RbOper
2018-09-25 10:44:06.160] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850RebootCommand@apply:41 - device: KAI-0000000053, rebootOperationNode: SWDeviceGenericIO/CSLC.RbOper [CO]
SWDeviceGenericIO/CSLC.RbOper.Oper [CO]
SWDeviceGenericIO/CSLC.RbOper.Oper.ctlVal: false
SWDeviceGenericIO/CSLC.RbOper.Oper.origin [CO]
SWDeviceGenericIO/CSLC.RbOper.Oper.origin.orCat: 0
SWDeviceGenericIO/CSLC.RbOper.Oper.origin.orIdent: []
SWDeviceGenericIO/CSLC.RbOper.Oper.ctlNum: 0
SWDeviceGenericIO/CSLC.RbOper.Oper.T: Thu Jan 01 00:00:00 UTC 1970
SWDeviceGenericIO/CSLC.RbOper.Oper.Test: false
SWDeviceGenericIO/CSLC.RbOper.Oper.Check: 0x0
2018-09-25 10:44:06.176] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850RebootCommand@apply:47 - device: KAI-0000000053, oper: SWDeviceGenericIO/CSLC.RbOper.Oper [CO]
SWDeviceGenericIO/CSLC.RbOper.Oper.ctlVal: false
SWDeviceGenericIO/CSLC.RbOper.Oper.origin [CO]
SWDeviceGenericIO/CSLC.RbOper.Oper.origin.orCat: 0
SWDeviceGenericIO/CSLC.RbOper.Oper.origin.orIdent: []
SWDeviceGenericIO/CSLC.RbOper.Oper.ctlNum: 0
SWDeviceGenericIO/CSLC.RbOper.Oper.T: Thu Jan 01 00:00:00 UTC 1970
SWDeviceGenericIO/CSLC.RbOper.Oper.Test: false
SWDeviceGenericIO/CSLC.RbOper.Oper.Check: 0x0
2018-09-25 10:44:06.176] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850RebootCommand@apply:50 - device: KAI-0000000053, ctlVal: SWDeviceGenericIO/CSLC.RbOper.Oper.ctlVal: false
2018-09-25 10:44:06.176] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850RebootCommand@apply:53 - device: KAI-0000000053, set ctlVal to true in order to reboot the device
2018-09-25 10:44:06.192] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-25 10:44:06.193] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK

XSWC1.Sche

CF

sche1.tOn

INT32

Timestamp in hhmm format when relay should switch on or -1 if not used.

XSWC1.Sche

CF

sche1.tOnT

INT8

Schedule entry type, 0 = fixed time, 1 = light sensor, 2 = astronomical time.

XSWC1.Sche

CF

sche1.tOff

INT32

Timestamp in hhmm format when relay should switch off or -1 if not used.

XSWC1.Sche

CF

sche1.tOffT

INT8

Schedule entry type, 0 = fixed time, 1 = light sensor, 2 = astronomical time.

XSWC1.Sche

CF

sche1.minOnPer

INT16U

Minimum burning time for this relay.

XSWC1.Sche

CF

sche1.minOffPer

INT16U

Not used.

XSWC1.Sche

CF

sche1.srBefWd

INT16U

Window for light sensor trigger, minutes before astronomical time.

XSWC1.Sche

CF

sche1.srAftWd

INT16U

Window for light sensor trigger, minutes after astronomical time.

XSWC1.Sche

CF

sche1.igBefWd

INT16U

Not used.

XSWC1.Sche

CF

sche1.igAftWd

INT16U

Not used.

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

XSWC1.Sche

CF

sche1.enable

BOOLEAN

Flag indicating the schedule entry is enabled.

XSWC1.Sche

CF

sche1.day

INT32

ATTRIBUTE

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

SWCf

adSetOft

INT16

Offset to be used with calculated astronomical sunset time.

SWCf

adRiseOft

INT16

Offset to be used with calculated astronomical sunrise time.

documentation about light schedules
screenshot of schedule

Day in yyyymmdd format or defined by DAY enum.

hashtag
IEC61850 Fields

ATTRIBUTE

FC

SUB ATTRIBUTE

DATATYPE

DESCRIPTION

XSWC1.SwType

ST

stVal

INT8

Switch type for relay 1, tariff = 0, light = 1.

XSWC2.SwType

ST

stVal

INT8

hashtag
Example

Soap requests and responses sent to and from platform:

Platform message of the data read from the device:

IEC61850 protocol adapter logging:

General Usage
readme documentation for simulators on GitHubarrow-up-right
Spring configuration and profiles define COSEM interface objects on the server
A COSEM interface object with a readable and writable value
DLMS Attribute Values REST Resource
enum DAY {
  0 Every day of the week;
  -1 Every weekday: Monday, Tuesday, Wednesday, Thursday, Friday;
  -2 Every weekend day: Saturday, Sunday;
  1 Monday;
  2 Tuesday;
  3 Wednesday;
  4 Thursday;
  5 Friday;
  6 Saturday;
  7 Sunday;
}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetScheduleRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>

         <ns1:Schedules>
            <ns1:WeekDay>ALL</ns1:WeekDay>
            <ns1:ActionTime>SUNRISE</ns1:ActionTime>
            <ns1:TriggerWindow>
               <ns1:minutesBefore>15</ns1:minutesBefore>
               <ns1:minutesAfter>15</ns1:minutesAfter>
            </ns1:TriggerWindow>
            <ns1:LightValue>
               <ns1:Index>0</ns1:Index>
               <ns1:On>false</ns1:On>
            </ns1:LightValue>
            <ns1:TriggerType>LIGHT_TRIGGER</ns1:TriggerType>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ALL</ns1:WeekDay>
            <ns1:ActionTime>SUNSET</ns1:ActionTime>
            <ns1:TriggerWindow>
               <ns1:minutesBefore>15</ns1:minutesBefore>
               <ns1:minutesAfter>15</ns1:minutesAfter>
            </ns1:TriggerWindow>
            <ns1:LightValue>
               <ns1:Index>0</ns1:Index>
               <ns1:On>true</ns1:On>
            </ns1:LightValue>
            <ns1:TriggerType>LIGHT_TRIGGER</ns1:TriggerType>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ALL</ns1:WeekDay>
            <ns1:ActionTime>ABSOLUTETIME</ns1:ActionTime>
            <ns1:Time>23:00:00</ns1:Time>
            <ns1:TriggerWindow>
               <ns1:minutesBefore>30</ns1:minutesBefore>
               <ns1:minutesAfter>30</ns1:minutesAfter>
            </ns1:TriggerWindow>
            <ns1:LightValue>
               <ns1:Index>2</ns1:Index>
               <ns1:On>false</ns1:On>
            </ns1:LightValue>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ALL</ns1:WeekDay>
            <ns1:ActionTime>ABSOLUTETIME</ns1:ActionTime>
            <ns1:Time>07:00:00</ns1:Time>
            <ns1:TriggerWindow>
               <ns1:minutesBefore>150</ns1:minutesBefore>
               <ns1:minutesAfter>45</ns1:minutesAfter>
            </ns1:TriggerWindow>
            <ns1:LightValue>
               <ns1:Index>2</ns1:Index>
               <ns1:On>true</ns1:On>
            </ns1:LightValue>
         </ns1:Schedules>

      </ns1:SetScheduleRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetScheduleAsyncResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180926110014351</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetScheduleAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetScheduleAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180926110014351</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SetScheduleAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetScheduleResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/schedulemanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetScheduleResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: SetSchedule {
  XSWC2.Sche[CF].sche1.enable: true
  XSWC2.Sche[CF].sche1.tOn: -1
  XSWC2.Sche[CF].sche1.tOnT: -1
  XSWC2.Sche[CF].sche1.tOff: 0
  XSWC2.Sche[CF].sche1.tOffT: 1
  XSWC2.Sche[CF].sche1.srBefWd: 15
  XSWC2.Sche[CF].sche1.srAftWd: 15

  XSWC2.Sche[CF].sche2.enable: true
  XSWC2.Sche[CF].sche2.tOn: 0
  XSWC2.Sche[CF].sche2.tOnT: 1
  XSWC2.Sche[CF].sche2.tOff: -1
  XSWC2.Sche[CF].sche2.tOffT: -1
  XSWC2.Sche[CF].sche2.srBefWd: 15
  XSWC2.Sche[CF].sche2.srAftWd: 15

  XSWC2.Sche[CF].sche3.enable: true
  XSWC2.Sche[CF].sche3.tOn: -1
  XSWC2.Sche[CF].sche3.tOnT: -1
  XSWC2.Sche[CF].sche3.tOff: 2300
  XSWC2.Sche[CF].sche3.tOffT: 0
  XSWC2.Sche[CF].sche3.srBefWd: 30
  XSWC2.Sche[CF].sche3.srAftWd: 30

  XSWC2.Sche[CF].sche4.enable: true
  XSWC2.Sche[CF].sche4.tOn: 700
  XSWC2.Sche[CF].sche4.tOnT: 0
  XSWC2.Sche[CF].sche4.tOff: -1
  XSWC2.Sche[CF].sche4.tOffT: -1
  XSWC2.Sche[CF].sche4.srBefWd: 150
  XSWC2.Sche[CF].sche4.srAftWd: 45

  XSWC3.Sche[CF].sche1.enable: true
  XSWC3.Sche[CF].sche1.tOn: -1
  XSWC3.Sche[CF].sche1.tOnT: -1
  XSWC3.Sche[CF].sche1.tOff: 0
  XSWC3.Sche[CF].sche1.tOffT: 1
  XSWC3.Sche[CF].sche1.srBefWd: 15
  XSWC3.Sche[CF].sche1.srAftWd: 15

  XSWC3.Sche[CF].sche2.tOn: 0
  XSWC3.Sche[CF].sche2.tOnT: 1
  XSWC3.Sche[CF].sche2.tOff: -1
  XSWC3.Sche[CF].sche2.tOffT: -1
  XSWC3.Sche[CF].sche2.srBefWd: 15
  XSWC3.Sche[CF].sche2.srAftWd: 15
  XSWC3.Sche[CF].sche2.enable: true

  XSWC3.Sche[CF].sche3.enable: false
  XSWC3.Sche[CF].sche4.enable: false
}
2018-09-26 11:12:39.470] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceRequestMessageListener@onMessage:61 - Received message of type: SET_LIGHT_SCHEDULE with message priority: 4
2018-09-26 11:12:39.471] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: SET_LIGHT_SCHEDULE for domain: PUBLIC_LIGHTING 1.0
2018-09-26 11:12:39.471] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-09-26 11:12:39.471] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-09-26 11:12:39.475] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:80 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3}
2018-09-26 11:12:39.480] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 3 and max retry count: 3
2018-09-26 11:12:39.531] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-09-26 11:12:39.531] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-server-model/SWDevice-010805.icd
2018-09-26 11:12:39.707] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018
-09-26T11:12:39.471Z, end time: 2018-09-26T11:12:39.707Z, total time in milliseconds: 236
2018-09-26 11:12:39.710] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.Sche
2018-09-26 11:12:39.730] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 1 for relay 2 is enabled: true
2018-09-26 11:12:39.730] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 1 of 64 for relay 2 before setting new LIGHT schedule
2018-09-26 11:12:39.756] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 2 for relay 2 is enabled: true
2018-09-26 11:12:39.756] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 2 of 64 for relay 2 before setting new LIGHT schedule
2018-09-26 11:12:39.782] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 3 for relay 2 is enabled: true
2018-09-26 11:12:39.782] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 3 of 64 for relay 2 before setting new LIGHT schedule
2018-09-26 11:12:39.806] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 4 for relay 2 is enabled: true
2018-09-26 11:12:39.806] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 4 of 64 for relay 2 before setting new LIGHT schedule
2018-09-26 11:12:39.832] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 5 for relay 2 is enabled: false
...
2018-09-26 11:12:39.842] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 64 for relay 2 is enabled: false
2018-09-26 11:12:39.842] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.Sche
2018-09-26 11:12:40.046] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 1 for relay 3 is enabled: true
2018-09-26 11:12:40.046] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 1 of 64 for relay 3 before setting new LIGHT schedule
2018-09-26 11:12:40.083] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 2 for relay 3 is enabled: true
2018-09-26 11:12:40.084] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 2 of 64 for relay 3 before setting new LIGHT schedule
2018-09-26 11:12:40.488] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 3 for relay 3 is enabled: false
...
2018-09-26 11:12:40.499] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 64 for relay 3 is enabled: false
2018-09-26 11:12:40.499] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.CfSt
2018-09-26 11:12:40.589] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850Commands@enableOperationOfRelay:56 - masterControl.enbOper is true, switching of relay 2 is enabled
2018-09-26 11:12:40.589] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.Sche
2018-09-26 11:12:42.881] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write light schedule entry 1 for relay 2
2018-09-26 11:12:43.256] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write light schedule entry 2 for relay 2
2018-09-26 11:12:44.734] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write light schedule entry 3 for relay 2
2018-09-26 11:12:44.886] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write light schedule entry 4 for relay 2
2018-09-26 11:12:44.974] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.CfSt
2018-09-26 11:12:44.989] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850Commands@enableOperationOfRelay:56 - masterControl.enbOper is true, switching of relay 3 is enabled
2018-09-26 11:12:44.989] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.Sche
2018-09-26 11:12:45.008] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write light schedule entry 1 for relay 3
2018-09-26 11:12:45.034] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write light schedule entry 2 for relay 3
2018-09-26 11:12:45.059] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-26 11:12:45.059] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK
2018-09-26 11:12:45.060] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:111 - Sending protocol response message for device: KAI-0000000053 of message type: SET_LIGHT_SCHEDULE with message priority: 4
2018-09-26 11:12:45.060] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@logDuration:355 - Device: KAI-0000000053, messageType: SET_LIGHT_SCHEDULE, Start time: 2018-09-26T11:12:39.471Z, end time: 2018-09-26T11:12:45.060Z, total time in milliseconds: 5589
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/tariffswitching/schedulemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetScheduleRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
         <ns1:Schedules>
            <ns1:WeekDay>WEEKDAY</ns1:WeekDay>
            <ns1:StartDay>2018-01-01</ns1:StartDay>
            <ns1:EndDay>2019-02-01</ns1:EndDay>
            <ns1:Time>23:00:00</ns1:Time>
            <ns1:TariffValue>
               <ns1:Index>1</ns1:Index>
               <ns1:High>0</ns1:High>
            </ns1:TariffValue>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>WEEKDAY</ns1:WeekDay>
            <ns1:StartDay>2018-01-01</ns1:StartDay>
            <ns1:EndDay>2019-02-01</ns1:EndDay>
            <ns1:Time>07:00:00</ns1:Time>
            <ns1:TariffValue>
               <ns1:Index>1</ns1:Index>
               <ns1:High>1</ns1:High>
            </ns1:TariffValue>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ABSOLUTEDAY</ns1:WeekDay>
            <ns1:StartDay>2018-01-01</ns1:StartDay>
            <ns1:EndDay>2018-01-01</ns1:EndDay>
            <ns1:Time>07:00:00</ns1:Time>
            <ns1:TariffValue>
               <ns1:Index>1</ns1:Index>
               <ns1:High>0</ns1:High>
            </ns1:TariffValue>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ABSOLUTEDAY</ns1:WeekDay>
            <ns1:StartDay>2018-04-02</ns1:StartDay>
            <ns1:EndDay>2018-04-02</ns1:EndDay>
            <ns1:Time>07:00:00</ns1:Time>
            <ns1:TariffValue>
               <ns1:Index>1</ns1:Index>
               <ns1:High>0</ns1:High>
            </ns1:TariffValue>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ABSOLUTEDAY</ns1:WeekDay>
            <ns1:StartDay>2018-04-27</ns1:StartDay>
            <ns1:EndDay>2018-04-27</ns1:EndDay>
            <ns1:Time>07:00:00</ns1:Time>
            <ns1:TariffValue>
               <ns1:Index>1</ns1:Index>
               <ns1:High>0</ns1:High>
            </ns1:TariffValue>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ABSOLUTEDAY</ns1:WeekDay>
            <ns1:StartDay>2018-05-10</ns1:StartDay>
            <ns1:EndDay>2018-05-10</ns1:EndDay>
            <ns1:Time>07:00:00</ns1:Time>
            <ns1:TariffValue>
               <ns1:Index>1</ns1:Index>
               <ns1:High>0</ns1:High>
            </ns1:TariffValue>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ABSOLUTEDAY</ns1:WeekDay>
            <ns1:StartDay>2018-05-21</ns1:StartDay>
            <ns1:EndDay>2018-05-21</ns1:EndDay>
            <ns1:Time>07:00:00</ns1:Time>
            <ns1:TariffValue>
               <ns1:Index>1</ns1:Index>
               <ns1:High>0</ns1:High>
            </ns1:TariffValue>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ABSOLUTEDAY</ns1:WeekDay>
            <ns1:StartDay>2018-12-25</ns1:StartDay>
            <ns1:EndDay>2018-12-25</ns1:EndDay>
            <ns1:Time>07:00:00</ns1:Time>
            <ns1:TariffValue>
               <ns1:Index>1</ns1:Index>
               <ns1:High>0</ns1:High>
            </ns1:TariffValue>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ABSOLUTEDAY</ns1:WeekDay>
            <ns1:StartDay>2018-12-26</ns1:StartDay>
            <ns1:EndDay>2018-12-26</ns1:EndDay>
            <ns1:Time>07:00:00</ns1:Time>
            <ns1:TariffValue>
               <ns1:Index>1</ns1:Index>
               <ns1:High>0</ns1:High>
            </ns1:TariffValue>
         </ns1:Schedules>

         <ns1:Schedules>
            <ns1:WeekDay>ABSOLUTEDAY</ns1:WeekDay>
            <ns1:StartDay>2019-01-01</ns1:StartDay>
            <ns1:EndDay>2019-01-01</ns1:EndDay>
            <ns1:Time>07:00:00</ns1:Time>
            <ns1:TariffValue>
               <ns1:Index>1</ns1:Index>
               <ns1:High>0</ns1:High>
            </ns1:TariffValue>
         </ns1:Schedules>

      </ns1:SetScheduleRequest>
   </soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetScheduleAsyncResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/tariffswitching/schedulemanagement/2014/10"
           xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180926150922041</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:SetScheduleAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/tariffswitching/schedulemanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:SetScheduleAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180926150922041</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:SetScheduleAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:SetScheduleResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/tariffswitching/schedulemanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
      </ns2:SetScheduleResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: SetSchedule {
  XSWC1.Sche[CF].sche1.enable: true
  XSWC1.Sche[CF].sche1.day: -1
  XSWC1.Sche[CF].sche1.tOn: 2300
  XSWC1.Sche[CF].sche1.tOnT: 0
  XSWC1.Sche[CF].sche1.tOff: -1
  XSWC1.Sche[CF].sche1.tOffT: -1
  XSWC1.Sche[CF].sche2.enable: true
  XSWC1.Sche[CF].sche2.day: -1
  XSWC1.Sche[CF].sche2.tOn: -1
  XSWC1.Sche[CF].sche2.tOnT: -1
  XSWC1.Sche[CF].sche2.tOff: 700
  XSWC1.Sche[CF].sche2.tOffT: 0
  XSWC1.Sche[CF].sche3.enable: true
  XSWC1.Sche[CF].sche3.day: 20180101
  XSWC1.Sche[CF].sche4.enable: true
  XSWC1.Sche[CF].sche4.day: 20180402
  XSWC1.Sche[CF].sche5.enable: true
  XSWC1.Sche[CF].sche5.day: 20180427
  XSWC1.Sche[CF].sche6.enable: true
  XSWC1.Sche[CF].sche6.day: 20180510
  XSWC1.Sche[CF].sche7.enable: true
  XSWC1.Sche[CF].sche7.day: 20180521
  XSWC1.Sche[CF].sche8.enable: true
  XSWC1.Sche[CF].sche8.day: 20181225
  XSWC1.Sche[CF].sche9.enable: true
  XSWC1.Sche[CF].sche9.day: 20181226
  XSWC1.Sche[CF].sche10.enable: true
  XSWC1.Sche[CF].sche10.day: 20190101
}
2018-09-26 15:09:22.380] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceRequestMessageListener@onMessage:61 - Received message of type: SET_TARIFF_SCHEDULE with message priority: 4
2018-09-26 15:09:22.381] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@printDomainInfo:53 - Calling DeviceService function: SET_TARIFF_SCHEDULE for domain: TARIFF_SWITCHING 1.0
2018-09-26 15:09:22.381] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.BaseMessageProcessor@getJmsXdeliveryCount:64 - jmsXdeliveryCount: 1
2018-09-26 15:09:22.381] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:115 - Trying to connect to deviceIdentification: KAI-0000000053 at IP address 84.30.69.148 using response time-out: 10000
2018-09-26 15:09:22.386] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.r.Iec61850ClientSSLDEventListener@buildExternalByInternalIndexMap:80 - Retrieved internal to external index map for device KAI-0000000053: {0=0, 1=1, 2=2, 3=3}
2018-09-26 15:09:22.393] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:97 - Attempting to connect to server: 84.30.69.148 on port: 102, max redelivery count: 3 and max retry count: 3
2018-09-26 15:09:22.439] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.Iec61850Client@connect:113 - Connected to device: KAI-0000000053
2018-09-26 15:09:22.439] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@readServerModelFromConfiguredIcdFile:316 - Reading ServerModel from SCL / ICD file: /etc/osp/kaifa-server-model/SWDevice-010805.icd
2018-09-26 15:09:22.496] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@connect:159 - Connected to device: KAI-0000000053, fetched server model. Start time: 2018-09-26T15:09:22.381Z, end time: 2018-09-26T15:09:22.496Z, total time in milliseconds: 115
2018-09-26 15:09:22.506] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC1.Sche
2018-09-26 15:09:22.527] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 1 for relay 1 is enabled: true
2018-09-26 15:09:22.527] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 1 of 64 for relay 1 before setting new TARIFF schedule
2018-09-26 15:09:22.552] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 2 for relay 1 is enabled: true
2018-09-26 15:09:22.552] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 2 of 64 for relay 1 before setting new TARIFF schedule
2018-09-26 15:09:22.575] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 3 for relay 1 is enabled: true
2018-09-26 15:09:22.575] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 3 of 64 for relay 1 before setting new TARIFF schedule
2018-09-26 15:09:22.600] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 4 for relay 1 is enabled: true
2018-09-26 15:09:22.600] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 4 of 64 for relay 1 before setting new TARIFF schedule
2018-09-26 15:09:22.623] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 5 for relay 1 is enabled: true
2018-09-26 15:09:22.624] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 5 of 64 for relay 1 before setting new TARIFF schedule
2018-09-26 15:09:22.649] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 6 for relay 1 is enabled: true
2018-09-26 15:09:22.649] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 6 of 64 for relay 1 before setting new TARIFF schedule
2018-09-26 15:09:22.746] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 7 for relay 1 is enabled: true
2018-09-26 15:09:22.747] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 7 of 64 for relay 1 before setting new TARIFF schedule
2018-09-26 15:09:22.896] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 8 for relay 1 is enabled: true
2018-09-26 15:09:22.896] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 8 of 64 for relay 1 before setting new TARIFF schedule
2018-09-26 15:09:22.929] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 9 for relay 1 is enabled: true
2018-09-26 15:09:22.929] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 9 of 64 for relay 1 before setting new TARIFF schedule
2018-09-26 15:09:23.137] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 10 for relay 1 is enabled: true
2018-09-26 15:09:23.137] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:451 - Disabling schedule entry 10 of 64 for relay 1 before setting new TARIFF schedule
2018-09-26 15:09:23.392] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 11 for relay 1 is enabled: false
2018-09-26 15:09:23.392] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 12 for relay 1 is enabled: false
...
2018-09-26 15:09:23.395] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 63 for relay 1 is enabled: false
2018-09-26 15:09:23.401] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@disableScheduleEntries:449 - Checking if schedule entry 64 for relay 1 is enabled: false
2018-09-26 15:09:23.402] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC1.CfSt
2018-09-26 15:09:23.514] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850Commands@enableOperationOfRelay:56 - masterControl.enbOper is true, switching of relay 1 is enabled
2018-09-26 15:09:23.515] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC1.Sche
2018-09-26 15:09:26.367] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write tariff schedule entry 1 for relay 1
2018-09-26 15:09:26.528] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write tariff schedule entry 2 for relay 1
2018-09-26 15:09:26.937] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write tariff schedule entry 3 for relay 1
2018-09-26 15:09:27.833] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write tariff schedule entry 4 for relay 1
2018-09-26 15:09:27.882] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write tariff schedule entry 5 for relay 1
2018-09-26 15:09:27.932] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write tariff schedule entry 6 for relay 1
2018-09-26 15:09:27.982] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write tariff schedule entry 7 for relay 1
2018-09-26 15:09:28.235] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write tariff schedule entry 8 for relay 1
2018-09-26 15:09:28.815] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write tariff schedule entry 9 for relay 1
2018-09-26 15:09:31.566] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850SetScheduleCommand@apply:113 - Write tariff schedule entry 10 for relay 1
2018-09-26 15:09:31.867] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceMessageLoggingService@logMessage:52 - Sending iec61850LogItemRequestMessage for device: KAI-0000000053
2018-09-26 15:09:31.868] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.s.DeviceResponseService@handleDeviceMessageStatus:42 - OK device message status received: OK
2018-09-26 15:09:31.868] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.m.DeviceResponseMessageSender@sendMessage:111 - Sending protocol response message for device: KAI-0000000053 of message type: SET_TARIFF_SCHEDULE with message priority: 4
2018-09-26 15:09:31.868] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.Iec61850DeviceConnectionService@logDuration:355 - Device: KAI-0000000053, messageType: SET_TARIFF_SCHEDULE, Start time: 2018-09-26T15:09:22.381Z, end time: 2018-09-26T15:09:31.868Z, total time in milliseconds: 9487
<soapenv:Envelope
      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
      xmlns:ns1="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:GetConfigurationRequest>
         <ns1:DeviceIdentification>KAI-0000000053</ns1:DeviceIdentification>
      </ns1:GetConfigurationRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetConfigurationAsyncResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:AsyncResponse>
            <ns3:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925073838432</ns3:CorrelationUid>
            <ns3:DeviceId>KAI-0000000053</ns3:DeviceId>
         </ns2:AsyncResponse>
      </ns2:GetConfigurationAsyncResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10"
    xmlns:ns1="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10">
   <soapenv:Header>
      <ns:ApplicationName>SoapUI</ns:ApplicationName>
      <ns:UserName>Sander</ns:UserName>
      <ns:OrganisationIdentification>LianderNetManagement</ns:OrganisationIdentification>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:GetConfigurationAsyncRequest>
         <ns1:AsyncRequest>
            <ns:CorrelationUid>LianderNetManagement|||KAI-0000000053|||20180925073838432</ns:CorrelationUid>
            <ns:DeviceId>KAI-0000000053</ns:DeviceId>
         </ns1:AsyncRequest>
      </ns1:GetConfigurationAsyncRequest>
   </soapenv:Body>
</soapenv:Envelope>

<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns2:GetConfigurationResponse
          xmlns:ns2="http://www.opensmartgridplatform.org/schemas/configurationmanagement/2014/10"
          xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
         <ns2:Result>OK</ns2:Result>
         <ns2:Configuration>
            <ns2:LightType>RELAY</ns2:LightType>
            <ns2:RelayConfiguration>
               <ns2:RelayMap>
                  <ns2:Index>1</ns2:Index>
                  <ns2:Address>1</ns2:Address>
                  <ns2:RelayType>TARIFF</ns2:RelayType>
                  <ns2:alias/>
               </ns2:RelayMap>
               <ns2:RelayMap>
                  <ns2:Index>2</ns2:Index>
                  <ns2:Address>2</ns2:Address>
                  <ns2:RelayType>LIGHT</ns2:RelayType>
                  <ns2:alias/>
               </ns2:RelayMap>
               <ns2:RelayMap>
                  <ns2:Index>3</ns2:Index>
                  <ns2:Address>3</ns2:Address>
                  <ns2:RelayType>LIGHT</ns2:RelayType>
                  <ns2:alias/>
               </ns2:RelayMap>
            </ns2:RelayConfiguration>
            <ns2:PreferredLinkType>ETHERNET</ns2:PreferredLinkType>
            <ns2:TimeSyncFrequency>1440</ns2:TimeSyncFrequency>
            <ns2:DeviceFixedIp>
               <ns2:IpAddress>192.168.0.110</ns2:IpAddress>
               <ns2:NetMask>255.255.0.0</ns2:NetMask>
               <ns2:GateWay>192.168.0.1</ns2:GateWay>
            </ns2:DeviceFixedIp>
            <ns2:DhcpEnabled>true</ns2:DhcpEnabled>
            <ns2:OsgpIpAddress>168.63.97.65</ns2:OsgpIpAddress>
            <ns2:OsgpPortNumber>50003</ns2:OsgpPortNumber>
            <ns2:NtpHost>0.nl.pool.ntp.org</ns2:NtpHost>
            <ns2:NtpEnabled>true</ns2:NtpEnabled>
            <ns2:NtpSyncInterval>1440</ns2:NtpSyncInterval>
            <ns2:AutomaticSummerTimingEnabled>true</ns2:AutomaticSummerTimingEnabled>
            <ns2:AstroGateSunRiseOffset>0</ns2:AstroGateSunRiseOffset>
            <ns2:AstroGateSunSetOffset>0</ns2:AstroGateSunSetOffset>
            <ns2:SummerTimeDetails>2019-03-30T23:00:00.000Z</ns2:SummerTimeDetails>
            <ns2:WinterTimeDetails>2018-10-27T22:00:00.000Z</ns2:WinterTimeDetails>
         </ns2:Configuration>
      </ns2:GetConfigurationResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
LogicalDevice: SWDeviceGenericIO
messageType: GetConfiguration {
  XSWC1.SwType[ST].stVal: 0
  XSWC2.SwType[ST].stVal: 1
  XSWC3.SwType[ST].stVal: 1
  CSLC.SWCf[CF].LT: RELAY
  CSLC.SWCf[CF].adSetOft: 0
  CSLC.SWCf[CF].adRiseOft: 0
  CSLC.Reg[CF].svrPort: 50003
  CSLC.Reg[CF].svrAddr: 168.63.97.65
  CSLC.Clock[CF].dstBegT: M3.5.0
  CSLC.Clock[CF].dstEndT: M10.5.0
  CSLC.Clock[CF].enbDst: true
  CSLC.Clock[CF].enbNtpC: true
  CSLC.Clock[CF].ntpSvrA: 0.nl.pool.ntp.org
  CSLC.Clock[CF].syncPer: 1440
  CSLC.IPCf[CF].enbDHCP: true
  CSLC.IPCf[CF].ipAddr: 192.168.0.110
  CSLC.IPCf[CF].netmask: 255.255.0.0
  CSLC.IPCf[CF].gateway: 192.168.0.1
}
2018-09-25 07:38:39.006] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC1.SwType
2018-09-25 07:38:39.058] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC2.SwType
2018-09-25 07:38:39.074] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/XSWC3.SwType
2018-09-25 07:38:39.091] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetConfigurationCommand@apply:90 - Reading the software configuration values
2018-09-25 07:38:39.091] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.SWCf
2018-09-25 07:38:39.108] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, LT has value RELAY
2018-09-25 07:38:39.110] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetConfigurationCommand@apply:126 - Reading the registration configuration values
2018-09-25 07:38:39.110] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.Reg
2018-09-25 07:38:39.129] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, svrAddr has value 168.63.97.65
2018-09-25 07:38:39.129] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetConfigurationCommand@apply:144 - Reading the IP configuration values
2018-09-25 07:38:39.130] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.IPCf
2018-09-25 07:38:39.146] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, ipAddr has value 192.168.0.110
2018-09-25 07:38:39.146] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, netmask has value 255.255.0.0
2018-09-25 07:38:39.146] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, gateway has value 192.168.0.1
2018-09-25 07:38:39.147] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.s.c.Iec61850GetConfigurationCommand@apply:175 - Reading the clock configuration values
2018-09-25 07:38:39.147] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.h.DeviceConnection@createObjectReference:94 - Device: KAI-0000000053, ObjectReference: SWDeviceGenericIO/CSLC.Clock
2018-09-25 07:38:39.163] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, dstBegT has value M3.5.0
2018-09-25 07:38:39.163] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, dstEndT has value M10.5.0
2018-09-25 07:38:39.163] [osgp-tst-03] [iec61850RequestsMessageListenerContainer-11] INFO o.o.a.p.i.i.n.helper.NodeContainer@getString:88 - Device: KAI-0000000053, ntpSvrA has value 0.nl.pool.ntp.org
@CosemClass(id = 3, obis = "1.0.1.8.0.255")
public class ImportValue {

    @CosemAttribute(id = 2, type = Type.DOUBLE_LONG_UNSIGNED)
    private DataObject d1 = DataObject.newUInteger32Data(10001);

    @CosemAttribute(id = 3, type = Type.STRUCTURE)
    private DataObject d2 = DataObject.newStructureData(DataObject.newInteger8Data((byte) -2),
            DataObject.newInteger8Data((byte) 30));

    public void setD1(DataObject newData) throws IllegalAttributeAccessException {
      // ....
    }
    public DataObject getD1() throws IllegalAttributeAccessException {
      return d1;
    }
}
    @CosemMethod(id = 1)
    public void hello() throws IllegalMethodAccessException {
        System.out.println("Has been called");
        return;
    }

    @CosemMethod(id = 2, consumes = Type.OCTET_STRING)
    public DataObject hello2(DataObject datO) throws IllegalMethodAccessException {
        throw new IllegalMethodAccessException(MethodResultCode.OTHER_REASON);
    }

Switch type for relay 2, tariff = 0, light = 1.

XSWC3.SwType

ST

stVal

INT8

Switch type for relay 3, tariff = 0, light = 1.

CSLC.SWCf

CF

LT

VisString64

Device light type, always set to RELAY.

CSLC.SWCf

CF

adSetOft

INT16

Offset in minutes with respect to astronomical sunset.

CSLC.SWCf

CF

adRiseOft

INT16

Offset in minutes with respect to astronomical sunrise.

CSLC.Reg

CF

svrAddr

VisString64

OSGP server address for device registration.

CSLC.Reg

CF

svrPort

INT32

OSGP server port for device registration.

CSLC.Clock

CF

dstBegT

VisString255

Daylight savings time begin time.

CSLC.Clock

CF

dstEndT

VisString255

Daylight savings time end time.

CSLC.Clock

CF

enbDst

BOOLEAN

Flag indicating whether daylight savings time is enabled.

CSLC.Clock

CF

enbNtpC

BOOLEAN

Flag inidicating whether NTP client is enabled.

CSLC.Clock

CF

ntpSvrA

VisString255

NTP server address.

CSLC.Clock

CF

syncPer

INT16U

Time sync period.

CSLC.IPCf

CF

enbDHCP

BOOLEAN

Flag indicating whether DHCP client is enabled.

CSLC.IPCf

CF

ipAddr

VisString32

Fixed IP address when DHCP is disabled.

CSLC.IPCf

CF

netmask

VisString32

Netmask when DHCP is disabled.

CSLC.IPCf

CF

gateway

VisString32

Gateway when DHCP is disabled.