Для изменения размера нажмите или перетащите

Однолинейная схема

Построение формы однолинейной схемы начинается с подготовки графической подложки, содержащей векторное изображение содержимого подстанции.

Пример статической подложки однолинейной схемы, созданный средствами графического редактора Inkscape.

XML
<svg xmlns="http://www.w3.org/2000/svg">
  <defs id="defs2">
    <linearGradient xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:collect="always" id="linearGradient359">
      <stop style="stop-color:#ffffff;stop-opacity:1;" offset="0" id="stop355"/>
      <stop style="stop-color:#ffffff;stop-opacity:0;" offset="1" id="stop357"/>
    </linearGradient>
    <linearGradient xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:xlink="http://www.w3.org/1999/xlink" inkscape:collect="always" xlink:href="#linearGradient359" id="linearGradient361" x1="345" y1="298.24997" x2="360" y2="298.24997" gradientUnits="userSpaceOnUse"/>
  </defs>
  <sodipodi:namedview xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="1.4142136" inkscape:cx="287.21607" inkscape:cy="277.62985" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="true" inkscape:window-width="1920" inkscape:window-height="1009" inkscape:window-x="-4" inkscape:window-y="-4" inkscape:window-maximized="1" showguides="false" units="px" inkscape:measure-start="315,170" inkscape:measure-end="140,170" borderlayer="false" inkscape:snap-to-guides="true" inkscape:snap-global="false">
    <inkscape:grid type="xygrid" id="grid5935"/>
  </sodipodi:namedview>
  <metadata id="metadata5">
    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <cc:Work xmlns:cc="http://creativecommons.org/ns#" rdf:about="">
        <dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format>
        <dc:type xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
        <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" transform="translate(0,-138.24997)">
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 230,318.24997 h 150 v 0" id="path5939" inkscape:connector-curvature="0"/>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956" width="20" height="20" x="300" y="278.24997"/>
    <ellipse style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path5960" cx="280" cy="388.16653" rx="9.6947174" ry="9.6947165"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 310,298.24997 v 20" id="path5964" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 280,318.24997 v 20" id="path5966" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 280,358.24997 v 20" id="path5968" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 310,278.24997 v -50 l -5.29167,5.55557 5.29167,-5.55557 5.29166,5.55557" id="path5970" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1.0019666;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 25,538.24997 h 340 v 0" id="path5939-2" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 195,518.24997 v 20" id="path5964-2" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 65,538.24997 v 20" id="path5966-3" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 65,578.24997 v 50 L 59.70836,622.6944 65,628.24997 70.29168,622.6944" id="path5970-6" inkscape:connector-curvature="0"/>
    <rect style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:4,1;stroke-dashoffset:0;stroke-opacity:1" id="rect6198" width="370" height="260" x="210" y="188.24997"/>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:4,1;stroke-dashoffset:0;stroke-opacity:1" id="rect6198-5" width="780" height="200.00002" x="10" y="468.24997"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.93333244px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="358.11948" y="435.7009" id="text6217"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan6215" x="358.11948" y="435.7009" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.93333244px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none">РУ-10 кВ</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.93333244px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="355.0437" y="491.9097" id="text6217-2"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan6237" x="355.0437" y="491.9097" style="stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none">РУ-0,4 кВ</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="295.54218" y="352.4144" id="text6217-1"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan6257" x="295.54218" y="352.4144" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none">яч. Т-1</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="65.207054" y="644.53528" id="text6217-1-9"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4096" x="65.207054" y="644.53528">яч. 2</tspan><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4098" x="65.207054" y="654.53528">линия 2321-2</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="210.78136" y="510.39471" id="text6217-1-0"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" sodipodi:role="line" id="tspan6257-3" x="210.78136" y="510.39471">яч. Т-1</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.93333244px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="236.75015" y="309.22818" id="text6217-7"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan6483" x="236.75015" y="309.22818" style="stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none">СШ-1</tspan></text>
    <ellipse style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path5960-76" cx="280" cy="398.66653" rx="9.6947174" ry="9.6947165"/>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-2" width="20" height="20" x="270" y="338.24997"/>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-5" width="20" height="20" x="185" y="498.24997"/>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-5-2" width="20" height="20" x="55" y="558.24994"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" d="m 280,408.24997 v 50 h -85 v 40" id="path4826" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 150,538.25 v 20" id="path5966-3-8" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 150,578.25 v 50 L 144.70836,622.69443 150,628.25 l 5.29168,-5.55557" id="path5970-6-4" inkscape:connector-curvature="0"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="150.24806" y="644.53528" id="text6217-1-9-5"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4100" x="150.24806" y="644.53528">яч. 3</tspan><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4102" x="150.24806" y="654.53528">линия 2321-3</tspan></text>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-5-2-9" width="20" height="20" x="140" y="558.25"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 235,538.25 v 20" id="path5966-3-0" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 235,578.25 v 50 L 229.70836,622.69443 235,628.25 l 5.29168,-5.55557" id="path5970-6-0" inkscape:connector-curvature="0"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="235.14064" y="644.41418" id="text6217-1-9-2"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4104" x="235.14064" y="644.41418">яч. 4</tspan><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4106" x="235.14064" y="654.41418">линия 2321-4</tspan></text>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-5-2-90" width="20" height="20" x="225" y="558.25"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 320,538.24997 v 20" id="path5966-3-1" inkscape:connector-curvature="0"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;" x="320.15628" y="644.41418" id="text6217-1-9-6"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan261">яч. 5</tspan><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan263">линия 2321-5</tspan></text>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-5-2-3" width="20" height="20" x="310" y="558.25"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 560,318.24997 H 410.00001 v 0" id="path5939-7" inkscape:connector-curvature="0"/>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-53" width="20" height="20" x="-490" y="278.24997" transform="scale(-1,1)"/>
    <ellipse style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path5960-0" cx="-510" cy="388.16653" rx="9.6947174" ry="9.6947165" transform="scale(-1,1)"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 480,298.24997 v 20" id="path5964-21" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 510,318.24997 v 20" id="path5966-1" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 510,358.24997 v 20" id="path5968-9" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 480,278.24997 v -50 l 5.29168,5.55557 -5.29168,-5.55557 -5.29165,5.55557" id="path5970-4" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1.0019666;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 765,538.24997 H 425 v 0" id="path5939-2-9" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 595,518.24997 v 20" id="path5964-2-7" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 725,538.24997 v 20" id="path5966-3-06" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 725,578.24997 v 50 l 5.29164,-5.55557 -5.29164,5.55557 -5.29168,-5.55557" id="path5970-6-49" inkscape:connector-curvature="0"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="464.04715" y="352.51596" id="text6217-1-8"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan5026" x="464.04715" y="352.51596">яч. Т-2</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="547.58032" y="510.49628" id="text6217-1-0-4"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" sodipodi:role="line" id="tspan6257-3-0" x="547.58032" y="510.49628">яч. Т-2</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.93333308px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="506.32761" y="309.22821" id="text6217-7-2"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan5028">СШ-2</tspan></text>
    <ellipse style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path5960-76-8" cx="-510" cy="398.66653" rx="9.6947174" ry="9.6947165" transform="scale(-1,1)"/>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-2-3" width="20" height="20" x="-520" y="338.25" transform="scale(-1,1)"/>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-5-1" width="20" height="20" x="-605" y="498.25" transform="scale(-1,1)"/>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-5-2-0" width="20" height="20" x="-735" y="558.24994" transform="scale(-1,1)"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" d="m 510,408.24997 v 50 h 85 v 40" id="path4826-5" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 640,538.25 v 20" id="path5966-3-8-7" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 640,578.25 v 50 l 5.29164,-5.55557 L 640,628.25 l -5.29169,-5.55557" id="path5970-6-4-4" inkscape:connector-curvature="0"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="640.21094" y="644.53137" id="text6217-1-9-5-4"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4122" x="640.21094" y="644.53137">яч. 9</tspan><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4124" x="640.21094" y="654.53137">линия 2321-9</tspan></text>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-5-2-9-0" width="20" height="20" x="-650" y="558.25" transform="scale(-1,1)"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 555,538.25 v 20" id="path5966-3-0-7" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 555,578.25 v 50 l 5.29165,-5.55557 L 555,628.25 l -5.29168,-5.55557" id="path5970-6-0-9" inkscape:connector-curvature="0"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="555.18555" y="644.547" id="text6217-1-9-2-6"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4118" x="555.18555" y="644.547">яч. 8</tspan><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4120" x="555.18555" y="654.547">линия 2321-8</tspan></text>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-5-2-90-2" width="20" height="20" x="-565" y="558.25" transform="scale(-1,1)"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 470,538.24997 v 20" id="path5966-3-1-9" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 470,578.24997 v 50 l 5.29163,-5.55557 -5.29163,5.55557 -5.29167,-5.55557" id="path5970-6-8-9" inkscape:connector-curvature="0"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="470.19919" y="644.41418" id="text6217-1-9-6-7"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4114" x="470.19919" y="644.41418">яч. 7</tspan><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4116" x="470.19919" y="654.41418">линия 2321-7</tspan></text>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-5-2-3-9" width="20" height="20" x="-480" y="558.25" transform="scale(-1,1)"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.93333244px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none" x="269.64951" y="174.74997" id="text387"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" x="269.64951" y="174.74997" id="tspan389">  ТП-2321 (д. Семёновское)</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;" x="309.42804" y="218.03131" id="text6217-1-9-4"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan4149">ВЛ Энергетик - 2</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.93333244px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="20.250153" y="530.22815" id="text6217-7-1"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan6483-1" x="20.250153" y="530.22815" style="stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none">СШ-1</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.93333244px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="716.32764" y="531.72821" id="text6217-7-2-3"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" y="531.72821" x="716.32764" sodipodi:role="line" id="tspan5028-0">СШ-2</tspan></text>
    <rect style="fill:#ffffff;stroke:#000000;stroke-width:0.57620811;stroke-opacity:1" id="rect4175" width="105" height="20" x="600" y="188.24997"/>
    <rect style="fill:#ffffff;stroke:#000000;stroke-width:0.57620811;stroke-opacity:1" id="rect4175-4" width="105" height="20" x="600" y="208.24997"/>
    <rect style="fill:#ffffff;stroke:#000000;stroke-width:0.57620811;stroke-opacity:1" id="rect4175-8" width="105" height="20" x="600" y="228.24997"/>
    <rect style="fill:#ffffff;stroke:#000000;stroke-width:0.51843482;stroke-opacity:1" id="rect4175-2" width="85" height="20" x="705" y="188.24997"/>
    <rect style="fill:#ffffff;stroke:#000000;stroke-width:0.51843482;stroke-opacity:1" id="rect4175-2-0" width="85" height="20" x="705" y="208.24997"/>
    <rect style="fill:#ffffff;stroke:#000000;stroke-width:0.51843482;stroke-opacity:1" id="rect4175-2-5" width="85" height="20" x="705" y="228.24997"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.66666698px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none" x="608.52606" y="201.05466" id="text5041"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan5085" x="608.52606" y="201.05466">Температура,°C</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.66666698px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none" x="611.14325" y="221.05466" id="text5041-3"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan5061" x="611.14325" y="221.05466">Входная дверь</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.66666698px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none" x="618.7995" y="241.22914" id="text5041-3-8"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan5081" x="618.7995" y="241.22914">Шкаф учета</tspan></text>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="725.21094" y="644.53137" id="text6217-1-9-5-4-8"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan283" x="725.21094" y="644.53137">яч. 10</tspan><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan285" x="725.21094" y="654.53137">линия 2321-10</tspan></text>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 319.99998,578.25 v 50 l -5.29164,-5.55557 5.29164,5.55557 5.29168,-5.55557" id="path5970-6-0-0" inkscape:connector-curvature="0"/>
    <path style="fill:url(#linearGradient361);stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1" d="m 345,298.24997 v 20" id="path5964-3" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 445,298.24997 v 20" id="path5964-3-3" inkscape:connector-curvature="0"/>
    <rect style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="rect5956-1" width="20" height="20" x="385" y="288.24997"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 344.50563,298.51745 h 40.99297 v 0" id="path5939-3" inkscape:connector-curvature="0"/>
    <path style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 404.50781,298.51745 h 40.99297 v 0" id="path5939-3-3" inkscape:connector-curvature="0"/>
    <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none" x="395.02734" y="281.54855" id="text6217-1-4"><tspan xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:role="line" id="tspan1224" x="395.02734" y="281.54855">яч. СВ</tspan></text>
  </g>
