<%@ page language="C#" autoeventwireup="true" inherits="IOStatus, App_Web_iostatus.aspx.b1e99372" enableEventValidation="false" %>

<%@ Register Src="~/UserControls/ucOnline.ascx" TagName="iERPLift" TagPrefix="iERPLift" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/UserControls/iERPUtilityBar.ascx" TagName="iERPUtilityBar" TagPrefix="dsip" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head id="Head1" runat="server">
    <title>..:: ICDAS 2.1 ::..</title>
    <meta http-equiv="X-UA-Compatible" content="IE=9" />

    <script type="text/javascript" language="javascript" src="../App_Include/JavaScript/js_functions.js"> </script>

    <script type="text/javascript" language="Javascript" src="../FusionCharts/FusionCharts.js"></script>

    <script type="text/javascript" language="javascript" src="../App_Include/JavaScript/ScreenSaverStar.js"> </script>

    <script type="text/javascript" language="javascript">
        function resizeObject() {

            var w = getBrowserWindowSize().width;
            var h = getBrowserWindowSize().height - 5;
            //window.resizeTo(w, h);
            var cObj = document.getElementById("divChildBody");
            if (cObj != null) {
                //cObj.style.height = parseInt((h*79)/100) +"px";
                cObj.style.height = (parseInt(h) - 50) + "px";
            }

        }


        function validateRecord() {
            var doc = document.forms[0];

            return true;
        }

        function validateSave() {
            var doc = document.forms[0];

            return true;
        }


        function ShowPnlEdit() {
            var cObj = document.getElementById("divEdit");
            if (cObj != null) {
                cObj.style.visibility = "visible";
                cObj.style.display = "block";
            }
        }
        function HidePnlEdit() {
            var cObj = document.getElementById("divEdit");
            if (cObj != null) {
                cObj.style.visibility = "hidden";
                cObj.style.display = "none";
            }
        }
        

    </script>

