<form class='set_channel'>
    <br />
    <div class="pad15">
        <button class='btn btn-theme btn-block set_channel_btn' value='Save'>APPLY CHANGES</button>
    </div>
    <br />
    <div class="text-center"><h1>CONTROL</h1></div>
    <div class="row row-flex">
        <div class='col-xs-6 text-center box-me'>
            <a href="#"
                data-refreshpause="1"
                data-staticsend="1"
                data-channelId="<%= channels["ipp.startcommand"].channelId %>"
                data-techname="<%=channels["ipp.startcommand"].techName %>"
                data-name="<%= channels["ipp.startcommand"].name%>"
                data-nodechannelcurrentId="<%= channels["ipp.startcommand"].nodechannelcurrentId %>"
                id="<%= channels["ipp.startcommand"].channelId %>"
                class="btn btn-large btn-block btn-theme animated setstatic mqtt">
                <i class="icon-repeat icon-white mqtt" ></i>Start Command</a>
        </div>
        <div class='col-xs-6 text-center box-me'>
            <a href="#"
                data-refreshpause="1"
                data-staticsend="1"
                data-channelId="<%= channels["ipp.stopcommand"].channelId %>"
                data-techname="<%=channels["ipp.stopcommand"].techName %>"
                data-name="<%= channels["ipp.stopcommand"].name%>"
                data-nodechannelcurrentId="<%= channels["ipp.stopcommand"].nodechannelcurrentId %>"
                id="<%= channels["ipp.stopcommand"].channelId %>"
                class="btn btn-large btn-block btn-theme animated setstatic mqtt">
                <i class="icon-repeat icon-white mqtt" ></i>Stop Command</a>
        </div>
    </div>
    <div class="text-center"><h1>EQUIPMENT CONFIGURATION</h1></div>
    <div class="row row-flex">
        <div class="col-md-12 box-me">
            <table class="table">
                <tbody>
                    <tr>
                        <td><h2>Motor FLA (A)</h2></td>
                        <td>
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgcflasetting"].channelId %>'
                            data-techName='<%=channels["ipp.cfgcflasetting"].techName %>'
                            data-name='<%= channels["ipp.cfgcflasetting"].name %>'
                            data-val="<%=channels["ipp.cfgcflasetting"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgcflasetting"].channelId %>"
                            value="<%=channels["ipp.cfgcflasetting"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td><h2>Sensor Height (ft.)</h2></td>
                        <td>
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgdhsensordisttointake"].channelId %>'
                            data-techName='<%=channels["ipp.cfgdhsensordisttointake"].techName %>'
                            data-name='<%= channels["ipp.cfgdhsensordisttointake"].name %>'
                            data-val="<%=channels["ipp.cfgdhsensordisttointake"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgdhsensordisttointake"].channelId %>"
                            value="<%=channels["ipp.cfgdhsensordisttointake"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td><h2>Fluid Specific Gravity</h2></td>
                        <td>
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgspecificgravity"].channelId %>'
                            data-techName='<%=channels["ipp.cfgspecificgravity"].techName %>'
                            data-name='<%= channels["ipp.cfgspecificgravity"].name %>'
                            data-val="<%=channels["ipp.cfgspecificgravity"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgspecificgravity"].channelId %>"
                            value="<%=channels["ipp.cfgspecificgravity"].value %>">
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="text-center"><h1>DOWNHOLE CONFIGURATION</h1></div>
    <div class="row row-flex">
        <div class='col-xs-12 text-center box-me'>
            <h2>Downhole Sensor Enabled</h2>
            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="downholetoolenabled" data-channelId='<%= channels["ipp.downholetoolenabled"].channelId %>' data-techName='<%=channels["ipp.downholetoolenabled"].techName %>' data-name='ipp.downholetoolenabled' id="<%= channels["ipp.downholetoolenabled"].channelId %>" name="<%= channels["ipp.downholetoolenabled"].channelId %>">
        </div>
        <div class='col-xs-6 text-center box-me'>
            <h2>Pressure Trip</h2>
            <div class="gauge-box">
                <table class="table">
                    <tbody>
                        <tr>
                            <td>Pressure Shutdown Enabled</td>
                            <td>
                                <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="pressureshutdownenabled" data-channelId='<%= channels["ipp.pressureshutdownenabled"].channelId %>' data-techName='<%=channels["ipp.pressureshutdownenabled"].techName %>' data-name='ipp.pressureshutdownenabled' id="<%= channels["ipp.pressureshutdownenabled"].channelId %>" name="<%= channels["ipp.pressureshutdownenabled"].channelId %>">
                            </td>
                        </tr>

                        <tr>
                            <td>Pressure Shutdown Limit (PSI)</td>
                            <td>
                                <input class="form-control" data-channelId='<%= channels["ipp.pressureshutdown"].channelId %>'
                                data-techName='<%=channels["ipp.pressureshutdown"].techName %>'
                                data-name='<%= channels["ipp.pressureshutdown"].name %>'
                                data-val="<%=channels["ipp.pressureshutdown"].value %>"
                                type="number" step="any"
                                id="<%= channels["ipp.pressureshutdown"].channelId %>"
                                value="<%=channels["ipp.pressureshutdown"].value %>">
                            </td>
                        </tr>

                        <tr>
                            <td>Pressure Restart Enabled</td>
                            <td>
                                <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="pressurestartupenabled" data-channelId='<%= channels["ipp.pressurestartupenabled"].channelId %>' data-techName='<%=channels["ipp.pressurestartupenabled"].techName %>' data-name='ipp.pressurestartupenabled' id="<%= channels["ipp.pressurestartupenabled"].channelId %>" name="<%= channels["ipp.pressurestartupenabled"].channelId %>">
                            </td>
                        </tr>

                        <tr>
                            <td>Pressure Startup Limit (PSI)</td>
                            <td>
                                <input class="form-control" data-channelId='<%= channels["ipp.pressurestartup"].channelId %>'
                                data-techName='<%=channels["ipp.pressurestartup"].techName %>'
                                data-name='<%= channels["ipp.pressurestartup"].name %>'
                                data-val="<%=channels["ipp.pressurestartup"].value %>"
                                type="number" step="any"
                                id="<%= channels["ipp.pressurestartup"].channelId %>"
                                value="<%=channels["ipp.pressurestartup"].value %>">
                            </td>
                        </tr>

                    </tbody>
                </table>
            </div>
        </div>

        <div class='col-xs-6 text-center box-me'>
            <h2>Temperature Trip</h2>
            <div class="gauge-box">
                <table class="table">
                    <tbody>
                        <tr>
                            <td>Temp. Shutdown Enabled</td>
                            <td>
                                <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tempshutdownenabled" data-channelId='<%= channels["ipp.tempshutdownenabled"].channelId %>' data-techName='<%=channels["ipp.tempshutdownenabled"].techName %>' data-name='ipp.tempshutdownenabled' id="<%= channels["ipp.tempshutdownenabled"].channelId %>" name="<%= channels["ipp.tempshutdownenabled"].channelId %>">
                            </td>
                        </tr>

                        <tr>
                            <td>Temp. Shutdown Limit (&deg;F)</td>
                            <td>
                                <input class="form-control" data-channelId='<%= channels["ipp.tempshutdown"].channelId %>'
                                data-techName='<%=channels["ipp.tempshutdown"].techName %>'
                                data-name='<%= channels["ipp.tempshutdown"].name %>'
                                data-val="<%=channels["ipp.tempshutdown"].value %>"
                                type="number" step="any"
                                id="<%= channels["ipp.tempshutdown"].channelId %>"
                                value="<%=channels["ipp.tempshutdown"].value %>">
                            </td>
                        </tr>

                        <tr>
                            <td>Temp. Restart Enabled</td>
                            <td>
                                <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tempstartupenabled" data-channelId='<%= channels["ipp.tempstartupenabled"].channelId %>' data-techName='<%=channels["ipp.tempstartupenabled"].techName %>' data-name='ipp.tempstartupenabled' id="<%= channels["ipp.tempstartupenabled"].channelId %>" name="<%= channels["ipp.tempstartupenabled"].channelId %>">
                            </td>
                        </tr>

                        <tr>
                            <td>Temp. Startup Limit (&deg;F)</td>
                            <td>
                                <input class="form-control" data-channelId='<%= channels["ipp.tempstartup"].channelId %>'
                                data-techName='<%=channels["ipp.tempstartup"].techName %>'
                                data-name='<%= channels["ipp.tempstartup"].name %>'
                                data-val="<%=channels["ipp.tempstartup"].value %>"
                                type="number" step="any"
                                id="<%= channels["ipp.tempstartup"].channelId %>"
                                value="<%=channels["ipp.tempstartup"].value %>">
                            </td>
                        </tr>

                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="text-center"><h1>PRESSURE TRANSDUCER CONFIGURATION</h1></div>
    <div class="row row-flex">
        <div class='col-xs-12 text-center box-me'>
            <h2>Tubing Pressure Transducer Enabled</h2>
            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="pressuretransducerenabled" data-channelId='<%= channels["ipp.pressuretransducerenabled"].channelId %>' data-techName='<%=channels["ipp.pressuretransducerenabled"].techName %>' data-name='ipp.pressuretransducerenabled' id="<%= channels["ipp.pressuretransducerenabled"].channelId %>" name="<%= channels["ipp.pressuretransducerenabled"].channelId %>">
        </div>
        <div class='col-xs-6 text-center box-me'>
            <h2>Scaling Values</h2>
            <div class="gauge-box">
                <table class="table">
                    <tbody>
                        <tr>
                            <td>Min Value (PSI)</td>
                            <td>
                                <input class="form-control" data-channelId='<%= channels["ipp.pressureeumin"].channelId %>'
                                data-techName='<%=channels["ipp.pressureeumin"].techName %>'
                                data-name='<%= channels["ipp.pressureeumin"].name %>'
                                data-val="<%=channels["ipp.pressureeumin"].value %>"
                                type="number" step="any"
                                id="<%= channels["ipp.pressureeumin"].channelId %>"
                                value="<%=channels["ipp.pressureeumin"].value %>">
                            </td>
                        </tr>

                        <tr>
                            <td>Max Value (PSI)</td>
                            <td>
                                <input class="form-control" data-channelId='<%= channels["ipp.pressureeumax"].channelId %>'
                                data-techName='<%=channels["ipp.pressureeumax"].techName %>'
                                data-name='<%= channels["ipp.pressureeumax"].name %>'
                                data-val="<%=channels["ipp.pressureeumax"].value %>"
                                type="number" step="any"
                                id="<%= channels["ipp.pressureeumax"].channelId %>"
                                value="<%=channels["ipp.pressureeumax"].value %>">
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <div class='col-xs-6 text-center box-me'>
            <h2>Trip Settings</h2>
            <div class="gauge-box">
                <table class="table">
                    <tbody>
                        <tr>
                            <td>Low Limit (PSI)</td>
                            <td>
                                <input class="form-control" data-channelId='<%= channels["ipp.pressurelosp"].channelId %>'
                                data-techName='<%=channels["ipp.pressurelosp"].techName %>'
                                data-name='<%= channels["ipp.pressurelosp"].name %>'
                                data-val="<%=channels["ipp.pressurelosp"].value %>"
                                type="number" step="any"
                                id="<%= channels["ipp.pressurelosp"].channelId %>"
                                value="<%=channels["ipp.pressurelosp"].value %>">
                            </td>
                        </tr>

                        <tr>
                            <td>High Limit (PSI)</td>
                            <td>
                                <input class="form-control" data-channelId='<%= channels["ipp.pressurehisp"].channelId %>'
                                data-techName='<%=channels["ipp.pressurehisp"].techName %>'
                                data-name='<%= channels["ipp.pressurehisp"].name %>'
                                data-val="<%=channels["ipp.pressurehisp"].value %>"
                                type="number" step="any"
                                id="<%= channels["ipp.pressurehisp"].channelId %>"
                                value="<%=channels["ipp.pressurehisp"].value %>">
                            </td>
                        </tr>

                        <tr>
                            <td>Startup Delay (sec)</td>
                            <td>
                                <input class="form-control" data-channelId='<%= channels["ipp.pressurealarmstartupdelay"].channelId %>'
                                data-techName='<%=channels["ipp.pressurealarmstartupdelay"].techName %>'
                                data-name='<%= channels["ipp.pressurealarmstartupdelay"].name %>'
                                data-val="<%=channels["ipp.pressurealarmstartupdelay"].value %>"
                                type="number" step="any"
                                id="<%= channels["ipp.pressurealarmstartupdelay"].channelId %>"
                                value="<%=channels["ipp.pressurealarmstartupdelay"].value %>">
                            </td>
                        </tr>

                        <tr>
                            <td>Trip Delay (sec)</td>
                            <td>
                                <input class="form-control" data-channelId='<%= channels["ipp.pressurealarmdelay"].channelId %>'
                                data-techName='<%=channels["ipp.pressurealarmdelay"].techName %>'
                                data-name='<%= channels["ipp.pressurealarmdelay"].name %>'
                                data-val="<%=channels["ipp.pressurealarmdelay"].value %>"
                                type="number" step="any"
                                id="<%= channels["ipp.pressurealarmdelay"].channelId %>"
                                value="<%=channels["ipp.pressurealarmdelay"].value %>">
                            </td>
                        </tr>

                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="text-center"><h1>OVERLOAD CONFIGURATION</h1></div>
    <div class="row row-flex">
        <div class='col-xs-12 box-me'>
            <div class="text-center"><h2>Voltage Protection</h2></div>
            <table class="table">
                <thead>
                    <tr>
                        <th>Parameter</th>
                        <th>Trip Enabled</th>
                        <th>Warning Enabled</th>
                        <th>Startup Delay</th>
                        <th>Trip Delay</th>
                        <th>Warning Limit</th>
                        <th>Trip Limit</th>
                    <tr>
                </thead>

                <tbody>
                    <tr>
                        <td>Undervoltage</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenablevundervoltage" data-channelId='<%= channels["ipp.tripenablevundervoltage"].channelId %>' data-techName='<%=channels["ipp.tripenablevundervoltage"].techName %>' data-name='ipp.tripenablevundervoltage' id="<%= channels["ipp.tripenablevundervoltage"].channelId %>" name="<%= channels["ipp.tripenablevundervoltage"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenablevundervoltage" data-channelId='<%= channels["ipp.warningenablevundervoltage"].channelId %>' data-techName='<%=channels["ipp.warningenablevundervoltage"].techName %>' data-name='ipp.warningenablevundervoltage' id="<%= channels["ipp.warningenablevundervoltage"].channelId %>" name="<%= channels["ipp.warningenablevundervoltage"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvundervoltageinhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvundervoltageinhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfgvundervoltageinhibittime"].name %>'
                            data-val="<%=channels["ipp.cfgvundervoltageinhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvundervoltageinhibittime"].channelId %>"
                            value="<%=channels["ipp.cfgvundervoltageinhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvundervoltagetripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvundervoltagetripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgvundervoltagetripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgvundervoltagetripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvundervoltagetripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgvundervoltagetripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvundervoltagewarninglevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvundervoltagewarninglevel"].techName %>'
                            data-name='<%= channels["ipp.cfgvundervoltagewarninglevel"].name %>'
                            data-val="<%=channels["ipp.cfgvundervoltagewarninglevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvundervoltagewarninglevel"].channelId %>"
                            value="<%=channels["ipp.cfgvundervoltagewarninglevel"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvundervoltagetriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvundervoltagetriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgvundervoltagetriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgvundervoltagetriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvundervoltagetriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgvundervoltagetriplevel"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td>Overvoltage</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenablevovervoltage" data-channelId='<%= channels["ipp.tripenablevovervoltage"].channelId %>' data-techName='<%=channels["ipp.tripenablevovervoltage"].techName %>' data-name='ipp.tripenablevovervoltage' id="<%= channels["ipp.tripenablevovervoltage"].channelId %>" name="<%= channels["ipp.tripenablevovervoltage"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenablevovervoltage" data-channelId='<%= channels["ipp.warningenablevovervoltage"].channelId %>' data-techName='<%=channels["ipp.warningenablevovervoltage"].techName %>' data-name='ipp.warningenablevovervoltage' id="<%= channels["ipp.warningenablevovervoltage"].channelId %>" name="<%= channels["ipp.warningenablevovervoltage"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvovervoltageinhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvovervoltageinhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfgvovervoltageinhibittime"].name %>'
                            data-val="<%=channels["ipp.cfgvovervoltageinhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvovervoltageinhibittime"].channelId %>"
                            value="<%=channels["ipp.cfgvovervoltageinhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvovervoltagetripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvovervoltagetripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgvovervoltagetripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgvovervoltagetripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvovervoltagetripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgvovervoltagetripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvovervoltagewarninglevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvovervoltagewarninglevel"].techName %>'
                            data-name='<%= channels["ipp.cfgvovervoltagewarninglevel"].name %>'
                            data-val="<%=channels["ipp.cfgvovervoltagewarninglevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvovervoltagewarninglevel"].channelId %>"
                            value="<%=channels["ipp.cfgvovervoltagewarninglevel"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvovervoltagetriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvovervoltagetriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgvovervoltagetriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgvovervoltagetriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvovervoltagetriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgvovervoltagetriplevel"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td>Underfrequency</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenablevunderfrequency" data-channelId='<%= channels["ipp.tripenablevunderfrequency"].channelId %>' data-techName='<%=channels["ipp.tripenablevunderfrequency"].techName %>' data-name='ipp.tripenablevunderfrequency' id="<%= channels["ipp.tripenablevunderfrequency"].channelId %>" name="<%= channels["ipp.tripenablevunderfrequency"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenablevunderfrequency" data-channelId='<%= channels["ipp.warningenablevunderfrequency"].channelId %>' data-techName='<%=channels["ipp.warningenablevunderfrequency"].techName %>' data-name='ipp.warningenablevunderfrequency' id="<%= channels["ipp.warningenablevunderfrequency"].channelId %>" name="<%= channels["ipp.warningenablevunderfrequency"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvunderfrequencyinhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvunderfrequencyinhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfgvunderfrequencyinhibittime"].name %>'
                            data-val="<%=channels["ipp.cfgvunderfrequencyinhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvunderfrequencyinhibittime"].channelId %>"
                            value="<%=channels["ipp.cfgvunderfrequencyinhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvunderfrequencytripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvunderfrequencytripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgvunderfrequencytripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgvunderfrequencytripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvunderfrequencytripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgvunderfrequencytripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvunderfrequencywarninglevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvunderfrequencywarninglevel"].techName %>'
                            data-name='<%= channels["ipp.cfgvunderfrequencywarninglevel"].name %>'
                            data-val="<%=channels["ipp.cfgvunderfrequencywarninglevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvunderfrequencywarninglevel"].channelId %>"
                            value="<%=channels["ipp.cfgvunderfrequencywarninglevel"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvunderfrequencytriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvunderfrequencytriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgvunderfrequencytriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgvunderfrequencytriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvunderfrequencytriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgvunderfrequencytriplevel"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td>Overfrequency</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenablevoverfrequency" data-channelId='<%= channels["ipp.tripenablevoverfrequency"].channelId %>' data-techName='<%=channels["ipp.tripenablevoverfrequency"].techName %>' data-name='ipp.tripenablevoverfrequency' id="<%= channels["ipp.tripenablevoverfrequency"].channelId %>" name="<%= channels["ipp.tripenablevoverfrequency"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenablevoverfrequency" data-channelId='<%= channels["ipp.warningenablevoverfrequency"].channelId %>' data-techName='<%=channels["ipp.warningenablevoverfrequency"].techName %>' data-name='ipp.warningenablevoverfrequency' id="<%= channels["ipp.warningenablevoverfrequency"].channelId %>" name="<%= channels["ipp.warningenablevoverfrequency"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvoverfrequencyinhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvoverfrequencyinhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfgvoverfrequencyinhibittime"].name %>'
                            data-val="<%=channels["ipp.cfgvoverfrequencyinhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvoverfrequencyinhibittime"].channelId %>"
                            value="<%=channels["ipp.cfgvoverfrequencyinhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvoverfrequencytripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvoverfrequencytripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgvoverfrequencytripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgvoverfrequencytripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvoverfrequencytripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgvoverfrequencytripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvoverfrequencywarninglevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvoverfrequencywarninglevel"].techName %>'
                            data-name='<%= channels["ipp.cfgvoverfrequencywarninglevel"].name %>'
                            data-val="<%=channels["ipp.cfgvoverfrequencywarninglevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvoverfrequencywarninglevel"].channelId %>"
                            value="<%=channels["ipp.cfgvoverfrequencywarninglevel"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvoverfrequencytriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvoverfrequencytriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgvoverfrequencytriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgvoverfrequencytriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvoverfrequencytriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgvoverfrequencytriplevel"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td>Voltage Imbalance</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenablevvoltageunbalance" data-channelId='<%= channels["ipp.tripenablevvoltageunbalance"].channelId %>' data-techName='<%=channels["ipp.tripenablevvoltageunbalance"].techName %>' data-name='ipp.tripenablevvoltageunbalance' id="<%= channels["ipp.tripenablevvoltageunbalance"].channelId %>" name="<%= channels["ipp.tripenablevvoltageunbalance"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenablevvoltageunbalance" data-channelId='<%= channels["ipp.warningenablevvoltageunbalance"].channelId %>' data-techName='<%=channels["ipp.warningenablevvoltageunbalance"].techName %>' data-name='ipp.warningenablevvoltageunbalance' id="<%= channels["ipp.warningenablevvoltageunbalance"].channelId %>" name="<%= channels["ipp.warningenablevvoltageunbalance"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvvoltageimbalanceinhibittim"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvvoltageimbalanceinhibittim"].techName %>'
                            data-name='<%= channels["ipp.cfgvvoltageimbalanceinhibittim"].name %>'
                            data-val="<%=channels["ipp.cfgvvoltageimbalanceinhibittim"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvvoltageimbalanceinhibittim"].channelId %>"
                            value="<%=channels["ipp.cfgvvoltageimbalanceinhibittim"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvvoltageimbalancetripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvvoltageimbalancetripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgvvoltageimbalancetripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgvvoltageimbalancetripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvvoltageimbalancetripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgvvoltageimbalancetripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvvoltageimbalancewarninglev"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvvoltageimbalancewarninglev"].techName %>'
                            data-name='<%= channels["ipp.cfgvvoltageimbalancewarninglev"].name %>'
                            data-val="<%=channels["ipp.cfgvvoltageimbalancewarninglev"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvvoltageimbalancewarninglev"].channelId %>"
                            value="<%=channels["ipp.cfgvvoltageimbalancewarninglev"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgvvoltageimbalancetriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgvvoltageimbalancetriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgvvoltageimbalancetriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgvvoltageimbalancetriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgvvoltageimbalancetriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgvvoltageimbalancetriplevel"].value %>">
                        </td>
                    </tr>
                </tbody>
            </table>

            <div class="text-center"><h2>Current Protection</h2></div>
            <table class="table">
                <thead>
                    <tr>
                        <th>Parameter</th>
                        <th>Trip Enabled</th>
                        <th>Warning Enabled</th>
                        <th>Startup Delay</th>
                        <th>Trip Delay</th>
                        <th>Warning Limit</th>
                        <th>Trip Limit</th>
                    <tr>
                </thead>

                <tbody>
                    <tr>
                        <td>Undercurrent</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenablediundercurrent" data-channelId='<%= channels["ipp.tripenablediundercurrent"].channelId %>' data-techName='<%=channels["ipp.tripenablediundercurrent"].techName %>' data-name='ipp.tripenablediundercurrent' id="<%= channels["ipp.tripenablediundercurrent"].channelId %>" name="<%= channels["ipp.tripenablediundercurrent"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenablediundercurrent" data-channelId='<%= channels["ipp.warningenablediundercurrent"].channelId %>' data-techName='<%=channels["ipp.warningenablediundercurrent"].techName %>' data-name='ipp.warningenablediundercurrent' id="<%= channels["ipp.warningenablediundercurrent"].channelId %>" name="<%= channels["ipp.warningenablediundercurrent"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiundercurrentinhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiundercurrentinhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfgiundercurrentinhibittime"].name %>'
                            data-val="<%=channels["ipp.cfgiundercurrentinhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiundercurrentinhibittime"].channelId %>"
                            value="<%=channels["ipp.cfgiundercurrentinhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiundercurrenttripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiundercurrenttripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgiundercurrenttripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgiundercurrenttripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiundercurrenttripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgiundercurrenttripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiundercurrentwarninglevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiundercurrentwarninglevel"].techName %>'
                            data-name='<%= channels["ipp.cfgiundercurrentwarninglevel"].name %>'
                            data-val="<%=channels["ipp.cfgiundercurrentwarninglevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiundercurrentwarninglevel"].channelId %>"
                            value="<%=channels["ipp.cfgiundercurrentwarninglevel"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiundercurrenttriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiundercurrenttriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgiundercurrenttriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgiundercurrenttriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiundercurrenttriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgiundercurrenttriplevel"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td>Overcurrent</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenablediovercurrent" data-channelId='<%= channels["ipp.tripenablediovercurrent"].channelId %>' data-techName='<%=channels["ipp.tripenablediovercurrent"].techName %>' data-name='ipp.tripenablediovercurrent' id="<%= channels["ipp.tripenablediovercurrent"].channelId %>" name="<%= channels["ipp.tripenablediovercurrent"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenablediovercurrent" data-channelId='<%= channels["ipp.warningenablediovercurrent"].channelId %>' data-techName='<%=channels["ipp.warningenablediovercurrent"].techName %>' data-name='ipp.warningenablediovercurrent' id="<%= channels["ipp.warningenablediovercurrent"].channelId %>" name="<%= channels["ipp.warningenablediovercurrent"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiovercurrentinhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiovercurrentinhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfgiovercurrentinhibittime"].name %>'
                            data-val="<%=channels["ipp.cfgiovercurrentinhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiovercurrentinhibittime"].channelId %>"
                            value="<%=channels["ipp.cfgiovercurrentinhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiovercurrenttripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiovercurrenttripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgiovercurrenttripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgiovercurrenttripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiovercurrenttripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgiovercurrenttripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiovercurrentwarninglevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiovercurrentwarninglevel"].techName %>'
                            data-name='<%= channels["ipp.cfgiovercurrentwarninglevel"].name %>'
                            data-val="<%=channels["ipp.cfgiovercurrentwarninglevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiovercurrentwarninglevel"].channelId %>"
                            value="<%=channels["ipp.cfgiovercurrentwarninglevel"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiovercurrenttriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiovercurrenttriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgiovercurrenttriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgiovercurrenttriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiovercurrenttriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgiovercurrenttriplevel"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td>Underload</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenablediunderload" data-channelId='<%= channels["ipp.tripenablediunderload"].channelId %>' data-techName='<%=channels["ipp.tripenablediunderload"].techName %>' data-name='ipp.tripenablediunderload' id="<%= channels["ipp.tripenablediunderload"].channelId %>" name="<%= channels["ipp.tripenablediunderload"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenablediunderload" data-channelId='<%= channels["ipp.warningenablediunderload"].channelId %>' data-techName='<%=channels["ipp.warningenablediunderload"].techName %>' data-name='ipp.warningenablediunderload' id="<%= channels["ipp.warningenablediunderload"].channelId %>" name="<%= channels["ipp.warningenablediunderload"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiunderloadinhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiunderloadinhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfgiunderloadinhibittime"].name %>'
                            data-val="<%=channels["ipp.cfgiunderloadinhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiunderloadinhibittime"].channelId %>"
                            value="<%=channels["ipp.cfgiunderloadinhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiunderloadtripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiunderloadtripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgiunderloadtripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgiunderloadtripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiunderloadtripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgiunderloadtripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiunderloadwarninglevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiunderloadwarninglevel"].techName %>'
                            data-name='<%= channels["ipp.cfgiunderloadwarninglevel"].name %>'
                            data-val="<%=channels["ipp.cfgiunderloadwarninglevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiunderloadwarninglevel"].channelId %>"
                            value="<%=channels["ipp.cfgiunderloadwarninglevel"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgiunderloadtriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgiunderloadtriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgiunderloadtriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgiunderloadtriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgiunderloadtriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgiunderloadtriplevel"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td>Jam</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenabledijam" data-channelId='<%= channels["ipp.tripenabledijam"].channelId %>' data-techName='<%=channels["ipp.tripenabledijam"].techName %>' data-name='ipp.tripenabledijam' id="<%= channels["ipp.tripenabledijam"].channelId %>" name="<%= channels["ipp.tripenabledijam"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenabledijam" data-channelId='<%= channels["ipp.warningenabledijam"].channelId %>' data-techName='<%=channels["ipp.warningenabledijam"].techName %>' data-name='ipp.warningenabledijam' id="<%= channels["ipp.warningenabledijam"].channelId %>" name="<%= channels["ipp.warningenabledijam"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgijaminhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgijaminhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfgijaminhibittime"].name %>'
                            data-val="<%=channels["ipp.cfgijaminhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgijaminhibittime"].channelId %>"
                            value="<%=channels["ipp.cfgijaminhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgijamtripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgijamtripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgijamtripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgijamtripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgijamtripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgijamtripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgijamwarninglevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgijamwarninglevel"].techName %>'
                            data-name='<%= channels["ipp.cfgijamwarninglevel"].name %>'
                            data-val="<%=channels["ipp.cfgijamwarninglevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgijamwarninglevel"].channelId %>"
                            value="<%=channels["ipp.cfgijamwarninglevel"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgijamtriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgijamtriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgijamtriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgijamtriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgijamtriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgijamtriplevel"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td>Stall</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenabledistall" data-channelId='<%= channels["ipp.tripenabledistall"].channelId %>' data-techName='<%=channels["ipp.tripenabledistall"].techName %>' data-name='ipp.tripenabledistall' id="<%= channels["ipp.tripenabledistall"].channelId %>" name="<%= channels["ipp.tripenabledistall"].channelId %>">
                        </td>
                        <td><!--Warning Enabled--></td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgistallenabledtime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgistallenabledtime"].techName %>'
                            data-name='<%= channels["ipp.cfgistallenabledtime"].name %>'
                            data-val="<%=channels["ipp.cfgistallenabledtime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgistallenabledtime"].channelId %>"
                            value="<%=channels["ipp.cfgistallenabledtime"].value %>">
                        </td>
                        <td><!-- Trip Delay --></td>
                        <td><!-- Warning Level --></td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgistalltriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgistalltriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgistalltriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgistalltriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgistalltriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgistalltriplevel"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td>Phase Loss</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenablediphaseloss" data-channelId='<%= channels["ipp.tripenablediphaseloss"].channelId %>' data-techName='<%=channels["ipp.tripenablediphaseloss"].techName %>' data-name='ipp.tripenablediphaseloss' id="<%= channels["ipp.tripenablediphaseloss"].channelId %>" name="<%= channels["ipp.tripenablediphaseloss"].channelId %>">
                        </td>
                        <td><!--Warning Enabled--></td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgplphaselossinhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgplphaselossinhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfgplphaselossinhibittime"].name %>'
                            data-val="<%=channels["ipp.cfgplphaselossinhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgplphaselossinhibittime"].channelId %>"
                            value="<%=channels["ipp.cfgplphaselossinhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgplphaselosstripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgplphaselosstripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgplphaselosstripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgplphaselosstripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgplphaselosstripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgplphaselosstripdelay"].value %>">
                        </td>
                        <td><!-- Warning Level --></td>
                        <td><!-- Trip Level --></td>
                    </tr>

                    <tr>
                        <td>Line Loss</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenabledilineloss" data-channelId='<%= channels["ipp.tripenabledilineloss"].channelId %>' data-techName='<%=channels["ipp.tripenabledilineloss"].techName %>' data-name='ipp.tripenabledilineloss' id="<%= channels["ipp.tripenabledilineloss"].channelId %>" name="<%= channels["ipp.tripenabledilineloss"].channelId %>">
                        </td>
                        <td><!--Warning Enabled--></td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgilinelossinhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfgilinelossinhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfgilinelossinhibittime"].name %>'
                            data-val="<%=channels["ipp.cfgilinelossinhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgilinelossinhibittime"].channelId %>"
                            value="<%=channels["ipp.cfgilinelossinhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgilinelosstripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgilinelosstripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgilinelosstripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgilinelosstripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgilinelosstripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgilinelosstripdelay"].value %>">
                        </td>
                        <td><!-- Warning Level --></td>
                        <td><!-- Trip Level --></td>
                    </tr>

                    <tr>
                        <td>Current Imbalance</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenabledicurrentimbalance" data-channelId='<%= channels["ipp.tripenabledicurrentimbalance"].channelId %>' data-techName='<%=channels["ipp.tripenabledicurrentimbalance"].techName %>' data-name='ipp.tripenabledicurrentimbalance' id="<%= channels["ipp.tripenabledicurrentimbalance"].channelId %>" name="<%= channels["ipp.tripenabledicurrentimbalance"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenabledicurrentimbalanc" data-channelId='<%= channels["ipp.warningenabledicurrentimbalanc"].channelId %>' data-techName='<%=channels["ipp.warningenabledicurrentimbalanc"].techName %>' data-name='ipp.warningenabledicurrentimbalanc' id="<%= channels["ipp.warningenabledicurrentimbalanc"].channelId %>" name="<%= channels["ipp.warningenabledicurrentimbalanc"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgicurrentimbalanceinhibittim"].channelId %>'
                            data-techName='<%=channels["ipp.cfgicurrentimbalanceinhibittim"].techName %>'
                            data-name='<%= channels["ipp.cfgicurrentimbalanceinhibittim"].name %>'
                            data-val="<%=channels["ipp.cfgicurrentimbalanceinhibittim"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgicurrentimbalanceinhibittim"].channelId %>"
                            value="<%=channels["ipp.cfgicurrentimbalanceinhibittim"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgicurrentimbalancetripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfgicurrentimbalancetripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfgicurrentimbalancetripdelay"].name %>'
                            data-val="<%=channels["ipp.cfgicurrentimbalancetripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgicurrentimbalancetripdelay"].channelId %>"
                            value="<%=channels["ipp.cfgicurrentimbalancetripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgicurrentimbalancewarninglev"].channelId %>'
                            data-techName='<%=channels["ipp.cfgicurrentimbalancewarninglev"].techName %>'
                            data-name='<%= channels["ipp.cfgicurrentimbalancewarninglev"].name %>'
                            data-val="<%=channels["ipp.cfgicurrentimbalancewarninglev"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgicurrentimbalancewarninglev"].channelId %>"
                            value="<%=channels["ipp.cfgicurrentimbalancewarninglev"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfgicurrentimbalancetriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfgicurrentimbalancetriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfgicurrentimbalancetriplevel"].name %>'
                            data-val="<%=channels["ipp.cfgicurrentimbalancetriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfgicurrentimbalancetriplevel"].channelId %>"
                            value="<%=channels["ipp.cfgicurrentimbalancetriplevel"].value %>">
                        </td>
                    </tr>

                    <tr>
                        <td>Ground Fault</td> <!--Parameter-->
                        <td><!--Trip Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="tripenabledigroundfault" data-channelId='<%= channels["ipp.tripenabledigroundfault"].channelId %>' data-techName='<%=channels["ipp.tripenabledigroundfault"].techName %>' data-name='ipp.tripenabledigroundfault' id="<%= channels["ipp.tripenabledigroundfault"].channelId %>" name="<%= channels["ipp.tripenabledigroundfault"].channelId %>">
                        </td>
                        <td><!--Warning Enabled-->
                            <input type="toggle" data-checkedValue="1" data-uncheckedValue="0" data-valueupdate="warningenabledigroundfault" data-channelId='<%= channels["ipp.warningenabledigroundfault"].channelId %>' data-techName='<%=channels["ipp.warningenabledigroundfault"].techName %>' data-name='ipp.warningenabledigroundfault' id="<%= channels["ipp.warningenabledigroundfault"].channelId %>" name="<%= channels["ipp.warningenabledigroundfault"].channelId %>">
                        </td>
                        <td> <!-- Startup Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfggfgroundfaultinhibittime"].channelId %>'
                            data-techName='<%=channels["ipp.cfggfgroundfaultinhibittime"].techName %>'
                            data-name='<%= channels["ipp.cfggfgroundfaultinhibittime"].name %>'
                            data-val="<%=channels["ipp.cfggfgroundfaultinhibittime"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfggfgroundfaultinhibittime"].channelId %>"
                            value="<%=channels["ipp.cfggfgroundfaultinhibittime"].value %>">
                        </td>
                        <td> <!-- Trip Delay -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfggfgroundfaulttripdelay"].channelId %>'
                            data-techName='<%=channels["ipp.cfggfgroundfaulttripdelay"].techName %>'
                            data-name='<%= channels["ipp.cfggfgroundfaulttripdelay"].name %>'
                            data-val="<%=channels["ipp.cfggfgroundfaulttripdelay"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfggfgroundfaulttripdelay"].channelId %>"
                            value="<%=channels["ipp.cfggfgroundfaulttripdelay"].value %>">
                        </td>
                        <td> <!-- Warning Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfggfgroundfaultwarninglevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfggfgroundfaultwarninglevel"].techName %>'
                            data-name='<%= channels["ipp.cfggfgroundfaultwarninglevel"].name %>'
                            data-val="<%=channels["ipp.cfggfgroundfaultwarninglevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfggfgroundfaultwarninglevel"].channelId %>"
                            value="<%=channels["ipp.cfggfgroundfaultwarninglevel"].value %>">
                        </td>
                        <td> <!-- Trip Level -->
                            <input class="form-control" data-channelId='<%= channels["ipp.cfggfgroundfaulttriplevel"].channelId %>'
                            data-techName='<%=channels["ipp.cfggfgroundfaulttriplevel"].techName %>'
                            data-name='<%= channels["ipp.cfggfgroundfaulttriplevel"].name %>'
                            data-val="<%=channels["ipp.cfggfgroundfaulttriplevel"].value %>"
                            type="number" step="any"
                            id="<%= channels["ipp.cfggfgroundfaulttriplevel"].channelId %>"
                            value="<%=channels["ipp.cfggfgroundfaulttriplevel"].value %>">
                        </td>
                    </tr>

                </tbody>
            </table>
        </div>
    </div>
    <br />
    <div class="pad15">
        <button class='btn btn-theme btn-block set_channel_btn' value='Save'>APPLY CHANGES</button>
    </div>

</form>

<style>
.box-me {
    position: relative;
    padding: 0.5em;
    padding-bottom: 1.5em;
    border: 1px solid #eee;
    /*margin: 1em 0;*/
}
.box-me .gauge-box {
    margin-top: -0.25em;
}

.pad15 {
    margin: 15px 15px;
}

.box-me h2 {
    text-transform: uppercase;
    font-size: 14px;
    color: #666;
    font-weight: 400;
    letter-spacing: 1px;
    z-index: 100;
}
.dynamic-chart-form {
    background-color: whiteSmoke;
    padding: 1em 0.5em;
    margin-top: 1em;
}

.row-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
    flex-wrap: wrap;
}
.row-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

#systemStatusTimelineContainer h2 {
    text-transform: uppercase;
    font-size: 14px;
    color: #666;
    font-weight: 400;
    letter-spacing: 1px;
    z-index: 100;
}
</style>