</svg>

Внешний вид графической подложки.

Substation Demo

После подготовки фоновой подложки на форму добавляются стандартные элементы - "Ячейка ПС/ТП", "Состояние аналогового тега", "Состояние дискретного тега", "Напряжение по фазам", "Активная мощность по фазам". После расстановки элементов и настройки их привязки к объектам НСИ итоговое содержимое шаблона дополнится содержимым, похожим на приведенное ниже.

XML
...
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-10-s1-1" x="300" y="140" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-10 кВ\\СШ-1\\яч. ПС Энергетик 35 кВ&quot;,&quot;id&quot;:3977337,&quot;parentId&quot;:3976103}" borderwidth="1" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-10-s1-T1" x="270" y="200" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-10 кВ\\СШ-1\\яч. Т-1&quot;,&quot;id&quot;:3976104,&quot;parentId&quot;:3976103}" borderwidth="1" unknowncolor="&quot;#FFFF00&quot;" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-10-s1-s2" x="385" y="150" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-10 кВ\\СШ-1\\яч. СВ&quot;,&quot;id&quot;:3982192,&quot;parentId&quot;:3976103}" borderwidth="1"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-10-s2-1" x="470" y="140" width="20" height="20" cubicle="null" borderwidth="1" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-10-s2-T2" x="500" y="200" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-10 кВ\\СШ-2\\яч. Т-2&quot;,&quot;id&quot;:3976107,&quot;parentId&quot;:3976106}" borderwidth="1" unknowncolor="&quot;#FFFF00&quot;" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>

  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-04-s1-T1" x="185" y="360" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. Т-1&quot;,&quot;id&quot;:3975972,&quot;parentId&quot;:3975971}" borderwidth="1" unknowncolor="&quot;#FFFF00&quot;" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-04-s1-1" x="55" y="420" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. 2&quot;,&quot;id&quot;:3975985,&quot;parentId&quot;:3975971}" borderwidth="1" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-04-s1-2" x="140" y="420" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. 3&quot;,&quot;id&quot;:3975998,&quot;parentId&quot;:3975971}" borderwidth="1" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-04-s1-3" x="225" y="420" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. 4&quot;,&quot;id&quot;:3976011,&quot;parentId&quot;:3975971}" borderwidth="1" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-04-s1-4" x="310" y="420" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. 5&quot;,&quot;id&quot;:3976024,&quot;parentId&quot;:3975971}" borderwidth="1" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>

  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-04-s2-T2" x="585" y="360" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. Т-2&quot;,&quot;id&quot;:3976038,&quot;parentId&quot;:3976037}" borderwidth="1" unknowncolor="&quot;#FFFF00&quot;" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-04-s2-1" x="460" y="420" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. 7&quot;,&quot;id&quot;:3976050,&quot;parentId&quot;:3976037}" borderwidth="1" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-04-s2-2" x="545" y="420" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. 8&quot;,&quot;id&quot;:3976063,&quot;parentId&quot;:3976037}" borderwidth="1" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-04-s2-3" x="630" y="420" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. 9&quot;,&quot;id&quot;:3976076,&quot;parentId&quot;:3976037}" borderwidth="1" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>
  <substationcubiclestate xmlns="http://www.w3.org/1999/xhtml" scada-id="cubicle-04-s2-4" x="715" y="420" width="20" height="20" cubicle="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. 10&quot;,&quot;id&quot;:3976089,&quot;parentId&quot;:3976037}" borderwidth="1" onclick="&quot;cubicleClick&quot;"></substationcubiclestate>

  <meterpointphasevoltages xmlns="http://www.w3.org/1999/xhtml" scada-id="voltage-s1" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. Т-1\\ТУ яч. Т-1&quot;,&quot;id&quot;:3975973,&quot;parentId&quot;:3975972}" x="70" y="250" backcolor="null" digitsafterdot="1" fontsize="14"></meterpointphasevoltages>
  <meterpointphasevoltages xmlns="http://www.w3.org/1999/xhtml" scada-id="voltage-s2" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. Т-2\\ТУ яч. Т-2&quot;,&quot;id&quot;:3976039,&quot;parentId&quot;:3976038}" x="650" y="250" backcolor="null" digitsafterdot="1" fontsize="14"></meterpointphasevoltages>

  <meterpointphaseactivepower xmlns="http://www.w3.org/1999/xhtml" scada-id="power-s1-T1" x="19" y="328" backcolor="null" horalign="&quot;По центру&quot;" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. Т-1\\ТУ яч. Т-1&quot;,&quot;id&quot;:3975973,&quot;parentId&quot;:3975972}" digitsafterdot="1" width="188.78125" height="69"></meterpointphaseactivepower>
  <meterpointphaseactivepower xmlns="http://www.w3.org/1999/xhtml" scada-id="power-s2-T2" x="610" y="330" backcolor="null" horalign="&quot;По левой стороне&quot;" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. Т-2\\ТУ яч. Т-2&quot;,&quot;id&quot;:3976039,&quot;parentId&quot;:3976038}" digitsafterdot="1"></meterpointphaseactivepower>

  <meterpointphaseactivepower xmlns="http://www.w3.org/1999/xhtml" scada-id="power-s1-c1" x="10" y="530" backcolor="null" horalign="&quot;По центру&quot;" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. 2\\ТУ яч. 2&quot;,&quot;id&quot;:3975986,&quot;parentId&quot;:3975985}" digitsafterdot="1"></meterpointphaseactivepower>
  <meterpointphaseactivepower xmlns="http://www.w3.org/1999/xhtml" scada-id="power-s1-c2" x="90" y="530" backcolor="null" horalign="&quot;По центру&quot;" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. 3\\ТУ яч. 3&quot;,&quot;id&quot;:3975999,&quot;parentId&quot;:3975998}" digitsafterdot="1"></meterpointphaseactivepower>
  <meterpointphaseactivepower xmlns="http://www.w3.org/1999/xhtml" scada-id="power-s1-c3" x="175" y="530" backcolor="null" horalign="&quot;По центру&quot;" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. 4\\ТУ яч. 4&quot;,&quot;id&quot;:3976012,&quot;parentId&quot;:3976011}" digitsafterdot="1"></meterpointphaseactivepower>
  <meterpointphaseactivepower xmlns="http://www.w3.org/1999/xhtml" scada-id="power-s1-c4" x="260" y="530" backcolor="null" horalign="&quot;По центру&quot;" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-1\\яч. 5\\ТУ яч. 5&quot;,&quot;id&quot;:3976025,&quot;parentId&quot;:3976024}" digitsafterdot="1"></meterpointphaseactivepower>

  <meterpointphaseactivepower xmlns="http://www.w3.org/1999/xhtml" scada-id="power-s2-c1" x="410" y="530" backcolor="null" horalign="&quot;По центру&quot;" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. 7\\ТУ яч. 7&quot;,&quot;id&quot;:3976051,&quot;parentId&quot;:3976050}" digitsafterdot="1"></meterpointphaseactivepower>
  <meterpointphaseactivepower xmlns="http://www.w3.org/1999/xhtml" scada-id="power-s2-c2" x="500" y="530" backcolor="null" horalign="&quot;По центру&quot;" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. 8\\ТУ яч. 8&quot;,&quot;id&quot;:3976064,&quot;parentId&quot;:3976063}" digitsafterdot="1"></meterpointphaseactivepower>
  <meterpointphaseactivepower xmlns="http://www.w3.org/1999/xhtml" scada-id="power-s2-c3" x="580" y="530" backcolor="null" horalign="&quot;По центру&quot;" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. 9\\ТУ яч. 9&quot;,&quot;id&quot;:3976077,&quot;parentId&quot;:3976076}" digitsafterdot="1"></meterpointphaseactivepower>
  <meterpointphaseactivepower xmlns="http://www.w3.org/1999/xhtml" scada-id="power-s2-c4" x="665" y="530" backcolor="null" horalign="&quot;По центру&quot;" meterpoint="{&quot;caption&quot;:&quot;Владимирэнерго\\Собинский РЭС\\ТП 0,4 кВ\\ТП-2321 (д. Семёновское)\\РУ-0,4 кВ\\СШ-2\\яч. 10\\ТУ яч. 10&quot;,&quot;id&quot;:3976090,&quot;parentId&quot;:3976089}" digitsafterdot="1"></meterpointphaseactivepower>

  <analogtag xmlns="http://www.w3.org/1999/xhtml" scada-id="tagTemperature" tag="{&quot;caption&quot;:&quot;Температура&quot;,&quot;id&quot;:3982196,&quot;parentId&quot;:3975969}" digitsafterdot="1" x="706" y="51" backcolor="null" width="83" height="18" horalign="&quot;По центру&quot;"></analogtag>
  <discrettag xmlns="http://www.w3.org/1999/xhtml" scada-id="tagDoor" tag="{&quot;caption&quot;:&quot;Входная дверь&quot;,&quot;id&quot;:3982197,&quot;parentId&quot;:3975969}" textshow="true" x="706" y="71" width="83" height="18" horalign="&quot;По центру&quot;"></discrettag>
  <discrettag xmlns="http://www.w3.org/1999/xhtml" scada-id="tagMeterBoard" tag="{&quot;caption&quot;:&quot;Шкаф учета&quot;,&quot;id&quot;:3982198,&quot;parentId&quot;:3975969}" textshow="true" x="706" y="91" width="83" height="18" horalign="&quot;По центру&quot;"></discrettag>
...

Следующий шаг заключается в придании мнемосхеме интерактивности - открытия паспорта ячейки при клике по ее изображению. Задача состоит из нескольких этапов:

Пример сценария реакции на клик по ячейке однолинейной схемы.

JavaScript
// Открытие формы паспорта ячейки и передача в нее единственного аргумента - объекта с описанием ячейки, 
// по которой был произведен клик
this._environment.forwardTo(sender.cubicle.caption, 'cubiclePassportForm', { cubicle: sender.cubicle });

Пример итогового внешнего вида однолинейной схемы.

Substation Demo 2
См. также