platform/wms/Charts - 副本 (2).aspx.exclude

578 lines
26 KiB
Plaintext
Raw Permalink Normal View History

2024-02-18 23:33:54 +08:00
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Charts.aspx.cs" Inherits="wms_Charts" %>
<%@ Register assembly="DevExpress.XtraCharts.v16.2.Web, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dx" %>
<%@ Register assembly="DevExpress.XtraCharts.v16.2, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="dx" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!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 runat="server">
<title></title>
<style>
#warp{width:100%;height:100%;background:#000;}
</style>
</head>
<body id="warp">
<form id="form1" runat="server">
<script type="text/javascript" language="javascript">
<!-- #include file="../public/JScript.js" -->
</script>
<asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True"
EnableScriptLocalization="True" AsyncPostBackTimeout="180">
</asp:ScriptManager>
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table width="95%" height="100%" align="center" >
<tr>
<td/><td/>
<td align="center"> <input name="thetime" style="border-style: none; border-color: inherit; border-width: 0; font-size: 29pt;
background:inherit; color: White; width:100%; text-align:center;" />
</td>
<td></td><td/>
</tr>
<tr><td colspan="5" align="center" style="border-style: none; border-color: inherit; border-width: 0; font-size: 29pt;
background:inherit; color: White; width:100%; text-align:center;" >
辣得叫库房任务看板
</td></tr>
<tr><td colspan="5"></p> </p> </td></tr>
<tr>
<td/>
<td >
&nbsp;</td>
<td align="center">
<table Height="800px" Width="auto" ><tr>
<td>
<table Height="800px" Width="auto" >
<tr>
<td>
<dx:WebChartControl ID="WebChartOutOrders" runat="server"
AppearanceNameSerializable="Pastel Kit" BackColor="Black"
CrosshairEnabled="True" Height="320px" PaletteName="Pastel Kit"
Width="320px">
<Legend MarkerSize="20, 22" Name="Default Legend" Visibility="False">
<Border Visibility="False" />
</Legend>
<SeriesSerializable>
<dx:Series Name="Series 1">
<Points>
<dx:SeriesPoint ArgumentSerializable="未到货" SeriesPointID="0" Values="20">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="完成验收" SeriesPointID="1" Values="30">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="完成上架" SeriesPointID="2" Values="30">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="正在验收" SeriesPointID="3" Values="1">
</dx:SeriesPoint>
</Points>
<ViewSerializable>
<dx:DoughnutSeriesView>
<Titles>
<dx:SeriesTitle Font="黑体, 22pt, style=Bold" Text="出库订单"
TextColor="255, 255, 255" />
</Titles>
</dx:DoughnutSeriesView>
</ViewSerializable>
<LabelSerializable>
<dx:DoughnutSeriesLabel Font="Tahoma, 14pt" LineVisibility="True"
Position="Inside" TextPattern="{A}{V}">
<Border Visibility="True" />
</dx:DoughnutSeriesLabel>
</LabelSerializable>
</dx:Series>
</SeriesSerializable>
</dx:WebChartControl>
</td>
<td>
<dx:WebChartControl ID="WebChartInOrders" runat="server"
AppearanceNameSerializable="Pastel Kit" BackColor="Black"
CrosshairEnabled="True" Height="320px" PaletteName="Pastel Kit"
Width="320px">
<Legend MarkerSize="20, 22" Name="Default Legend" Visibility="False">
<Border Visibility="False" />
</Legend>
<SeriesSerializable>
<dx:Series Name="Series 1">
<Points>
<dx:SeriesPoint ArgumentSerializable="未到货" SeriesPointID="0" Values="20">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="完成验收" SeriesPointID="1" Values="30">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="完成上架" SeriesPointID="2" Values="30">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="正在验收" SeriesPointID="3" Values="1">
</dx:SeriesPoint>
</Points>
<ViewSerializable>
<dx:DoughnutSeriesView>
<Titles>
<dx:SeriesTitle Font="黑体, 22pt, style=Bold" Text="入库订单"
TextColor="255, 255, 255" />
</Titles>
</dx:DoughnutSeriesView>
</ViewSerializable>
<LabelSerializable>
<dx:DoughnutSeriesLabel Font="Tahoma, 14pt" LineVisibility="True"
Position="Inside" TextPattern="{A}{V}">
<Border Visibility="True" />
</dx:DoughnutSeriesLabel>
</LabelSerializable>
</dx:Series>
</SeriesSerializable>
</dx:WebChartControl>
</td>
</tr>
<tr> <td colspan="2">
<dx:WebChartControl ID="WebChartControl1" runat="server"
CrosshairEnabled="True" Height="400px" Width="640px" BackColor="#000000">
<DiagramSerializable>
<dx:XYDiagram>
<AxisX Visibility="True" VisibleInPanesSerializable="-1">
<Label Font="黑体, 10pt" TextColor="255, 255, 255">
</Label>
</AxisX>
<AxisY Visibility="False" VisibleInPanesSerializable="-1">
</AxisY>
<DefaultPane BackColor="0, 0, 0">
</DefaultPane>
</dx:XYDiagram>
</DiagramSerializable>
<Legend AlignmentHorizontal="Center" BackColor="Black"
Font="黑体, 14pt, style=Bold" MarkerSize="30, 26" Name="Default Legend"
TextColor="255, 255, 255">
<Border Visibility="False" />
<Title Font="黑体, 14pt, style=Bold"></Title></Legend>
<SeriesSerializable>
<dx:Series LabelsVisibility="True" Name="入库订单行数">
<Points>
<dx:SeriesPoint ArgumentSerializable="2023-10-1" Values="100">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="2023/11/8 0:00:00" Values="200">
</dx:SeriesPoint>
</Points>
<ViewSerializable>
<dx:LineSeriesView Color="255, 255, 0" MarkerVisibility="True">
<LineStyle Thickness="5" />
<LineMarkerOptions Color="255, 255, 0" Kind="Diamond" Size="18">
</LineMarkerOptions>
</dx:LineSeriesView>
</ViewSerializable>
<LabelSerializable>
<dx:PointSeriesLabel BackColor="0, 0, 0" Font="Tahoma, 10pt, style=Bold"
TextColor="255, 255, 255" TextPattern="{V}">
<Border Color="255, 255, 255" Thickness="4" Visibility="False" />
</dx:PointSeriesLabel>
</LabelSerializable>
</dx:Series>
<dx:Series LabelsVisibility="True" Name="出库订单行数">
<Points>
<dx:SeriesPoint ArgumentSerializable="2023/11/8 0:00:00" Values="500">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="2023/10/1 0:00:00" Values="200">
</dx:SeriesPoint>
</Points>
<ViewSerializable>
<dx:LineSeriesView Color="240, 0, 0">
<LineStyle Thickness="5" />
<LineMarkerOptions Size="18">
</LineMarkerOptions>
</dx:LineSeriesView>
</ViewSerializable>
<LabelSerializable>
<dx:PointSeriesLabel Font="Tahoma, 10pt, style=Bold" LineVisibility="True">
<Border Visibility="False" />
</dx:PointSeriesLabel>
</LabelSerializable>
</dx:Series>
</SeriesSerializable>
</dx:WebChartControl>
</td> </tr>
</table>
</td>
<td>
<dx:WebChartControl ID="WebChartEmpTasks" runat="server"
AppearanceNameSerializable="Pastel Kit" BackColor="Black"
CrosshairEnabled="True" Height="400px" PaletteName="Pastel Kit"
Width="400px">
<BorderOptions Visibility="False" />
<DiagramSerializable>
<dx:XYDiagram Rotated="True">
<axisx Color="Black" InterlacedColor="0, 0, 0" Title-Text=""
Title-Visibility="True" Visibility="True" visibleinpanesserializable="-1">
<InterlacedFillStyle FillMode="Solid">
</InterlacedFillStyle>
<Tickmarks MinorVisible="False" Visible="False" />
<Label BackColor="Black" Font="仿宋, 14pt, style=Bold" TextColor="255, 255, 255">
</Label>
</axisx>
<axisy Visibility="False" visibleinpanesserializable="-1">
</axisy>
<DefaultPane BackColor="0, 0, 0" Weight="2">
<FillStyle FillMode="Solid">
</FillStyle>
<Shadow Color="Black" />
</DefaultPane>
</dx:XYDiagram>
</DiagramSerializable>
<Legend Name="Default Legend" Visibility="False"></Legend>
<SeriesSerializable>
<dx:Series LabelsVisibility="True" Name="完成数">
<Points>
<dx:SeriesPoint ArgumentSerializable="验收" Values="50">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="2" Values="30">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="3" Values="20">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="4" Values="30">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="5" Values="40">
</dx:SeriesPoint>
</Points>
<viewserializable>
<dx:StackedBarSeriesView BarWidth="0.5" Color="240, 0, 0" ColorEach="True">
<Border Color="240, 0, 0" Visibility="True" />
<FillStyle FillMode="Gradient">
<OptionsSerializable>
<dx:RectangleGradientFillOptions GradientMode="BottomToTop" />
</OptionsSerializable>
</FillStyle>
</dx:StackedBarSeriesView>
</viewserializable>
<LabelSerializable>
<dx:StackedBarSeriesLabel Font="Tahoma, 10pt, style=Bold">
</dx:StackedBarSeriesLabel>
</LabelSerializable>
</dx:Series>
<dx:Series LabelsVisibility="True" Name="任务数" ShowInLegend="False"
Visible="False">
<Points>
<dx:SeriesPoint ArgumentSerializable="验收" Values="60">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="2" Values="50">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="3" Values="100">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="4" Values="60">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="5" Values="100">
</dx:SeriesPoint>
</Points>
<ViewSerializable>
<dx:SideBySideStackedBarSeriesView BarWidth="0.5" Color="221, 217, 195">
<FillStyle FillMode="Hatch">
<OptionsSerializable>
<dx:HatchFillOptions Color2="Black" />
</OptionsSerializable>
</FillStyle>
</dx:SideBySideStackedBarSeriesView>
</ViewSerializable>
<LabelSerializable>
<dx:StackedBarSeriesLabel BackColor="Black" Font="Tahoma, 12pt, style=Bold"
Indent="1" Position="TopInside" TextColor="White">
</dx:StackedBarSeriesLabel>
</LabelSerializable>
</dx:Series>
</SeriesSerializable>
<SeriesTemplate>
<ViewSerializable>
<dx:StackedBarSeriesView>
</dx:StackedBarSeriesView>
</ViewSerializable>
</SeriesTemplate>
<Titles>
<dx:ChartTitle Font="黑体, 22pt, style=Bold" Text="当日绩效"
TextColor="255, 255, 255" Visibility="True" />
</Titles>
</dx:WebChartControl>
</td><td>
<dx:WebChartControl ID="WebChartTasks" runat="server"
CrosshairEnabled="True" Height="400px" Width="480px"
AppearanceNameSerializable="Pastel Kit" BackColor="Black"
PaletteName="Pastel Kit">
<BorderOptions Visibility="False" />
<DiagramSerializable>
<dx:XYDiagram>
<axisx visibleinpanesserializable="-1" Title-Text="" Visibility="True"
Color="Black" InterlacedColor="0, 0, 0" Title-Visibility="True">
<InterlacedFillStyle FillMode="Solid">
</InterlacedFillStyle>
<Tickmarks MinorVisible="False" Visible="False" />
<Label BackColor="Black" Font="仿宋, 14pt, style=Bold" TextColor="255, 255, 255">
</Label>
</axisx>
<axisy visibleinpanesserializable="-1" Visibility="False">
</axisy>
<DefaultPane BackColor="0, 0, 0" Weight="2">
<FillStyle FillMode="Solid">
</FillStyle>
<Shadow Color="Black" />
</DefaultPane>
</dx:XYDiagram>
</DiagramSerializable>
<Legend Name="Default Legend" Visibility="False"></Legend>
<SeriesSerializable>
<dx:Series Name="任务数" LabelsVisibility="True" ShowInLegend="False">
<Points>
<dx:SeriesPoint ArgumentSerializable="验收" Values="60">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="2" Values="50">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="3" Values="100">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="4" Values="60">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="5" Values="100">
</dx:SeriesPoint>
</Points>
<viewserializable>
<dx:SideBySideStackedBarSeriesView BarWidth="0.5" Color="221, 217, 195">
<FillStyle FillMode="Hatch">
<OptionsSerializable>
<dx:HatchFillOptions Color2="0, 0, 0" />
</OptionsSerializable>
</FillStyle>
</dx:SideBySideStackedBarSeriesView>
</viewserializable>
<LabelSerializable>
<dx:StackedBarSeriesLabel Font="Tahoma, 12pt, style=Bold" Indent="1"
Position="TopInside" BackColor="0, 0, 0" TextColor="255, 255, 255">
</dx:StackedBarSeriesLabel>
</LabelSerializable>
</dx:Series>
<dx:Series LabelsVisibility="True" Name="完成数">
<Points>
<dx:SeriesPoint ArgumentSerializable="验收" Values="50">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="2" Values="30">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="3" Values="20">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="4" Values="30">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="5" Values="40">
</dx:SeriesPoint>
</Points>
<ViewSerializable>
<dx:StackedBarSeriesView BarWidth="0.5" Color="240, 0, 0" ColorEach="True">
<Border Color="240, 0, 0" Visibility="True" />
<FillStyle FillMode="Gradient">
<OptionsSerializable>
<dx:RectangleGradientFillOptions GradientMode="BottomToTop" />
</OptionsSerializable>
</FillStyle>
</dx:StackedBarSeriesView>
</ViewSerializable>
<LabelSerializable>
<dx:StackedBarSeriesLabel Font="Tahoma, 10pt, style=Bold">
</dx:StackedBarSeriesLabel>
</LabelSerializable>
</dx:Series>
</SeriesSerializable>
<SeriesTemplate>
<ViewSerializable>
<dx:StackedBarSeriesView>
</dx:StackedBarSeriesView>
</ViewSerializable>
</SeriesTemplate>
<Titles>
<dx:ChartTitle Font="黑体, 22pt, style=Bold" Text="任务一览"
TextColor="255, 255, 255" Visibility="True" />
</Titles>
</dx:WebChartControl>
</td><td>
<dx:WebChartControl ID="WebChartLocs" runat="server"
CrosshairEnabled="True" Height="400px" Width="320px"
AppearanceNameSerializable="Pastel Kit" BackColor="Black"
PaletteName="Pastel Kit">
<BorderOptions Visibility="False" />
<DiagramSerializable>
<dx:XYDiagram>
<axisx visibleinpanesserializable="-1" Title-Text="" Visibility="True"
Color="Black" InterlacedColor="0, 0, 0" Title-Visibility="True">
<InterlacedFillStyle FillMode="Solid">
</InterlacedFillStyle>
<Tickmarks MinorVisible="False" Visible="False" />
<Label BackColor="Black" Font="仿宋, 14pt, style=Bold" TextColor="255, 255, 255">
</Label>
</axisx>
<axisy visibleinpanesserializable="-1" Visibility="False">
</axisy>
<DefaultPane BackColor="0, 0, 0" Weight="2">
<FillStyle FillMode="Solid">
</FillStyle>
<Shadow Color="Black" />
</DefaultPane>
</dx:XYDiagram>
</DiagramSerializable>
<Legend Name="Default Legend" Visibility="False"></Legend>
<SeriesSerializable>
<dx:Series Name="任务数" LabelsVisibility="True" ShowInLegend="False">
<Points>
<dx:SeriesPoint ArgumentSerializable="验收" Values="60">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="2" Values="50">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="3" Values="100">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="4" Values="60">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="5" Values="100">
</dx:SeriesPoint>
</Points>
<viewserializable>
<dx:SideBySideStackedBarSeriesView BarWidth="0.5" Color="221, 217, 195">
<FillStyle FillMode="Hatch">
<OptionsSerializable>
<dx:HatchFillOptions Color2="0, 0, 0" />
</OptionsSerializable>
</FillStyle>
</dx:SideBySideStackedBarSeriesView>
</viewserializable>
<LabelSerializable>
<dx:StackedBarSeriesLabel Font="Tahoma, 12pt, style=Bold" Indent="1"
Position="TopInside" BackColor="0, 0, 0" TextColor="255, 255, 255">
</dx:StackedBarSeriesLabel>
</LabelSerializable>
</dx:Series>
<dx:Series LabelsVisibility="True" Name="完成数">
<Points>
<dx:SeriesPoint ArgumentSerializable="验收" Values="50">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="2" Values="30">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="3" Values="20">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="4" Values="30">
</dx:SeriesPoint>
<dx:SeriesPoint ArgumentSerializable="5" Values="40">
</dx:SeriesPoint>
</Points>
<ViewSerializable>
<dx:StackedBarSeriesView BarWidth="0.5" Color="240, 0, 0" ColorEach="True">
<Border Color="240, 0, 0" Visibility="True" />
<FillStyle FillMode="Gradient">
<OptionsSerializable>
<dx:RectangleGradientFillOptions GradientMode="BottomToTop" />
</OptionsSerializable>
</FillStyle>
</dx:StackedBarSeriesView>
</ViewSerializable>
<LabelSerializable>
<dx:StackedBarSeriesLabel Font="Tahoma, 10pt, style=Bold">
</dx:StackedBarSeriesLabel>
</LabelSerializable>
</dx:Series>
</SeriesSerializable>
<SeriesTemplate>
<ViewSerializable>
<dx:StackedBarSeriesView>
</dx:StackedBarSeriesView>
</ViewSerializable>
</SeriesTemplate>
<Titles>
<dx:ChartTitle Font="黑体, 22pt, style=Bold" Text="货位使用"
TextColor="255, 255, 255" Visibility="True" />
</Titles>
</dx:WebChartControl>
</td></tr>
</table>
</td>
<td>
</td>
<td/>
</tr>
<tr>
<td align="center" colspan=5>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
<script language="JavaScript">
function showDate() {
now = new Date();
document.form1.thetime.value = now.toLocaleString();
setTimeout("showDate()", 1000);
}
showDate();
function updateCharts() {
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
theForm.submit();
setTimeout("updateCharts()",60000);
}
// updateCharts();
setTimeout(" location.reload()", 60000);
// ------->
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_initializeRequest(InitializeRequest);
prm.add_endRequest(EndRequest);
function InitializeRequest(sender, args) {
$get('Container').style.cursor = 'wait';
}
function EndRequest(sender, args) {
$get('Container').style.cursor = 'auto';
}
</script>
</body>
</html>