XML_Cap_SwitchPlanCfg

XML message about capability of parameters of terminal startup and shutdown schedule

<SwitchPlanCfg version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <SwitchPlan>
<planType opt="daily,weekly"><!--required, xs:string, startup and shutdown schedule type: daily schedule, weekly schedule--></planType>
  <DailyPlan><!--dependent, shutdown schedule period-->
    <SwitchSpanList size=""><!--required-->
      <SwitchSpan><!--required-->
        <id><!--required, xs:integer, day of a month, "1,2,3..."--></id>	    
        <switchType opt="on,off"><!--required, xs:string, startup or shutdown: "on"-startup, "off"-shutdown--></switchType>
        <time><!--required, startup or shutdown time (ISO 8601 format)--></time>
      </SwitchSpan>
    </SwitchSpanList>    
  </DailyPlan>
  <WeeklyPlan><!--dependent, weekly schedule-->
    <DayList size=""><!--required-->
      <Day><!--required-->
        <id><!--required, xs:integer, day of a month, "1,2,3..."--></id>
        <dayOfWeek opt="monday,tuesday,...,sunday"><!--required, xs:string, day of a week: Monday,Saturday...Sunday--></dayOfWeek>
        <SwitchSpanList size=""><!--required-->
          <SwitchSpan><!--required-->
            <id><!--required, xs:integer, day of a month, "1,2,3..."--></id>	    
            <switchType opt="on,off"><!--required, xs:string, startup or shutdown: "on"-startup, "off"-shutdown--></switchType>
            <time><!--required, startup or shutdown time (ISO 8601 format)--></time>
          </SwitchSpan>
        </SwitchSpanList>
      </Day>
    </DayList>
  </WeeklyPlan>
  <HolidayPlan><!--optional, holiday schedule-->
    <SwitchSpanList size=""><!--required, holiday schedule list-->
      <SwitchSpan><!--required-->
        <id><!--required, xs:integer, No. of startup or shutdown period, "1,2,3..."--></id>	    
        <switchType opt="on,off"><!--required, xs:string, startup or shutdown: "on"-startup, "off"-shutdown--></switchType>
        <time><!--required, xs:time, startup or shutdown time (ISO 8601 format)--></time>
      </SwitchSpan>
    </SwitchSpanList>
  </HolidayPlan>
</SwitchPlan>
  <OperateParam><!--required-->
    <operateType opt="byTerminal,byOrg"><!--required, xs:string, operation mode: by terminal, by organization--></operateType>
    <TerminalNoList size=""><!--dependent, terminal No. list-->
      <terminalNo><!--required, xs:integer, terminal ID--></terminalNo>
    </TerminalNoList>
    <OrgNoList size=""><!--dependent, organization No. list-->
      <orgNo><!--required, xs:integer, organization No.--></orgNo>
    </OrgNoList>
  </OperateParam>
</SwitchPlanCfg>