svghmi/svghmi.py
branchsvghmi
changeset 3277 8e81e4ce9bc6
parent 3274 16066300b254
child 3286 5a135e635bfa
equal deleted inserted replaced
3276:c696ecf5173a 3277:8e81e4ce9bc6
   288       <xsd:element name="SVGHMI">
   288       <xsd:element name="SVGHMI">
   289         <xsd:complexType>
   289         <xsd:complexType>
   290           <xsd:attribute name="OnStart" type="xsd:string" use="optional" default="chromium {url}"/>
   290           <xsd:attribute name="OnStart" type="xsd:string" use="optional" default="chromium {url}"/>
   291           <xsd:attribute name="OnStop" type="xsd:string" use="optional" default="echo 'please close chromium window at {url}'"/>
   291           <xsd:attribute name="OnStop" type="xsd:string" use="optional" default="echo 'please close chromium window at {url}'"/>
   292           <xsd:attribute name="EnableWatchdog" type="xsd:boolean" use="optional" default="false"/>
   292           <xsd:attribute name="EnableWatchdog" type="xsd:boolean" use="optional" default="false"/>
   293           <xsd:attribute name="OnWatchdog" type="xsd:string" use="optional" default="chromium {url}"/>
   293           <xsd:attribute name="WatchdogInitial" use="optional" default="30">
   294           <xsd:attribute name="WatchdogInitial" type="xsd:integer" use="optional" default="30"/>
   294             <xsd:simpleType>
   295           <xsd:attribute name="WatchdogInterval" type="xsd:integer" use="optional" default="5"/>
   295                 <xsd:restriction base="xsd:integer">
       
   296                     <xsd:minInclusive value="2"/>
       
   297                     <xsd:maxInclusive value="600"/>
       
   298                 </xsd:restriction>
       
   299             </xsd:simpleType>
       
   300           </xsd:attribute>
       
   301           <xsd:attribute name="WatchdogInterval" use="optional" default="5">
       
   302             <xsd:simpleType>
       
   303                 <xsd:restriction base="xsd:integer">
       
   304                     <xsd:minInclusive value="2"/>
       
   305                     <xsd:maxInclusive value="60"/>
       
   306                 </xsd:restriction>
       
   307             </xsd:simpleType>
       
   308           </xsd:attribute>
   296           <xsd:attribute name="Port" type="xsd:integer" use="optional" default="8008"/>
   309           <xsd:attribute name="Port" type="xsd:integer" use="optional" default="8008"/>
   297           <xsd:attribute name="Interface" type="xsd:string" use="optional" default="localhost"/>
   310           <xsd:attribute name="Interface" type="xsd:string" use="optional" default="localhost"/>
   298           <xsd:attribute name="Path" type="xsd:string" use="optional" default="{name}"/>
   311           <xsd:attribute name="Path" type="xsd:string" use="optional" default="{name}"/>
   299           <xsd:attribute name="MaxConnections" type="xsd:integer" use="optional" default="16"/>
   312           <xsd:attribute name="MaxConnections" use="optional" default="16">
       
   313             <xsd:simpleType>
       
   314                 <xsd:restriction base="xsd:integer">
       
   315                     <xsd:minInclusive value="1"/>
       
   316                     <xsd:maxInclusive value="1024"/>
       
   317                 </xsd:restriction>
       
   318             </xsd:simpleType>
       
   319           </xsd:attribute>
   300         </xsd:complexType>
   320         </xsd:complexType>
   301       </xsd:element>
   321       </xsd:element>
   302     </xsd:schema>
   322     </xsd:schema>
   303     """
   323     """
   304 
   324