278 lines
11 KiB
Plaintext
278 lines
11 KiB
Plaintext
|
|
<%@ Page Title="TALAS" Language="C#" MasterPageFile="~/Standard.Master" AutoEventWireup="true" CodeBehind="ReportAccess1.aspx.cs" Inherits="TALAS_V5.MessagesMap.ReportAccess1" %>
|
|
<%@ Register assembly="DevExpress.Web.v19.2, Version=19.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web" tagprefix="dx" %>
|
|
|
|
<asp:Content ID="NaviContent" ContentPlaceHolderID="NaviContent" runat="server">
|
|
<dx:ASPxMenu ID="ASPxMenuBaseData" runat="server" Theme="TALAS5Standard" Width="100%" HorizontalAlign="Left" ItemAutoWidth="False" EnableTheming="True" >
|
|
<ClientSideEvents ItemClick="function(s, e) {
|
|
OnNaviClick(s,e)
|
|
}" />
|
|
|
|
</dx:ASPxMenu>
|
|
|
|
<dx:ASPxLoadingPanel ID="ASPxLoadingPanel1" ClientIDMode="Static" ClientInstanceName="ASPxLoadingPanel1" runat="server"></dx:ASPxLoadingPanel>
|
|
</asp:Content>
|
|
|
|
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|
|
|
<script type="text/javascript">
|
|
function OnNaviClick(sender, e) {
|
|
if (e.item.name == 'Aktueller Stand Kabelüberwachungen')
|
|
{
|
|
ASPxLoadingPanel1.SetText("Lade Kabelüberwachungsbericht...");
|
|
ASPxLoadingPanel1.Show();
|
|
}
|
|
else if (e.item.name == 'Meldungshistorie')
|
|
{
|
|
ASPxLoadingPanel1.SetText("Lade historische Meldungen...");
|
|
ASPxLoadingPanel1.Show();
|
|
}
|
|
else if (e.item.name == 'Meldungsstammdaten')
|
|
{
|
|
ASPxLoadingPanel1.SetText("Erstelle Meldungstammdaten...");
|
|
ASPxLoadingPanel1.Show();
|
|
}
|
|
else
|
|
{
|
|
|
|
ASPxLoadingPanel1.Show();
|
|
}
|
|
}
|
|
|
|
</script>
|
|
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Create four equal columns that floats next to each other */
|
|
.column1 {
|
|
float: left;
|
|
width: 50%;
|
|
padding: 4px;
|
|
}
|
|
|
|
.column2 {
|
|
float: left;
|
|
width: 50%;
|
|
padding: 4px;
|
|
}
|
|
|
|
/* Clear floats after the columns */
|
|
.row:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
|
|
/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
|
|
@media screen and (max-width: 1400px) {
|
|
.column1 {
|
|
width: 99%;
|
|
}
|
|
.column2 {
|
|
width: 99%;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
<link rel="stylesheet" href="../Navi.css" type="text/css" media="screen" />
|
|
<table class="naviTab">
|
|
<tr>
|
|
<td class="naviTab">
|
|
<a href="Messages.aspx" class="navi">Meldungen</a> > 
|
|
</td>
|
|
<td class="naviTab">
|
|
<dx:ASPxLabel CssClass="textHeader" ID="ASPxLabelReport1" runat="server" Text="Berichte"></dx:ASPxLabel> > 
|
|
</td>
|
|
<td class="naviTab">
|
|
<dx:ASPxLabel CssClass="textHeader" ID="ASPxLabelStatusAccess1" runat="server" Text="Meldungen Zutrittskontrolle"></dx:ASPxLabel>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div class="textTitle">
|
|
<dx:ASPxLabel CssClass="textTitle" ID="ASPxLabelLocationTitle" runat="server" Text="Meldungsliste Zutrittskontrolle"></dx:ASPxLabel>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br />
|
|
<table style="font-family:'Segoe UI';">
|
|
<tr>
|
|
<td>
|
|
Von:
|
|
</td>
|
|
<td style="padding-left:6px; padding-top:4px;">
|
|
<dx:ASPxDateEdit ID="ASPxDateEdit1" runat="server" Theme="TALAS5Standard" Width="90px"></dx:ASPxDateEdit>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Bis:
|
|
</td>
|
|
<td style="padding-left:6px; padding-top:4px;">
|
|
<dx:ASPxDateEdit ID="ASPxDateEdit2" runat="server" Theme="TALAS5Standard" Width="90px"></dx:ASPxDateEdit>
|
|
</td>
|
|
<td style="padding-left:6px;">
|
|
<dx:ASPxButton ID="ASPxButton1" runat="server" Text="Aktualisieren" Theme="TALAS5Standard" OnClick="ASPxButton1_Click"></dx:ASPxButton>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br />
|
|
|
|
<dx:ASPxGridView ID="ASPxGvMessages" ClientInstanceName="gridMessages" ClientIDMode="Static" runat="server" DataSourceID="ObjectDataSourceMessages" OnHtmlRowCreated="ASPxGvMessages_HtmlRowCreated" Theme="TALAS5Standard" AutoGenerateColumns="False" EnablePagingGestures="False" Width="99%" >
|
|
<Toolbars>
|
|
<dx:GridViewToolbar Position="Bottom" ItemAlign="Right">
|
|
<SettingsAdaptivity Enabled="true" EnableCollapseRootItemsToIcons="true" />
|
|
<Items>
|
|
<dx:GridViewToolbarItem Command="ExportToPdf" />
|
|
<dx:GridViewToolbarItem Command="ExportToXlsx" />
|
|
<dx:GridViewToolbarItem Command="ExportToDocx" />
|
|
<dx:GridViewToolbarItem Command="ExportToCsv" />
|
|
</Items>
|
|
</dx:GridViewToolbar>
|
|
</Toolbars>
|
|
<StylesExport>
|
|
<Cell Font-Names="Arial">
|
|
</Cell>
|
|
</StylesExport>
|
|
<SettingsPager PageSize="500" Mode="ShowAllRecords">
|
|
</SettingsPager>
|
|
|
|
|
|
|
|
|
|
<Settings ShowFilterBar="Auto" ShowFilterRowMenu="True" ShowFooter="True" ShowGroupPanel="True" UseFixedTableLayout="True" VerticalScrollableHeight="480" VerticalScrollBarMode="Auto" VerticalScrollBarStyle="Virtual" />
|
|
|
|
<SettingsResizing ColumnResizeMode="NextColumn" />
|
|
|
|
<SettingsPopup>
|
|
<HeaderFilter MinHeight="140px"></HeaderFilter>
|
|
</SettingsPopup>
|
|
<SettingsSearchPanel Visible="True" />
|
|
|
|
<SettingsExport EnableClientSideExportAPI="True" ExcelExportMode="WYSIWYG" Landscape="true" FileName="TALAS_Zutrittskontrolle_Meldungen">
|
|
</SettingsExport>
|
|
|
|
|
|
<Columns>
|
|
<dx:GridViewDataTextColumn Caption="Zeitstempel" FieldName="Timestamp" VisibleIndex="0" Width="110px">
|
|
<PropertiesTextEdit DisplayFormatString="dd.MM.yyyy HH:mm:ss">
|
|
</PropertiesTextEdit>
|
|
<Settings AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
<dx:GridViewDataTextColumn Caption="Zustand" CellStyle-HorizontalAlign="Center" FieldName="MessagePrioName" VisibleIndex="2" Width="70px">
|
|
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
|
<CellStyle HorizontalAlign="Center"></CellStyle>
|
|
</dx:GridViewDataTextColumn>
|
|
|
|
|
|
<dx:GridViewDataTextColumn Caption="Gerät" Visible="false" FieldName="Device" VisibleIndex="7" >
|
|
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
<dx:GridViewDataTextColumn Caption="Datenpunktname" FieldName="Name" VisibleIndex="10" >
|
|
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
<dx:GridViewDataTextColumn Caption="Meldungsgruppe" Visible="false" FieldName="MessageGroup" VisibleIndex="11" >
|
|
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
<dx:GridViewDataTextColumn Caption="Meldung" FieldName="Message" Visible="true" VisibleIndex="8" Width="280px">
|
|
<Settings AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
<dx:GridViewDataTextColumn Caption="Wert" FieldName="Value" Visible="False" VisibleIndex="9">
|
|
</dx:GridViewDataTextColumn>
|
|
|
|
<dx:GridViewDataTextColumn Caption="TempMessageColor" FieldName="MessagePrioColor" Visible="false" VisibleIndex="20">
|
|
</dx:GridViewDataTextColumn>
|
|
|
|
<dx:GridViewDataTextColumn Caption="Typ" FieldName="Typ" Visible="true" VisibleIndex="14" Width="110px">
|
|
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
|
|
<dx:GridViewDataTextColumn Caption="Sachgebiet" FieldName="District" Visible="true" VisibleIndex="3">
|
|
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
|
|
<dx:GridViewDataTextColumn Caption="Standort" FieldName="Area" Visible="true" VisibleIndex="4">
|
|
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
|
|
<dx:GridViewDataTextColumn Caption="Bereich" FieldName="Location" Visible="true" VisibleIndex="5" Width="100px">
|
|
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
|
|
<dx:GridViewDataTextColumn Caption="Kommentar Datenpunkt" FieldName="CommentDP" Visible="true" VisibleIndex="12">
|
|
<Settings AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
|
|
<dx:GridViewDataTextColumn Caption="Kommentar Meldung" FieldName="CommentMessage" Visible="true" VisibleIndex="13">
|
|
<Settings AllowSort="True" />
|
|
</dx:GridViewDataTextColumn>
|
|
|
|
</Columns>
|
|
|
|
|
|
<Styles>
|
|
<Cell Font-Size="8pt">
|
|
<Paddings Padding="0px" PaddingLeft="4px" PaddingRight="2px" />
|
|
</Cell>
|
|
<CommandColumn Border-BorderStyle="None">
|
|
<Paddings PaddingBottom="0px" PaddingTop="0px" />
|
|
</CommandColumn>
|
|
|
|
</Styles>
|
|
</dx:ASPxGridView>
|
|
|
|
|
|
|
|
<asp:ObjectDataSource ID="ObjectDataSourceMessages" runat="server" SelectMethod="GetHistoryAccess" TypeName="TalasLibary.MessagesClass" >
|
|
<SelectParameters>
|
|
<asp:ControlParameter ControlID="ASPxDateEdit1" Name="from" PropertyName="Value" Type="DateTime" />
|
|
<asp:ControlParameter ControlID="ASPxDateEdit2" Name="until" PropertyName="Value" Type="DateTime" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
|
|
<asp:ObjectDataSource ID="ObjectDataSourceMessageGroup" runat="server" SelectMethod="GetMessageGroups" TypeName="TalasLibary.ReportsClass" >
|
|
</asp:ObjectDataSource>
|
|
|
|
<asp:ObjectDataSource ID="ObjectDataSourceSystems" runat="server" SelectMethod="GetSystems" TypeName="TalasLibary.ReportsClass" >
|
|
</asp:ObjectDataSource>
|
|
|
|
|
|
|
|
<dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server" GridViewID="ASPxGvMessages" Landscape="True">
|
|
<Styles>
|
|
|
|
<Preview Font-Names="Arial" Font-Size="12px">
|
|
</Preview>
|
|
|
|
<Title Font-Names="Arial" Font-Size="12px"></Title>
|
|
|
|
<Header Font-Names="Arial" Font-Size="8px">
|
|
</Header>
|
|
<Cell Font-Names="Arial" Font-Size="8px">
|
|
</Cell>
|
|
</Styles>
|
|
<PageHeader Center="TALAS">
|
|
</PageHeader>
|
|
</dx:ASPxGridViewExporter>
|
|
|
|
|
|
<div>
|
|
|
|
|
|
</div>
|
|
</asp:Content>
|