first commit
This commit is contained in:
246
MessagesMap/ReportEMS1.aspx
Normal file
246
MessagesMap/ReportEMS1.aspx
Normal file
@@ -0,0 +1,246 @@
|
||||
|
||||
<%@ Page Title="TALAS" Language="C#" MasterPageFile="~/Standard.Master" AutoEventWireup="true" CodeBehind="ReportEMS1.aspx.cs" Inherits="TALAS_V5.MessagesMap.ReportEMS1" %>
|
||||
<%@ 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="EMS Messstellenliste"></dx:ASPxLabel>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="textTitle">
|
||||
<dx:ASPxLabel CssClass="textTitle" ID="ASPxLabelLocationTitle" runat="server" Text="EMS Messstellenliste"></dx:ASPxLabel>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dx:ASPxGridView ID="ASPxGvMessages" ClientInstanceName="gridMessages" ClientIDMode="Static" runat="server" DataSourceID="ObjectDataSourceCounter" 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="EMS Messstellenliste">
|
||||
</SettingsExport>
|
||||
|
||||
|
||||
<Columns>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Name" FieldName="Name" VisibleIndex="0" Width="110px">
|
||||
<Settings AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Bezeichnung" CellStyle-HorizontalAlign="Left" FieldName="Designation" VisibleIndex="2" >
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
<CellStyle HorizontalAlign="Left"></CellStyle>
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Standort" CellStyle-HorizontalAlign="Left" FieldName="Areaname" VisibleIndex="3" >
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
<CellStyle HorizontalAlign="Left"></CellStyle>
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Bereich" CellStyle-HorizontalAlign="Left" FieldName="Locationname" VisibleIndex="4" >
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
<CellStyle HorizontalAlign="Left"></CellStyle>
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Einbauort" CellStyle-HorizontalAlign="Left" FieldName="Ort" VisibleIndex="5" >
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
<CellStyle HorizontalAlign="Left"></CellStyle>
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Typ" FieldName="Typ" VisibleIndex="5" >
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Medium" FieldName="Medium" VisibleIndex="9" >
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="aktueller Jahresverbauch" HeaderStyle-Wrap="True" FieldName="ConsumptionYear" CellStyle-HorizontalAlign="right" VisibleIndex="10" Width="100px">
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
<dx:GridViewDataTextColumn Caption="Einheit" FieldName="Unit" VisibleIndex="11" CellStyle-HorizontalAlign="left" Width="60px">
|
||||
<Settings AllowAutoFilter="False" AllowGroup="False" AllowHeaderFilter="False" AllowSort="False" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="aktueller Monatsverbauch" HeaderStyle-Wrap="True" FieldName="ConsumptionMonth" CellStyle-HorizontalAlign="right" VisibleIndex="12" Width="100px">
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
<dx:GridViewDataTextColumn Caption="Einheit" FieldName="Unit" VisibleIndex="13" CellStyle-HorizontalAlign="left" Width="60px">
|
||||
<Settings AllowAutoFilter="False" AllowGroup="False" AllowHeaderFilter="False" AllowSort="False" />
|
||||
</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="ObjectDataSourceCounter" runat="server" SelectMethod="GetCounterList" TypeName="TalasEMS.Devicelist" >
|
||||
<SelectParameters>
|
||||
|
||||
</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>
|
||||
Reference in New Issue
Block a user