<%@ page language="C#" autoeventwireup="true" inherits="SystemDiagnosis_Old, App_Web_systemdiagnosis_old.aspx.de3fb1ff" enableEventValidation="false" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>DBBackUp</title>

    <script language="javascript" src="../Include/JavaScript/js_functions.js"> </script>

    <script language="javascript" src="../Include/JavaScript/FCalender.js"> </script>

    <script language="javascript" src="../Include/JavaScript/image-png.js"></script>

    <script language="javascript" src="../Include/JavaScript/email.js"></script>

    <script language="javascript" src="../Include/JavaScript/datetimepicker.js"></script>

    <link href="../Include/StyleSheet/Style.css" type="text/css" rel="stylesheet" />
    <link href="../Include/StyleSheet/zcCalendar.css" type="text/css" rel="stylesheet" />
    <link href="../Include/Style.css" type="text/css" rel="stylesheet" />
</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
    <form id="Form1" method="post" runat="server">
    <asp:ToolkitScriptManager runat="Server" AsyncPostBackTimeout="0" EnablePartialRendering="true"
        ID="ToolkitScriptManager1" />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
                <tr>
                    <td>
                        <table class="bluebg" id="Table1" cellspacing="1" cellpadding="3" width="100%" border="0"
                            align="center">
                            <tr>
                                <td class="tablebg" colspan="3">
                                    <b>SYSTEM DIAGNOSIS</b>
                                </td>
                            </tr>
                            <tr class="whitebg">
                                <td align="right" valign="top" width="40px">
                                    <asp:ImageButton ID="btncommunication" runat="server" ImageUrl="~/Images/offline.png" /></div>
                                </td>
                                <td align="left" valign="middle">
                                    <asp:Label ID="lblcommunication" runat="server" Text="Communication Offline" Font-Size="10pt"
                                        Font-Bold="true"></asp:Label>&nbsp;
                                </td>
                                <td align="center" width="30%" valign="top">
                                    <asp:Button ID="btnStartStop" runat="server" Text="Stop Monitoring" Width="120" BorderWidth="0"
                                        CssClass="loginbt" OnClick="btnStartStop_Click"></asp:Button>&nbsp;<asp:Button ID="BtnReset"
                                            runat="server" Text="Reset" Width="104" BorderWidth="0" CssClass="loginbt" OnClick="BtnReset_Click">
                                        </asp:Button>&nbsp;
                                </td>
                            </tr>
                        </table>
                        <table class="tablebg" id="Table2" cellspacing="1" cellpadding="1" width="100%" border="0">
                            <tr>
                                <td class="tablebg">
                                    <b>Service Status</b>
                                </td>
                            </tr>
                            <tr class="whitebg">
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="tableInnerTr" valign="top" align="center">
                                    <asp:Panel runat="server" ID="Panel1" ScrollBars="Auto" Width="100%">
                                        <asp:GridView ID="GVServiceStatus" Width="100%" runat="server" CellPadding="0" CellSpacing="0"
                                            AllowSorting="True" AutoGenerateColumns="False" AlternatingRowStyle-CssClass="DGR_ALTERNATE"
                                            RowStyle-CssClass="DGR_ITEM" HeaderStyle-CssClass="DGR_HEADER" BorderColor="#E0E4EA"
                                            HeaderStyle-Height="25px">
                                            <HeaderStyle CssClass="DGR_FIXEDHEADER" />
                                            <Columns>
                                                <asp:BoundField DataField="ServiceStatusId" HeaderText="ServiceStatusId">
                                                    <HeaderStyle CssClass="hiddencol"></HeaderStyle>
                                                    <ItemStyle CssClass="hiddencol"></ItemStyle>
                                                </asp:BoundField>
                                                <asp:BoundField DataField="ServiceStep" HeaderText="Service Step">
                                                    <HeaderStyle CssClass="DGR_HEADER"></HeaderStyle>
                                                    <ItemStyle CssClass="" Width="40%"></ItemStyle>
                                                </asp:BoundField>
                                                <asp:BoundField DataField="ServiceStepValue" HeaderText="Service Step Value">
                                                    <HeaderStyle CssClass="DGR_HEADER"></HeaderStyle>
                                                    <ItemStyle CssClass="" Width="60%"></ItemStyle>
                                                </asp:BoundField>
                                            </Columns>
                                            <RowStyle CssClass="DGR_ITEM" />
                                            <HeaderStyle CssClass="DGR_HEADER" />
                                            <AlternatingRowStyle CssClass="DGR_ALTERNATE" />
                                            <PagerStyle CssClass="DGR_PAGER"></PagerStyle>
                                            <PagerSettings Position="TopAndBottom" />
                                        </asp:GridView>
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr class="whitebg">
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="tablebg">
                                    <b>Device Status</b>
                                </td>
                            </tr>
                            <tr>
                                <td class="tableInnerTr" valign="top" align="center">
                                    <asp:Panel runat="server" ID="pnlContainer" ScrollBars="Auto" Width="100%">
                                        <asp:GridView ID="GVSYSTEMDIAGNOSIS" Width="100%" runat="server" CellPadding="0"
                                            CellSpacing="0" AllowSorting="True" AutoGenerateColumns="False" AlternatingRowStyle-CssClass="DGR_ALTERNATE"
                                            RowStyle-CssClass="DGR_ITEM" HeaderStyle-CssClass="DGR_HEADER" OnSorting="SortRecords"
                                            OnRowDataBound="ItemDataBound" BorderColor="#E0E4EA" HeaderStyle-Height="25px">
                                            <HeaderStyle CssClass="DGR_FIXEDHEADER" />
                                            <Columns>
                                                <asp:TemplateField HeaderStyle-CssClass="DGR_HEADER">
                                                    <HeaderTemplate>
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="chkRecordId" runat="server"></asp:CheckBox>
                                                    </ItemTemplate>
                                                    <ItemStyle HorizontalAlign="Center" Width="10px" CssClass="hiddencol" />
                                                    <HeaderStyle HorizontalAlign="Center" Width="10px" CssClass="hiddencol" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="DeviceMasterId" HeaderText="DeviceMasterId">
                                                    <HeaderStyle CssClass="hiddencol"></HeaderStyle>
                                                    <ItemStyle CssClass="hiddencol"></ItemStyle>
                                                </asp:BoundField>
                                                <asp:BoundField DataField="DeviceName" HeaderText="DeviceName">
                                                    <HeaderStyle CssClass="DGR_HEADER"></HeaderStyle>
                                                    <ItemStyle CssClass="" Width="15%"></ItemStyle>
                                                </asp:BoundField>
                                                <asp:BoundField DataField="DeviceOnlineStatus" HeaderText="Online Status">
                                                    <HeaderStyle CssClass="DGR_HEADER"></HeaderStyle>
                                                    <ItemStyle CssClass="" Width="10%"></ItemStyle>
                                                </asp:BoundField>
                                                <asp:BoundField DataField="DeviceOnlineStatusDescription" HeaderText="Online Status Desc.">
                                                    <HeaderStyle CssClass="DGR_HEADER"></HeaderStyle>
                                                    <ItemStyle CssClass="" Width="20%"></ItemStyle>
                                                </asp:BoundField>
                                                <asp:BoundField DataField="LastLogDateTime" HeaderText="Last Log DateTime">
                                                    <HeaderStyle CssClass="DGR_HEADER"></HeaderStyle>
                                                    <ItemStyle CssClass="" Width="15%"></ItemStyle>
                                                </asp:BoundField>
                                                <asp:BoundField DataField="LastLogError" HeaderText="Last Log Desc.">
                                                    <HeaderStyle CssClass="DGR_HEADER"></HeaderStyle>
                                                    <ItemStyle CssClass="" Width="25%"></ItemStyle>
                                                </asp:BoundField>
                                                <asp:BoundField DataField="LastLogQuery" HeaderText="Last Log Query">
                                                    <HeaderStyle CssClass="DGR_HEADER"></HeaderStyle>
                                                    <ItemStyle CssClass="" Width="15%"></ItemStyle>
                                                </asp:BoundField>
                                            </Columns>
                                            <RowStyle CssClass="DGR_ITEM" />
                                            <HeaderStyle CssClass="DGR_HEADER" />
                                            <AlternatingRowStyle CssClass="DGR_ALTERNATE" />
                                            <PagerStyle CssClass="DGR_PAGER"></PagerStyle>
                                            <PagerSettings Position="TopAndBottom" />
                                        </asp:GridView>
                                    </asp:Panel>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <asp:Timer ID="Timer1" runat="server" Enabled="true" Interval="500" OnTick="Timer1_Tick">
            </asp:Timer>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
