<%--
  Created by IntelliJ IDEA.
  User: 徐扬
  Date: 2021/12/9
  Time: 10:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!--电缆参数设置-->
<div id="cable" class="layui-fluid height100" style="display: none;overflow:hidden">
    <form class="layui-form height100 overhidden" id="cable-form" action="">
        <input type="text" id="cable-nodeId" style="display:none;" class="layui-input">
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:120px;text-align: left">电缆长度:</label>
            <div class="layui-input-inline">
                <input id="cable-length" type="text" class="layui-input" autocomplete="off" value="1">
            </div>
            <label class="layui-form-label" style="text-align:left">km</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:120px;text-align: left">电缆电压等级:</label>
            <div class="layui-input-inline">
                <input id="cell-level" type="text" class="layui-input" autocomplete="off" value="110">
            </div>
            <label class="layui-form-label" style="text-align:left">kV</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:120px;text-align: left">电缆单位正序电阻:</label>
            <div class="layui-input-inline">
                <input id="cable-positive-resistance" type="text" class="layui-input" autocomplete="off" value="0.132" oninput="cableAuto(event)">
            </div>
            <label class="layui-form-label" style="text-align:left">Ω/km</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:120px;text-align: left">电缆单位正序电抗:</label>
            <div class="layui-input-inline">
                <input id="cable-positive-reactance" type="text" class="layui-input" autocomplete="off" value="0.388" oninput="cableAuto(event)">
            </div>
            <label class="layui-form-label" style="text-align:left">Ω/km</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:120px;text-align: left">电缆单位零序电阻:</label>
            <div class="layui-input-inline">
                <input id="cable-zero-resistance" type="text" class="layui-input" autocomplete="off" value="0.33" readonly>
            </div>
            <label class="layui-form-label" style="text-align:left">Ω/km</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:120px;text-align: left">电缆单位零序电抗:</label>
            <div class="layui-input-inline">
                <input id="cable-zero-reactance" type="text" class="layui-input" autocomplete="off" value="0.97" readonly>
            </div>
            <label class="layui-form-label" style="text-align:left">Ω/km</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:120px;text-align: left">电缆零序转换系数:</label>
            <div class="layui-input-inline">
                <input id="cable-coefficient" type="text" class="layui-input" autocomplete="off" value="2.5" oninput="cableAuto(event)">
            </div>
        </div>
    </form>
</div>


<!--暂降敏感点参数设置-->
<div id="sensitivePoint" class="layui-fluid height100" style="display: none;overflow:hidden">
    <form class="layui-form height100 overhidden" id="sensitivePoint-form" action="">
        <input type="text" id="sensitivePoint-nodeId" style="display:none;" class="layui-input">
        <div class="layui-form-item mt15">
            <label id="label-sensitivePoint-name" class="layui-form-label" style="width:180px;text-align: left">暂降敏感点名称:</label>
            <div class="layui-input-inline">
                <input id="sensitivePoint-name" type="text" class="layui-input" autocomplete="off" value="1">
            </div>
        </div>
        <div class="layui-form-item mt15">
            <label id="label-sensitivePoint-level" class="layui-form-label" style="width:180px;text-align: left">暂降敏感点电压等级:</label>
            <div class="layui-input-inline">
                <input id="sensitivePoint-level" type="text" class="layui-input" autocomplete="off" value="110">
            </div>
            <label class="layui-form-label" style="text-align:left">kV</label>
        </div>
        <div class="layui-form-item mt15">
            <label id="label-run-level" class="layui-form-label" style="width:180px;text-align: left">暂降敏感点运行电压:</label>
            <div class="layui-input-inline">
                <input id="run-level" type="text" class="layui-input" autocomplete="off" value="110">
            </div>
            <label class="layui-form-label" style="text-align:left">kV</label>
        </div>
        <div class="layui-form-item mt15">
            <label id="label-sensitivePoint-pic" class="layui-form-label" style="width:180px;text-align: left">暂降敏感点关联一次接线图:</label>
            <div class="layui-input-inline">
                <input id="sensitivePoint-pic" type="text" class="layui-input" autocomplete="off" value="/">
            </div>
        </div>
    </form>
</div>


<!--变电站参数设置-->
<div id="substation" class="layui-fluid height100" style="display: none;overflow:hidden">
    <form class="layui-form height100 overhidden" id="substation-form" action="">
        <input type="text" id="substation-nodeId" style="display:none;" class="layui-input">
        <div class="layui-form-item mt15">
            <label id="label-substation-name" class="layui-form-label" style="width:180px;text-align: left">变电站名称:</label>
            <div class="layui-input-inline">
                <input id="substation-name" type="text" class="layui-input" autocomplete="off" value="1">
            </div>
        </div>
        <div class="layui-form-item mt15">
            <label id="label-substation-level" class="layui-form-label" style="width:180px;text-align: left">变电站电压等级:</label>
            <div class="layui-input-inline">
                <input id="substation-level" type="text" class="layui-input" autocomplete="off" value="110">
            </div>
            <label class="layui-form-label" style="text-align:left">kV</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:180px;text-align: left">变电站运行电压:</label>
            <div class="layui-input-inline">
                <input id="substation-run-level" type="text" class="layui-input" autocomplete="off" value="110">
            </div>
            <label class="layui-form-label" style="text-align:left">kV</label>
        </div>
    </form>
</div>


