123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892 |
- <%@ page language="java" contentType="text/html;charset=utf-8"%>
- <%@include file="/pages/includes/taglibs.jsp"%>
- <html>
- <head>
- <link rel="stylesheet" type="text/css" media="screen" href="<%=request.getContextPath() %>/resource/plugin/jqgrid/css/ui.jqgrid.css" />
- <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
- <script src="<%=request.getContextPath() %>/resource/js/jquery-1.8.3.js" type="text/javascript"></script>
- <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/js/jquery-ui-1.9.2.custom.js" type="text/javascript"></script>
- <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts.src.js" type="text/javascript"> </script>
- <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts-more.js"></script>
- <script type="text/javascript" src="<%=request.getContextPath()%>/resource/plugin/highslide/highslide-with-html.js"></script>
- <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resource/plugin/highslide/highslide.css" />
- <script src="<%=request.getContextPath()%>/resource/js/highcharts/modules/solid-gauge.src.js"></script>
- <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/jquery.jqGrid.min.js"></script>
- <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/i18n/grid.locale-cn.js"></script>
- <script type="text/ecmascript" src="<%=request.getContextPath()%>/resource/js/system/jqdatagridpage.js"></script>
- <script src="<%=request.getContextPath()%>/resource/js/datePicker/WdatePicker.js" type="text/javascript"></script>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <style type="text/css">
- body {
- margin-left: 0px;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- }
- .value_Name {
- font-family: "Times New Roman", Times, serif;
- font-size: 14px;
- font-weight: bolder;
- color: #666;
- }
- .station_Name {
- font-family: "Times New Roman", Times, serif;
- font-size: 14px;
- font-weight: bolder;
- color: #666;
- }
- @font-face {
- font-family: 'fontNameRegular';
- src:
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.eot')
- ;
- src: local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont Regular'
- ),
- local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont'),
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.woff')
- format('woff'),
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.ttf')
- format('truetype'),
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.svg#fontName')
- format('svg');
- font-size: 36px;
- font-weight: bolder;
- }
- .item_Name { font-family: Arial, Helvetica, sans-serif;
- font-size: 12px;
- font-weight: bolder;
- color: #333;
- }
- .unit_Name { font-family: Arial, Helvetica, sans-serif;
- font-size: 12px;
- color: #333;
- }
- </style>
- <script type="text/javascript">
- hs.graphicsDir = '<%=request.getContextPath()%>/resource/plugin/highslide/graphics/';
- hs.outlineType = 'rounded-white';
- hs.wrapperClassName = 'draggable-header';
- var chart1;
- var chart2;
- var options1;
- var options2;
- Highcharts.setOptions( {
- global : {
- useUTC : false
- }
- });
-
- $(document).ready(function() {
- var wp='<s:property value="windfarm"/>';
- var wt='<s:property value="windturbineid"/>';
- var rd='<s:property value="recorddate"/>';
- $("#recorddate").val(rd);
- $("#windfarm").val(wp);
- $("#windturbineid").val(wt);
- changeFc(wp, wt);
- options1 = {
- colors : [ '#00B259', //绿
- '#B20000', //红
- '#000000'
- ],
- chart : {
- renderTo : 'container1',
- type : 'spline',
- width:1520,
- height:200,
- //backgroundColor:'#BFDFFF',
- //plotBackgroundColor:'#BFDFFF',
- zoomType : 'x',
- events : {
- }
- },
- title : {
- text : ' '
- },
- subtitle : {
- text : ''
- },
- xAxis : {
- labels : {
- align : 'center',
- formatter : function() {
- return Highcharts.dateFormat('%H<br/>%M', this.value);
- }
- },
- plotBands: [${plotBand}],
-
- type : 'datetime'
-
- },
- yAxis : [{
- labels: {
- format: '{value}KW',
- style: {
- color: '#89A54E'
- }
- },
- title : {
- text : '功率数值(KW)'
- }
- }, {
- labels: {
- format: '{value} m/s',
- style: {
- color: '#4572A7'
- }
- },
- title : {
- text : '风速(m/s)'
- },
- lineWidth : 1,
- plotLines:[{
- color:'red', //线的颜色,定义为红色
- dashStyle:'solid', //默认是值,这里定义为长虚线
- value:${inputsmall}, //定义在那个值上显示标示线,这里是在x轴上刻度为3的值处垂直化一条线
- width:2, //标示线的宽度,2px
- label:{
- text:'切入风速${inputsmall}m/s', //标签的内容
- align:'left', //标签的水平位置,水平居左,默认是水平居中center
- x:-90, //标签相对于被定位的位置水平偏移的像素,重新定位,水平居左10px
- style:{
- fontSize:'14px',
- fontWeight:'bold'
- }
- }
- }],
- min:0,
- opposite : true
- } ],
- legend : {
- layout : 'vertical',
- // backgroundColor: '#FFFFFF',
- align : 'right',
- verticalAlign : 'top',
- floating : true,
- x:-80
- // shadow: true
- // layout: 'vertical',
- // align: 'right',
- // verticalAlign: 'middle',
- // borderWidth: 0
- },
- tooltip : {
- crosshairs : {//控制十字线
- width : 2
- },
- shared : true,
- xDateFormat : '%Y-%m-%d %H:%M'
- /*formatter: function() {
- return '<b>'+ this.series.name +'</b>:'+
- Highcharts.numberFormat(this.y, 2) +' 万kW<br/>时间:'+
- Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x);
- }*/
- },
- credits : {
- enabled : false
- },
- /*
- plotOptions : {
- spline : {
- dataLabels : {
- enabled : false
- },
- // pointPadding: 0.2,
- borderWidth : 0
- },
- series : {
- cursor : 'pointer',
- marker : {
- radius : 0,
- symbol : 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
- }
- }
- },*/
- series : [ {
- type : 'spline',
- name : '实发功率(单位:KW)',
- yAxis : 0
- }, {
- type : 'spline',
- name : '应发功率(单位:KW)',
- yAxis : 0
- }, {
- type : 'spline',
- name : '平均风速',
- yAxis : 1
- } ]
- };
- /***************************************************************************************************/
- options2 = {
- colors: [
- '#0BFEFA', //发电量
-
- '#FD0100',//检修
- '#FF7B16', //故障
- '#D201D8',//限电
- '#8085E9', //性能
- '#000000'//风速
-
-
-
- ],
- chart: {
- renderTo: 'container2',
- type: 'column',
- width:1520,
- height:200,
- //backgroundColor:'#BFDFFF',
- //plotBackgroundColor:'#BFDFFF',
- zoomType: 'x'
- },title:null ,
-
- xAxis: {
- type: 'datetime',
- labels: {
- align: 'center',
- formatter: function() {
- return Highcharts.dateFormat('%H<br/>%M', this.value);
- }
- }
- },
- yAxis: [{ // Primary yAxis
- labels: {
- format: '{value}kwh',
- style: {
- color: '#89A54E'
- }
- },
- title: {
- text: '电量',
- style: {
- color: '#89A54E'
- }
- }
- }, { // Secondary yAxis
- title: {
- text: '风速',
- style: {
- color: '#4572A7'
- }
- },
-
- labels: {
- format: '{value} m/s',
- style: {
- color: '#4572A7'
- }
- },
- opposite: true
- }],
- legend: {
- layout: 'vertical',
- // backgroundColor: '#FFFFFF',
- align: 'right',
- verticalAlign: 'top',
- x:-80,
- floating: true
- // shadow: true
- // layout: 'vertical',
- // align: 'right',
- // verticalAlign: 'middle',
- // borderWidth: 0
- },
- tooltip: {
-
- shared:true,
- xDateFormat:'%Y-%m-%d %H:%M'
- /*formatter: function() {
- return '<b>'+ this.series.name +'</b>:'+
- Highcharts.numberFormat(this.y, 2) +' 万kW<br/>时间:'+
- Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x);
- }*/
- },
- series: [{
-
- name: '日发电量(单位:KWh)',
- yAxis:0
- },
-
- {name: '故障损失电量(单位:KWh)',
- yAxis:0
- },{
-
- name: '检修损失电量(单位:KWh)',
- yAxis:0
- },{
-
- name: '限电损失电量(单位:KWh)',
- yAxis:0
- }
- ,{
-
- name: '性能损失电量(单位:KWh)',
- yAxis:0
- },{
-
- name: '风速(单位:m/s)',
- yAxis:1,
- type: 'spline'
- }]
- };
- /***************************************************************************************************/
- apdata();
- realPowerCharBy24();
- bjjlGrid();
- gzjlGrid();
- xdjlGrid();
- });
- function changeFc(fcId, fjId) {
-
- var url = "../warn/changeFc.action?fcId=" + fcId;
- $
- .ajax({
- type : "post",
- url : url,
- dataType : "json",
- success : function(data) {
- if (data.length != 0) {
- eval(data);
- $("#windturbineid").empty();
- for ( var i = 0; i < data.length; i++) {
- $("#windturbineid").append("<option value='"+data[i].id+"'>"+data[i].code+"</option>");
- }
- $("#windturbineid").val(fjId);
- } else {
- $("#windturbineid").empty();
-
- }
- }
- });
- }
- function queryData() {
-
- var recorddate = $("#recorddate").val();
- var windfarm = $("#windfarm").val();
- var windturbineid = $("#windturbineid").val();
-
- if(windturbineid=='')
- {
- windturbineid='<s:property value="windturbineid"/>';
- }
- if ("" == windfarm) {
- alert("请选择风场!");
- return false;
- } else if ("" == windturbineid) {
- alert("请选择风机!");
- return false;
- }
- if ("" == recorddate) {
- alert("请选择查询日期!");
- return false;
- }
- $("#f1").attr("action", "../wtgoodness/detaillineindex.action").submit();
- }
-
- function bjjlGrid() {
-
- var recorddate = $("#recorddate").val();
- var windfarm = $("#windfarm").val();
- var windturbineid = $("#windturbineid").val();
- if(windturbineid=='')
- {
- windturbineid='<s:property value="windturbineid"/>';
- }
- var id = 'gridTable1';
- var url = '<%=request.getContextPath() %>/wtgoodness/bjjllist.action?windfarm='+windfarm
- +"&windturbineid="+windturbineid +"&recorddate="+recorddate;
- var datatype = 'json';
- var colNames = ['风机', '编号', '描述','报警日期'];
- var colModel = [
- { name: 'windturbineid', index: 'windturbineid', width: 100, align: 'center',hidden : true},
- { name: 'code', index: 'code', width: 100, align: 'center'},
- { name: 'warnDesc', index: 'warnDesc', width: 200, align: 'center'},
- { name: 'warningtime', index: 'warningtime', width: 200, align: 'center'}
- ];
- var caption = '当日报警记录';
- var sortname = 'warningtime';
- var gridPagerID ='gridPager1';
- var sortorder='desc';
- var height='200';
- var width='510';
- var rownumbers=false;
- var multiselect=false;
- myJqGrid(id, url, datatype, colNames, colModel, caption, sortname, gridPagerID,sortorder,height,width,
- multiselect,rownumbers);
- }
- function gzjlGrid() {
-
- var recorddate = $("#recorddate").val();
- var windfarm = $("#windfarm").val();
- var windturbineid = $("#windturbineid").val();
- if(windturbineid=='')
- {
- windturbineid='<s:property value="windturbineid"/>';
- }
- var id = 'gridTable2';
- var url = '<%=request.getContextPath() %>/wtgoodness/gzjllist.action?windfarm='+windfarm
- +"&windturbineid="+windturbineid +"&recorddate="+recorddate;
- var datatype = 'json';
- var colNames = ['风机', '编码', '停机日期','恢复日期'];
- var colModel = [
- { name: 'windturbineid', index: 'windturbineid', width: 100, align: 'center',hidden : true},
- { name: 'code', index: 'code', width: 100, align: 'center'},
- { name: 'stopTime', index: 'stopTime', width: 260, align: 'center'},
- { name: 'startTime', index: 'startTime', width: 260, align: 'center'}
- ];
- var caption = '当日故障记录';
- var sortname = 'stopTime';
- var gridPagerID ='gridPager2';
- var sortorder='desc';
- var height='200';
- var width='510';
- var rownumbers=false;
- var multiselect=false;
- myJqGrid(id, url, datatype, colNames, colModel, caption, sortname, gridPagerID,sortorder,height,width,
- multiselect,rownumbers);
- }
- function xdjlGrid() {
-
- var recorddate = $("#recorddate").val();
- var windfarm = $("#windfarm").val();
- var windturbineid = $("#windturbineid").val();
- if(windturbineid=='')
- {
- windturbineid='<s:property value="windturbineid"/>';
- }
- var id = 'gridTable3';
- var url = '<%=request.getContextPath() %>/wtgoodness/xdjllist.action?windfarm='+windfarm
- +"&windturbineid="+windturbineid +"&recorddate="+recorddate;
- var datatype = 'json';
- var colNames = ['名字', '停机时间','恢复时间', '损失电量','限电时长'];
- var colModel = [
- { name: 'windTurbineId', index: 'windTurbineId', width: 100, align: 'center'},
- { name: 'stopTime', index: 'stopTime', width: 110, align: 'center'},
- { name: 'startTime', index: 'startTime', width: 110, align: 'center'},
- { name: 'lossPower', index: 'lossPower', width: 100, align: 'center'},
- { name: 'stopHours', index: 'stopHours', width: 100, align: 'center'}
- ];
- var caption = '当日限电列表';
- var sortname = 'stopTime';
- var gridPagerID ='gridPager3';
- var sortorder='desc';
- var height='200';
- var width='520';
- var rownumbers=false;
- var multiselect=false;
- myJqGrid(id, url, datatype, colNames, colModel, caption, sortname, gridPagerID,sortorder,height,width,
- multiselect,rownumbers);
- }
- function realPowerCharBy24() {
- var recorddate = $("#recorddate").val();
- var windfarm = $("#windfarm").val();
- var windturbineid = $("#windturbineid").val();
- if(windturbineid=='')
- {
- windturbineid='<s:property value="windturbineid"/>';
- }
- var url = "findRealPowerCharBy24.action?windfarm="+windfarm
- +"&windturbineid="+windturbineid +"&recorddate="+recorddate;
- $.ajax({
- url : url,
- type : "post",
- cache : false,
- dataType : "json",
- async : false,
- data : {},
- ifModified : false,
- success : function(result) {
- var yfdl = [];
- var gzdl = [];
- var whdl = [];
- var xddl = [];
- var qfdl = [];
- var fs = [];
- var xtime = [];
- $.each(result, function(m, obj) {
- //if(m == result.length -1){
-
- yfdl.push( parseFloat(obj.value1) );
- whdl.push( parseFloat(obj.value2) );
- gzdl.push( parseFloat(obj.value3) );
- xddl.push( parseFloat(obj.value4) );
- qfdl.push( parseFloat(obj.value5) );
- fs.push( parseFloat(obj.value6) );
- xtime.push(parseFloat(obj.time));
- });
- //alert(xtime.length);
- options2.series[0].data = yfdl;
- options2.series[1].data = gzdl;
- options2.series[2].data = whdl;
- options2.series[3].data = xddl;
- options2.series[4].data = qfdl;
- options2.series[5].data = fs;
- options2.xAxis.categories = xtime;
- chart2 = new Highcharts.Chart(options2);
- }
- });
-
-
- }
- function apdata() {
- var recorddate = $("#recorddate").val();
- var windfarm = $("#windfarm").val();
- var windturbineid = $("#windturbineid").val();
- if(windturbineid=='')
- {
- windturbineid='<s:property value="windturbineid"/>';
- }
- var url = "lineChart.action?windfarm="+windfarm
- +"&windturbineid="+windturbineid +"&recorddate="+recorddate;
- $.ajax( {
- url : url,
- type : "post",
- cache : false,
- dataType : "json",
- data : {},
- ifModified : false,
- success : function(result) {
- var sjgl = [];
- var bzgl = [];
- var pjfs = [];
- var xtime = [];
-
- $.each(result, function(m, obj) {
-
- sjgl.push(parseFloat(obj.value1));
- bzgl.push(parseFloat(obj.value2));
- pjfs.push(parseFloat(obj.value3));
- xtime.push(parseFloat(obj.time));
- });
- options1.series[0].data = sjgl;
- // options1.series[0].pointInterval=300 * 1000;
- options1.series[1].data = bzgl;
- // options1.series[1].pointInterval=300 * 1000;
- options1.series[2].data = pjfs;
- // options1.series[2].pointInterval=300 * 1000;
- options1.xAxis.categories = xtime;
- chart1 = new Highcharts.Chart(options1);
- }
- });
- }
- function plotBandAjax(plotBand) {
- var url = "../wtgoodness/plotBandAjax.action?plotBand=" + plotBand ;
-
- if (url) {
- $.ajax( {
- url : url,
- type : "post",
- cache : false,
- dataType : "json",
- async : false,
- ifModified : false,
- success : function(res) {
- createtable(res, "plotBand");
- }
- });
- showDiv("plotBand");
- }
- }
- function unLoadInfo() {
- var url = "../wtgoodness/unLoadInfo.action" ;
-
- if (url) {
- $.ajax( {
- url : url,
- type : "post",
- cache : false,
- dataType : "json",
- async : false,
- ifModified : false,
- success : function(res) {
- }
- });
- }
- }
- function createtable(res, obj) {
- var html = "<div style='height: 430;width:200'><table width='200' height='430' border='1' cellspacing='0' cellpadding='0' bordercolor='#f0f0f0'><tr>";
- if (res["ks"] != null) {
- html += "<tr><td align='center' valign='middle' width='60' height='40' ><span calss='item_Name'>开始时间</span></td>"
- +"<td align='center' valign='middle' colspan='2' ><span calss='item_Name'>"
- + getDateString(res["ks"])
- + "</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'></span></td></tr>"
- }
- if (res["js"] != null) {
- html += "<tr><td align='center' valign='middle' width='60' height='40' ><span calss='item_Name'>结束时间</span></td>"
- +"<td align='center' valign='middle' colspan='2' ><span calss='item_Name'>"
- + getDateString(res["js"])
- + "</span></td>"
- +"</tr>"
- }
- if (res["sc"] != null) {
- html += "<tr><td align='center' valign='middle' width='60' height='40' ><span calss='item_Name'>时长</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>"
- + res["sc"]
- + "</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>小时</span></td></tr>"
- }
- if (res["fs"] != null) {
- html += "<tr><td align='center' valign='middle' width='60' height='40' ><span calss='item_Name'>风速</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>"
- + res["fs"]
- + "</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>m/s</span></td></tr>"
- }
- if (res["gl"] != null) {
- html += "<tr><td align='center' valign='middle' width='60' height='40' ><span calss='item_Name'>功率</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>"
- + res["gl"]
- + "</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>KW</span></td></tr>"
- }
- if (res["llfdl"] != null) {
- html += "<tr><td align='center' valign='middle' width='80' height='40' ><span calss='item_Name'>理论发电量 </span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>"
- + res["llfdl"]
- + "</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>KWh</span></td></tr>"
- }
- if (res["fdl"] != null) {
- html += "<tr><td align='center' valign='middle' width='60' height='40' ><span calss='item_Name'>发电量</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>"
- + res["fdl"]
- + "</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>KWh</span></td></tr>"
- }
- if (res["ssdl"] != null) {
- html += "<tr><td align='center' valign='middle' width='60' height='40' ><span calss='item_Name'>损失电量</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>"
- + res["ssdl"]
- + "</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>KWh</span></td></tr>"
- }
- if (res["fjzt"] != null) {
- html += "<tr><td align='center' valign='middle' width='60' height='40' ><span calss='item_Name'>风机状态</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'>"
- + getFjzt(res["fjzt"])
- + "</span></td>"
- +"<td align='center' valign='middle' ><span calss='item_Name'></span></td></tr>"
- }
-
- html += "</tr></table></div>";
- $("#" + obj).find(".highslide-body").html(html);
- }
- function getDateString(obj)
- {
- var d=new Date(obj);
- var year=d.getFullYear();
- var month=d.getMonth()+1;
- var day=d.getDate();
- var h=d.getHours();
- var mins=d.getMinutes();
- var s=d.getSeconds();
- return year+"-"+month+"-"+day+" "+h+":"+mins+":"+s;
- }
- function getFjzt(obj)
- {
- switch(obj){
- case 1:
-
- return "运行状态";
- break;
- case 0:
- return "待机状态";
-
- break;
- case 4:
- return "检修状态";
-
- break;
- case 2:
- return "故障状态";
-
- break;
- case 3:
- return "中断状态";
-
- break;
- case 5:
- return "非停机限电状态";
- case 6:
- return "停机限电状态";
- break;
- }
- }
- function showDiv(obj) {
- // return hs.htmlExpand(obj, {
- return hs.htmlExpand(container1, {
- contentId : obj,
- width : 260,
- height : 450,
- align : 'center',
- headingText : "点击区域信息"
- });
- }
- </script>
- </head>
- <body>
- <form action="" id="f1" method="post" style="width: 1580">
- <div class="highslide-html-content" id="plotBand" style="height: 800">
- <div class="highslide-header">
- <ul>
- <li class="highslide-move">
- <a href="#" onclick="return false">Move</a>
- </li>
- <li class="highslide-close">
- <a href="#" onclick="return hs.close(this)"></a>
- </li>
- </ul>
- </div>
- <div class="highslide-body" style="height: 800">
- </div>
- </div>
- <table width="1560" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="50" height="30" bgcolor="#EFF1F0"> </td>
- <td width="1560" bgcolor="#EFF1F0"><span class="station_Name">
- 风场: <label for="textfield5"></label> <s:if test="u.wpId == null">
- <s:select list="wps" listKey="id" listValue="name" id="windfarm"
- name="windfarm" onchange="javascript:changeFc(this.value);"></s:select>
- </s:if> <s:else>
- <s:select list="wps" listKey="id" listValue="name" id="windfarm"
- name="windfarm" onchange="javascript:changeFc(this.value);"></s:select>
- </s:else> 风机: <label for="textfield6" width="100"></label>
- <select name="windturbineid" id="windturbineid" >
- <option value="">请选择</option>
- </select>
- 日期: <s:textfield cssClass="Wdate"
- onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowWeek:true,readOnly:true})"
- id="recorddate" name="recorddate" title="开始日期" /> <input
- type="submit" name="button" id="button" onclick="queryData();"
- value="查询" />
- </td>
- </span>
- </td>
- </tr>
- </table>
- <table width="1560" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td width="30" height="200" background="<%=request.getContextPath()%>/resource/images/system/pictures/newAddLeft.jpg"> </td>
- <td width="1520" background="<%=request.getContextPath()%>/resource/images/system/pictures/newAddCenter.jpg">
- <div id="container1" style="width: 1520px;height: 200px"></div>
- </td>
- <td width="10"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/newAddRight.jpg" width="10" height="189" /></td>
- </tr>
- <tr>
- <td height="200" background="<%=request.getContextPath()%>/resource/images/system/pictures/newAddLeft.jpg"> </td>
- <td height="200" background="<%=request.getContextPath()%>/resource/images/system/pictures/newAddCenter.jpg">
- <div id="container2" style="width: 1520px;height: 200px"></div>
- </td>
- <td height="200"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/newAddRight.jpg" width="10" height="189" /></td>
- </tr>
- <tr>
- <td height="200" background="<%=request.getContextPath()%>/resource/images/system/pictures/newAddLeft.jpg"> </td>
- <td height="200px" background="<%=request.getContextPath()%>/resource/images/system/pictures/newAddCenter.jpg">
- <table width="1520px" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="515" >
- <table id='gridTable1' ></table>
- <div id='gridPager1'></div>
- </td>
-
- <td width="515" >
- <table id='gridTable2' ></table>
- <div id='gridPager2'></div>
- </td>
- <td width="520" >
- <table id='gridTable3' ></table>
- <div id='gridPager3'></div>
-
- <div id='report'></div>
- </td>
- </tr>
- </table>
-
- </td>
- <td height="200"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/newAddRight.jpg" width="10" height="189" /></td>
- </tr>
- </table>
- </form>
- </body>
- </html>
|