</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0" onload="resizeObject(); initScreenSaver('1',<%=Session["AutoLogOutTime"]%>);">
    <form id="Form1" runat="server" class="tablefont">
    <asp:ToolkitScriptManager runat="Server" EnablePartialRendering="true" AsyncPostBackTimeout="0"
        ID="ToolkitScriptManager1" />
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="left" class="real-time-summary-bg">
        <tr>
            <td valign="top" align="left">
                <div id="divMainBody" align="center" runat="server" width="100%" height="100%">
                    <table style="width: 100%; table-layout: fixed;">
                        <tr>
                            <td class="headerbg" align="left" style="border-style: none; height: 26px; width: 100%;
                                position: absolute; left: 1px; top: 8px;">
                                <asp:Label ID="lblCaption" runat="server" Text="IO Status" Width="100%" Font-Bold="true"
                                    Font-Names="Tahoma" ForeColor="AntiqueWhite" Font-Size="Medium"></asp:Label>
                            </td>
                        </tr>
                        <tr height="40px">
                            <td>
                                &nbsp
                            </td>
                        </tr>
                    </table>
                    <asp:UpdatePanel ID="uplChildBody" runat="server" UpdateMode="Conditional">
                        <ContentTemplate>
                            <asp:HiddenField ID="hdnRecordKeyId" runat="server" Value="0" />
                            <asp:HiddenField ID="hdnRecordIds" runat="server" Value="" />
                            <asp:HiddenField ID="hdnUserId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnBusinessUnitId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnBranchId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnLoginComments" runat="server" Value="" />
                            <asp:HiddenField ID="hdnVersion" runat="server" Value="0" />
                            <asp:HiddenField ID="hdnEquipmenttypeGroup" runat="server" Value="0" />
                            <div id="divChildBody" runat="server" style="overflow: auto; width: 99%;">
                                <table width="100%" style="vertical-align: top;" align="left" cellpadding="1" cellspacing="0"
                                    border="0">
                                    <tr>
                                        <td>
                                            <table>
                                                <tr>
                                                    <td width="20%" align="left" valign="top">
                                                        Equipment
                                                    </td>
                                                    <td width="80%">
                                                        <asp:DropDownList ID="cmbInstrument" runat="server" AutoPostBack="true" OnSelectedIndexChanged="cmbInstrument_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                        <asp:Label ID="txtTempratureLowerLowerLimit" runat="server" Width="100%" Visible="false">0</asp:Label>
                                                        <asp:Label ID="txtTempratureLowerLimit" runat="server" Width="100%" Visible="false">0</asp:Label>
                                                        <asp:Label ID="txtTempratureSetValue" runat="server" Width="100%" Visible="false">0</asp:Label>
                                                        <asp:Label ID="txtTempratureUpperLimit" runat="server" Width="100%" Visible="false">0</asp:Label>
                                                        <asp:Label ID="txtTempratureUpperUpperLimit" runat="server" Width="100%" Visible="false">0</asp:Label>
                                                        <asp:Label ID="txtHumidityLowerLowerLimit" runat="server" Width="100%" Visible="false">0</asp:Label>
                                                        <asp:Label ID="txtHumidityLowerLimit" runat="server" Width="100%" Visible="false">0</asp:Label>
                                                        <asp:Label ID="txtHumiditySetValue" runat="server" Width="100%" Visible="false">0</asp:Label>
                                                        <asp:Label ID="txtHumidityUpperLimit" runat="server" Width="100%" Visible="false">0</asp:Label>
                                                        <asp:Label ID="txtHumidityUpperUpperLimit" runat="server" Width="100%" Visible="false">0</asp:Label>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <br />
                                        </td>
                                    </tr>
                                    <asp:Panel ID="pnlData" runat="server" Visible="true">
                                        <tr>
                                            <td class="real-time-summary-bg">
                                                <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td width="100%" align="left" valign="middle">
                                                            <table width="100%" border="0" cellspacing="2" cellpadding="2" style="background-color: #043c23;">
                                                                <tr>
                                                                    <td width="33%" align="left" valign="top" class="h5">
                                                                        Input Status
                                                                    </td>
                                                                    <td width="33%" align="left" valign="top">
                                                                        &nbsp;
                                                                    </td>
                                                                    <td width="34%" align="left" valign="top">
                                                                        &nbsp;
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="left" valign="top" colspan="3">
                                                                        <table width="100%" border="0" cellspacing="1" cellpadding="1" style="background-color: #fff;">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Timer ID="Timer2" runat="server" Interval="3000" Enabled="true" OnTick="tmrTemp_Tick">
                                                                                            </asp:Timer>
                                                                                            <asp:DataList ID="DLInput" runat="server" RepeatColumns="3" RepeatDirection="Vertical"
                                                                                                BorderColor="#336699" BorderStyle="Solid" BorderWidth="0px" HorizontalAlign="Left"
                                                                                                CellPadding="1" CellSpacing="1" OnItemDataBound="DLInput_ItemDataBound" Style="table-layout: auto;"
                                                                                                HeaderStyle-Width="10%">
                                                                                                <SeparatorStyle HorizontalAlign="Left" BorderColor="Black" BorderStyle="Solid" />
                                                                                                <ItemTemplate>
                                                                                                    <table width="100%" border="0" cellspacing="1" cellpadding="1">
                                                                                                        <tr>
                                                                                                            <td width="50%" height="25" align="center" valign="middle" class="real-time-summary-text1">
                                                                                                                <asp:Label ID="lblIOName" runat="server" Text='<%# Eval("IOName") %>' Width="100%"
                                                                                                                    Style="word-break: break-all;"></asp:Label>
                                                                                                            </td>
                                                                                                            <td width="50%" height="25" align="center" valign="middle" id="td" runat="server">
                                                                                                                <strong>
                                                                                                                    <asp:Label ID="lblIOValue" runat="server" Text='<%# Eval("IOValue") %>' Width="100%"
                                                                                                                        Style="word-break: break-all;"></asp:Label></strong>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </ItemTemplate>
                                                                                                <AlternatingItemStyle VerticalAlign="Top" />
                                                                                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Top" Width="10%" Wrap="True" />
                                                                                            </asp:DataList>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="middle">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="middle">
                                                            <table width="100%" border="0" cellspacing="2" cellpadding="2" style="background-color: #043c23;">
                                                                <tr>
                                                                    <td width="33%" align="left" valign="top" class="h5">
                                                                        Output Status
                                                                    </td>
                                                                    <td width="33%" align="left" valign="top">
                                                                        &nbsp;
                                                                    </td>
                                                                    <td width="34%" align="left" valign="top">
                                                                        &nbsp;
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="left" valign="top" colspan="3">
                                                                        <table width="100%" border="0" cellspacing="1" cellpadding="1" style="background-color: #fff;">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Timer ID="Timer3" runat="server" Interval="3000" Enabled="true" OnTick="tmrTemp_Tick">
                                                                                            </asp:Timer>
                                                                                            <asp:DataList ID="DLOutput" runat="server" RepeatColumns="3" RepeatDirection="Vertical"
                                                                                                BorderColor="#336699" BorderStyle="Solid" BorderWidth="0px" HorizontalAlign="Left"
                                                                                                CellPadding="1" CellSpacing="1" OnItemDataBound="DLOutput_ItemDataBound" Style="table-layout: auto;"
                                                                                                HeaderStyle-Width="10%">
                                                                                                <SeparatorStyle HorizontalAlign="Left" BorderColor="Black" BorderStyle="Solid" />
                                                                                                <ItemTemplate>
                                                                                                    <table width="100%" border="0" cellspacing="1" cellpadding="1">
                                                                                                        <tr>
                                                                                                            <td width="50%" height="25" align="center" valign="middle" class="real-time-summary-text1">
                                                                                                                <asp:Label ID="lblIOName" runat="server" Text='<%# Eval("IOName") %>' Width="100%"
                                                                                                                    Style="word-break: break-all;"></asp:Label>
                                                                                                            </td>
                                                                                                            <td width="50%" height="25" align="center" valign="middle" id="td" runat="server">
                                                                                                                <strong>
                                                                                                                    <asp:Label ID="lblIOValue" runat="server" Text='<%# Eval("IOValue") %>' Width="100%"
                                                                                                                        Style="word-break: break-all;"></asp:Label></strong>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </ItemTemplate>
                                                                                                <AlternatingItemStyle VerticalAlign="Top" />
                                                                                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Top" Width="10%" Wrap="True" />
                                                                                            </asp:DataList>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            <table cellspacing="2" cellpadding="2" width="100%" align="center" border="0" style="background-color: #043c23;">
                                                                <tr>
                                                                    <td align="left" valign="top" class="h5">
                                                                        Real Time Value
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="left" valign="top">
                                                                        <table width="100%" border="0" cellspacing="2" cellpadding="2" style="background-color: #fff;">
                                                                            <tr height="25px" class="real-time-summary-bg">
                                                                                <td width="10%" class="real-time-summary-text1">
                                                                                    PARAMETER
                                                                                </td>
                                                                                <td align="left" width="9%" class="real-time-realHeading" runat="server" id="tdCh1">
                                                                                    <asp:Label ID="lblCH1" runat="server" Width="100%">CH 1</asp:Label>
                                                                                </td>
                                                                                <td align="left" width="9%" class="real-time-realHeading" runat="server" id="tdCh2">
                                                                                    <asp:Label ID="lblCH2" runat="server" Width="100%">CH 2</asp:Label>
                                                                                </td>
                                                                                <td align="left" width="9%" class="real-time-realHeading" runat="server" id="tdCh3">
                                                                                    <asp:Label ID="lblCH3" runat="server" Width="100%">CH 3</asp:Label>
                                                                                </td>
                                                                                <td align="left" width="9%" class="real-time-realHeading" runat="server" id="tdCh4">
                                                                                    <asp:Label ID="lblCH4" runat="server" Width="100%">CH 4</asp:Label>
                                                                                </td>
                                                                                <td align="left" width="9%" class="real-time-realHeading" runat="server" id="tdCh5">
                                                                                    <asp:Label ID="lblCH5" runat="server" Width="100%">CH 5</asp:Label>
                                                                                </td>
                                                                                <td align="left" width="9%" class="real-time-realHeading" runat="server" id="tdCh6">
                                                                                    <asp:Label ID="lblCH6" runat="server" Width="100%">CH 6</asp:Label>
                                                                                </td>
                                                                                <td align="left" width="9%" class="real-time-realHeading" runat="server" id="tdCh7">
                                                                                    <asp:Label ID="lblCH7" runat="server" Width="100%">CH 7</asp:Label>
                                                                                </td>
                                                                                <td align="left" width="9%" class="real-time-realHeading" runat="server" id="tdCh8">
                                                                                    <asp:Label ID="lblCH8" runat="server" Width="100%">CH 8</asp:Label>
                                                                                </td>
                                                                                <td align="left" width="9%" class="real-time-realHeading" runat="server" id="tdCh9">
                                                                                    <asp:Label ID="lblCH9" runat="server" Width="100%">CH 9</asp:Label>
                                                                                </td>
                                                                                <td align="left" width="9%" class="real-time-realHeading" runat="server" id="tdCh10">
                                                                                    <asp:Label ID="lblCH10" runat="server" Width="100%">CH 10</asp:Label>
                                                                                </td>
                                                                            </tr>
                                                                            <tr height="25px">
                                                                                <td width="10%" class="real-time-realHeading">
                                                                                    <asp:Label ID="lblTempratureSettings" runat="server" Width="100%">Temperature</asp:Label>
                                                                                </td>
                                                                                <td colspan="10">
                                                                                    <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Timer ID="tmrTemp" runat="server" Interval="3000" Enabled="true" OnTick="tmrTemp_Tick">
                                                                                            </asp:Timer>
                                                                                            <asp:DataList ID="DLParameterT" runat="server" RepeatColumns="10" RepeatDirection="Horizontal"
                                                                                                BorderColor="#336699" BorderStyle="Solid" BorderWidth="0px" HorizontalAlign="Left"
                                                                                                CellPadding="1" CellSpacing="0" OnItemDataBound="DLProductT_ItemDataBound" Style="table-layout: auto;"
                                                                                                HeaderStyle-Width="10%">
                                                                                                <SeparatorStyle HorizontalAlign="Left" BorderColor="Black" BorderStyle="Solid" />
                                                                                                <ItemTemplate>
                                                                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                                                        <tr>
                                                                                                            <td align="center" class="real-time-summary-text2" id="td" runat="server">
                                                                                                                <asp:Label ID="lblParameterRealValue" runat="server" Text='<%# Eval("ParameterRealValue") %>'
                                                                                                                    Width="100%" Style="word-break: break-all;"></asp:Label>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <asp:HiddenField ID="hdnParameterType" runat="server" Value='<%# Eval("ParameterType") %>' />
                                                                                                        <asp:HiddenField ID="hdnSoakTime" runat="server" Value='<%# Eval("SoakTime") %>' />
                                                                                                        <asp:HiddenField ID="hdnElaspsedSoakTime" runat="server" Value='<%# Eval("ElaspsedSoakTime") %>' />
                                                                                                        <asp:HiddenField ID="hdnParameterSetValue" runat="server" Value='<%# Eval("ParameterSetValue") %>' />
                                                                                                        <asp:HiddenField ID="hdnRealLux" runat="server" Value='<%# Eval("RealLux") %>' />
                                                                                                        <asp:HiddenField ID="hdnRealUV" runat="server" Value='<%# Eval("RealUV") %>' />
                                                                                                        <asp:HiddenField ID="hdnRealSpeed" runat="server" Value='<%# Eval("RealSCHSpeed") %>' />
                                                                                                        <asp:HiddenField ID="hdnRealTime" runat="server" Value='<%# Eval("RealSCHTime") %>' />
                                                                                                        <asp:HiddenField ID="hdnSCHStatus" runat="server" Value='<%# Eval("SCHStatus") %>' />
                                                                                                    </table>
                                                                                                </ItemTemplate>
                                                                                                <AlternatingItemStyle VerticalAlign="Top" />
                                                                                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Top" Width="10%" Wrap="True" />
                                                                                            </asp:DataList>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                            </tr>
                                                                            <tr id="trHumidity" runat="server" height="25px">
                                                                                <td width="10%" class="real-time-realHeading">
                                                                                    <asp:Label ID="lblHumiditySetting" runat="server" Width="100%">Humidity</asp:Label>
                                                                                </td>
                                                                                <td colspan="10">
                                                                                    <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Timer ID="Timer1" runat="server" Interval="3000" Enabled="true" OnTick="tmrTemp_Tick">
                                                                                            </asp:Timer>
                                                                                            <asp:DataList ID="DLParameterH" runat="server" RepeatColumns="10" RepeatDirection="Horizontal"
                                                                                                BorderColor="#336699" BorderStyle="Solid" BorderWidth="0px" HorizontalAlign="Left"
                                                                                                CellPadding="1" CellSpacing="0" OnItemDataBound="DLProductH_ItemDataBound" Style="table-layout: fixed;"
                                                                                                HeaderStyle-Width="10%">
                                                                                                <SeparatorStyle HorizontalAlign="Left" BorderColor="Black" BorderStyle="Solid" />
                                                                                                <ItemTemplate>
                                                                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                                                        <tr>
                                                                                                            <td align="center" class="real-time-summary-text2" id="td" runat="server">
                                                                                                                <asp:Label ID="lblParameterRealValue" runat="server" Text='<%# Eval("ParameterRealValue") %>'
                                                                                                                    Width="100%" Style="word-break: break-all;"></asp:Label>
                                                                                                            </td>
                                                                                                            <asp:HiddenField ID="hdnParameterType" runat="server" Value='<%# Eval("ParameterType") %>' />
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </ItemTemplate>
                                                                                                <AlternatingItemStyle VerticalAlign="Top" />
                                                                                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="10%" Wrap="True" />
                                                                                            </asp:DataList>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                            </tr>
                                                                            <tr height="25px" class="real-time-summary-bg" id="trThaw" runat="server">
                                                                                <td width="10%" class="real-time-summary-text1">
                                                                                    Set Value
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel7" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblSV" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text1">
                                                                                    Soak Time
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel5" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblSoakTime" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text1">
                                                                                    Elaspsed Soak Time
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel6" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblElaspsedSoakTime" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td colspan="5" bgcolor="white">
                                                                                </td>
                                                                            </tr>
                                                                            <tr height="25px" class="real-time-summary-bg" id="trPhotoStability" runat="server">
                                                                                <td width="10%" class="real-time-summary-text1">
                                                                                    Set Lux
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel8" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblSetLuxValue" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text1">
                                                                                    Real Lux
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel10" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblRealLux" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text1">
                                                                                    Set UV
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel9" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblSetUVValue" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text1">
                                                                                    Real UV
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel11" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblRealUV" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td colspan="3" bgcolor="white">
                                                                                </td>
                                                                            </tr>
                                                                            <tr height="25px" class="real-time-summary-bg" id="trSCH" runat="server">
                                                                                <td width="10%" class="real-time-summary-text1">
                                                                                    Set Speed
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel13" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblSetSpeed" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text1">
                                                                                    Measured Speed
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel14" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblMeasuredSpeed" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text1">
                                                                                    Set Time
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel15" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblSetTime" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text1">
                                                                                    Elapsed Time
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel16" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblElapsedTime" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text1">
                                                                                    Shaker Status
                                                                                </td>
                                                                                <td width="9%" class="real-time-summary-text2" align="center">
                                                                                    <asp:UpdatePanel ID="UpdatePanel17" runat="server" UpdateMode="Conditional">
                                                                                        <ContentTemplate>
                                                                                            <asp:Label ID="lblShakerStatus" runat="server" Width="100%">0.0</asp:Label>
                                                                                        </ContentTemplate>
                                                                                        <Triggers>
                                                                                            <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                                        </Triggers>
                                                                                    </asp:UpdatePanel>
                                                                                </td>
                                                                                <td colspan="3" bgcolor="white">
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            <asp:UpdatePanel ID="UpdatePanel12" runat="server" UpdateMode="Conditional">
                                                                <ContentTemplate>
                                                                    <table width="100%" border="0" cellspacing="1" cellpadding="1" id="tblCycle" runat="server">
                                                                        <tr>
                                                                            <td width="10%" height="25" align="center" valign="middle" class="real-time-summary-text1">
                                                                                Cycle Status
                                                                            </td>
                                                                            <td width="40%" height="25" align="left" valign="middle" class="real-time-summary-text2">
                                                                                <strong>
                                                                                    <asp:Label ID="lblCycleStatus" runat="server" Text="Run" Width="100%" Style="word-break: break-all;"></asp:Label></strong>
                                                                            </td>
                                                                            <td width="10%" height="25" align="center" valign="middle" class="real-time-summary-text1">
                                                                                Cycle Run SP
                                                                            </td>
                                                                            <td width="40%" height="25" align="left" valign="middle" class="real-time-summary-text2">
                                                                                <strong>
                                                                                    <asp:Label ID="lblCycleRunningSetPoint" runat="server" Text="SV3" Width="100%" Style="word-break: break-all;"></asp:Label></strong>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </ContentTemplate>
                                                                <Triggers>
                                                                    <asp:AsyncPostBackTrigger ControlID="tmrTemp" EventName="Tick" />
                                                                </Triggers>
                                                            </asp:UpdatePanel>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </asp:Panel>
                                </table>
                            </div>
                            <div id="divEdit" runat="server" align="center" style="width: 100%; height: 1500px;
                                top: 0px; left: 0px; position: absolute; visibility: visible; display: block;
                                z-index: 1; background-color: #333333; padding-left: 10%; text-align: center;
                                vertical-align: middle; filter: alpha(opacity=90); opacity: 0.90;">
                                <br />
                                <br />
                                <br />
                                <br />
                            </div>
                        </ContentTemplate>
                        <Triggers>
                        </Triggers>
                    </asp:UpdatePanel>
                </div>
            </td>
        </tr>
    </table>
    </form>

    <script type="text/javascript">

        var xPos, yPos;
        var prm = Sys.WebForms.PageRequestManager.getInstance();
        prm.add_beginRequest(BeginRequestHandler);
        prm.add_endRequest(EndRequestHandler);
        function BeginRequestHandler(sender, args) {
            xPos = $get('<%=divChildBody.ClientID %>').scrollLeft;
            yPos = $get('<%=divChildBody.ClientID %>').scrollTop;
        }
        function EndRequestHandler(sender, args) {
            $get('<%=divChildBody.ClientID %>').scrollLeft = xPos;
            $get('<%=divChildBody.ClientID %>').scrollTop = yPos;
        }
    </script>

</body>
</html>