<!--发电厂参数设置-->
<div id="powerPlant" class="layui-fluid height100" style="display: none;overflow:hidden">
    <form class="layui-form height100 overhidden" id="powerPlant-form" action="">
        <input type="text" id="powerPlant-nodeId" style="display:none;" class="layui-input">
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">发电厂名称:</label>
            <div class="layui-input-inline">
                <input id="powerPlant-name" type="text" class="layui-input" autocomplete="off">
            </div>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">发电厂正序电阻:</label>
            <div class="layui-input-inline">
                <input id="powerPlant-positive-resistance" type="text" class="layui-input" autocomplete="off" value="0.132" oninput="powerPlantAuto (event)">
            </div>
            <label class="layui-form-label" style="text-align:left">Ω</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">发电厂正序电抗:</label>
            <div class="layui-input-inline">
                <input id="powerPlant-positive-reactance" type="text" class="layui-input" autocomplete="off" value="0.388" oninput="powerPlantAuto (event)">
            </div>
            <label class="layui-form-label" style="text-align:left">Ω</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">发电厂零序电阻:</label>
            <div class="layui-input-inline">
                <input id="powerPlant-zero-resistance" type="text" class="layui-input" autocomplete="off" value="0.33" readonly>
            </div>
            <label class="layui-form-label" style="text-align:left">Ω</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">发电厂零序电抗:</label>
            <div class="layui-input-inline">
                <input id="powerPlant-zero-reactance" type="text" class="layui-input" autocomplete="off" value="0.97" readonly>
            </div>
            <label class="layui-form-label" style="text-align:left">Ω</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">发电厂零序转换系数:</label>
            <div class="layui-input-inline">
                <input id="powerPlant-coefficient" type="text" class="layui-input" autocomplete="off" value="2.5" oninput="powerPlantAuto (event)">
            </div>
        </div>
    </form>
</div>


<!--变压器参数设置-->
<div id="transformer" class="layui-fluid height100" style="display: none;overflow:hidden">
    <form class="layui-form height100 overhidden" id="transformer-form" action="">
        <input type="text" id="transformer-nodeId" style="display:none;" class="layui-input">
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">变压器名称:</label>
            <div class="layui-input-inline">
                <input id="transformer-name" type="text" class="layui-input" autocomplete="off">
            </div>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">变压器电压等级:</label>
            <div class="layui-input-inline">
                <input id="transformer-level" type="text" class="layui-input" autocomplete="off" value="110">
            </div>
            <label class="layui-form-label" style="text-align:left">kV</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">变压器正序电阻:</label>
            <div class="layui-input-inline">
                <input id="transformer-positive-resistance" type="text" class="layui-input" autocomplete="off" value="0.132" oninput="transformerAuto (event)">
            </div>
            <label class="layui-form-label" style="text-align:left">Ω</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">变压器正序电抗:</label>
            <div class="layui-input-inline">
                <input id="transformer-positive-reactance" type="text" class="layui-input" autocomplete="off" value="0.388" oninput="transformerAuto (event)">
            </div>
            <label class="layui-form-label" style="text-align:left">Ω</label>
        </div>

        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">变压器正序导纳:</label>
            <div class="layui-input-inline">
                <input id="transformer-positive-admittance" type="text" class="layui-input" autocomplete="off" value="0" oninput="transformerAuto (event)">
            </div>
            <label class="layui-form-label" style="text-align:left">S</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">变压器零序电阻:</label>
            <div class="layui-input-inline">
                <input id="transformer-zero-resistance" type="text" class="layui-input" autocomplete="off" value="0.33" readonly>
            </div>
            <label class="layui-form-label" style="text-align:left">Ω</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">变压器零序电抗:</label>
            <div class="layui-input-inline">
                <input id="transformer-zero-reactance" type="text" class="layui-input" autocomplete="off" value="0.97" readonly>
            </div>
            <label class="layui-form-label" style="text-align:left">Ω</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">变压器零序导纳:</label>
            <div class="layui-input-inline">
                <input id="transformer-zero-admittance" type="text" class="layui-input" autocomplete="off" value="0">
            </div>
            <label class="layui-form-label" style="text-align:left">S</label>
        </div>
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">变压器零序转换系数:</label>
            <div class="layui-input-inline">
                <input id="transformer-coefficient" type="text" class="layui-input" autocomplete="off" value="2.5" oninput="transformerAuto (event)">
            </div>
        </div>
    </form>
</div>


<!--计算参数设置-->
<div id="calculate" class="layui-fluid height100" style="display: none;overflow:hidden">
    <form class="layui-form-select height100 overhidden" id="calculate-form" action="">
        <div class="layui-form-item mt15">
            <label class="layui-form-label" style="width:130px;text-align: left">暂降幅值:</label>
            <div class="layui-input-inline" style="width: 120px">
                <input id="dip" type="text" class="layui-input" autocomplete="off" style="width: 120px">
            </div>
            <label class="layui-form-label" style="text-align:left">%</label>
        </div>

        <div class="layui-form-select mt15">
            <label id="high-substation-level" class="layui-form-label" style="width:130px;text-align: left" >暂降域故障类型:</label>
            <div class="layui-form-select layui-input-inline" style="margin-top: 2px">
                <select id="model" style="height: 38px;width: 120px;border: 1px solid #D2D2D2">
<%--                    <option value="0">默认</option>--%>
                    <option value="1">单相接地</option>
                    <option value="2">两相短路</option>
                    <option value="3">两相接地</option>
                    <option value="4">三相接地</option>
                </select>
            </div>
        </div>

    </form>
</div>
