123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038 |
- var chart1;
- var chart2;
- var chart3;
- var chart4;
- var chart5;
- var chart6;
- var chart7;
- var chart8;
- var categor = ['0','1', '2', '3','4', '5', '6', '7', '8',
- '9', '10', '11', '12', '13','14', '15',
- '16', '17', '18','19', '20','21','22','23'];
- var options1;
- var options2;
- var options3;
- var options4;
- var options5;
- var options6;
- var options7;
- var options8;
- Highcharts.setOptions({
- global : {
- useUTC : false
- }
- });
- String.prototype.endWith=function(oString){
- var reg=new RegExp(oString+"$");
- return reg.test(this);
- };
- function realPowerCharBy24() {
- var url = "/matrix/findRealPowerCharBy24.action";
- $.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 sldl = [];
- var fs = [];
- var xtime = [];
- $.each(result, function(m, obj) {
- //if(m == result.length -1){
-
- if (obj.value1 != null) {
-
- yfdl.push( parseFloat(obj.value1) );
- }
- if (obj.value2 != null) {
- whdl.push( parseFloat(obj.value2) );
- }
- if (obj.value3 != null) {
- gzdl.push( parseFloat(obj.value3) );
- }
-
- if (obj.value4 != null) {
- xddl.push( parseFloat(obj.value4) );
- }
- if (obj.value5 != null) {
- qfdl.push( parseFloat(obj.value5) );
- }
- if (obj.value6 != null && obj.value6!=0) {
- fs.push( parseFloat(obj.value6) );
- }
- if (obj.value7 != null ) {
- sldl.push( parseFloat(obj.value7) );
- }
- if(obj.time!= null )
- {
-
-
- 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 = sldl;
- options2.series[6].data = fs;
- options2.xAxis.categories = xtime;
- chart2 = new Highcharts.Chart(options2);
- }
- });
-
-
- }
- function powercompareChat() {
- var url = "/matrix/powercompareChat.action";
- $.ajax({
- url : url,
- type : "post",
- cache : false,
- dataType : "json",
- async : false,
- data : {},
- ifModified : false,
- success : function(result) {
- var lldl = [];
- var gfdl = [];
- $.each(result, function(m, obj) {
- if (obj.value1 != null) {
-
- lldl.push(obj.value1*-1-obj.value2);
- }
- if (obj.value2 != null) {
- gfdl.push(obj.value2);
- }
- });
- options1.series[0].data = lldl;
- options1.series[1].data = gfdl;
- chart1 = new Highcharts.Chart(options1);
- }
- });
- }
- function showChart() {
- /***************************************************************************************************/
- $.ajax( {
- url : "/matrix/fdcPieChart.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {},
- ifModified : false,
- success : function(result) {
- if (null!=result && result.length != 0) {
- eval(result);
- var xaixs = [];
- for ( var i = 0; i < result.length; i += 1) {
- var jsonObj1 = [ result[i].name, result[i].value1 ];
- xaixs.push(jsonObj1);
- }
- options3.series[0].data = xaixs;
- chart3 = new Highcharts.Chart(options3);
- }
- }
- });
- /***************************************************************************************************/
- $.ajax( {
- url : "/matrix/lossPieChart.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {},
- ifModified : false,
- success : function(result) {
- if (null!=result && result.length != 0) {
- eval(result);
- var xaixs = [];
- for ( var i = 0; i < result.length; i += 1) {
- var jsonObj1 = [ result[i].name, result[i].value1 ];
- xaixs.push(jsonObj1);
- }
- options4.series[0].data = xaixs;
- chart4 = new Highcharts.Chart(options4);
- }
- }
- });
- /***************************************************************************************************/
- }
- function pointChart(){
- $.ajax( {
- url : "/matrix/pointChart.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {},
- ifModified : false,
- success : function(result) {
- if (null!=result && result.length != 0) {
- eval(result);
- var xaixs = [];
- var xtime = [];
- for ( var i = 0; i < result.length; i += 1) {
- var jsonObj1 = [result[i].name,parseFloat(result[i].value1)];
- xaixs.push(jsonObj1);
- xtime.push(parseFloat(result[i].time));
- }
- options5.series[0].data = xaixs;
-
- options5.xAxis.categories = xtime;
- //alert(options5.series[0].data);
- options5.xAxis.minTickInterval=xtime.length/24;
- chart5 = new Highcharts.Chart(options5);
- }
- }
- });
- }
- /*************************************************************************************************/
- $(document).ready(function () {
- // options1 = {
- // chart: {renderTo: 'chatyc',type: 'bar'},
- // title: {text: ''},
- // subtitle: {text: ''},
- // xAxis: [{categories: categor,
- // reversed: false,
- // labels: {
- // step: 2
- // }
- // }, {
- // opposite: true,
- // reversed: false,
- // categories: categor,
- // linkedTo: 0,
- // labels: {
- // step: 2
- // }
- // }],
- // yAxis: {title: {
- // text: null
- // },
- // labels: {
- // formatter: function () {
- // return Math.abs(this.value) + 'MWh';
- // }
- // }
- // },
- // plotOptions: {
- // series: {
- // stacking: 'normal'
- // }
- // },
- // tooltip: {
- // formatter: function () {
- // return '<b>' + this.series.name + ',截止上一时刻 ' + this.point.category + '时</b><br/>' +
- // '电量: ' + Highcharts.numberFormat(Math.abs(this.point.y), 2)+'MWh';
- // }
- // },
- // series: [{
- // name: '理论电量',
- // data: []
- // }, {
- // name: '实发电量',
- // data: []
- // }]
- // };
- options1 = {
- chart: {renderTo: 'chatyc',type: 'bar'},
- title: {text: ''},
- subtitle: {text: ''},
- xAxis: [{categories: categor,
- reversed: false,
- //linkedTo: 0,
- labels: {
- step: 2
- }
- }
- , {
- opposite: true,
- reversed: false,
- //categories: categor,
- //linkedTo: 0,
- labels: {
- step: 2
- }
- }
- ],
- yAxis: {title: {
- text: null
- },
- min: 0,
- labels: {
- formatter: function () {
- return Math.abs(this.value) + 'MWh';
- }
- }
- },
- plotOptions: {
- series: {
- stacking: 'normal'
- }
-
- },
- tooltip: {
- formatter: function () {
- console.log(this.series);
- var html = '<b>' + this.series.name + ',截止上一时刻 ' + this.point.category + '时</b><br/>';
- if(this.series.name=='理论电量'){
- html +='电量: ' + Highcharts.numberFormat(Math.abs(this.point.total), 2)+'MWh';
- }else{
- html +='电量: ' + Highcharts.numberFormat(Math.abs(this.point.y), 2)+'MWh';
- }
- return html;
- }
- },
- series: [{
- name: '理论电量',
- data: []
- }, {
- name: '实发电量',
- data: []
- }]
- };
- /*************************************************/
-
- options2 = {
- colors: [
- '#0BFEFA', //发电量
-
- '#FD0100',//检修
- '#FF7B16', //故障
- '#D201D8',//限电
- '#8085E9', //性能
- '#A6A6A6', //受累
- '#000000'//风速
-
-
-
- ],
- chart: {
- renderTo: 'glqx_Chart',
- type: 'column',
- //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}万kw',
- 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: '受累损失电量(单位:万KWh)',
- yAxis:0
- },{
-
- name: '风速(单位:m/s)',
- yAxis:1,
- type: 'spline'
- }]
- };
- /***************************************************************************************************/
- options3 = {
- chart : {
- renderTo : 'dltj_Chart_1',
- plotBackgroundColor : null,
- plotBorderWidth : null,
- plotShadow : false
- },
- title : {
- text : '发电量占比'
- },
- tooltip : {
- pointFormat : '{series.name}: <b>{point.percentage:.1f}%</b>'
- },
- plotOptions : {
- pie : {
- allowPointSelect : true,
- cursor : 'pointer',
- dataLabels : {
- enabled : false,
- color : '#000000',
- connectorColor : '#000000',
- format : '<b>{point.name}</b>: {point.percentage:.1f} %'
- },
- showInLegend : true
- }
- },
- legend : {
- layout : 'vertical',
- align : 'right',
- verticalAlign : 'bottom',
- borderWidth : 0
- },
- series : [ {
- type : 'pie',
- name : '占比',
- data : []
- } ]
- };
- /***************************************************************************************************/
- options4 = {
- colors: [
- '#8085E9', //性能
-
- '#FD0100',//检修
- '#FF7B16', //故障
- '#D201D8',//限电
- '#00ff20' //受累
-
-
- ],
- chart : {
- renderTo : 'dltj_Chart_2',
- plotBackgroundColor : null,
- plotBorderWidth : null,
- plotShadow : false
- },
- title : {
- text : '损失电量占比'
- },
- tooltip : {
- pointFormat : '{series.name}: <b>{point.percentage:.1f}%</b>'
- },
- plotOptions : {
- pie : {
- allowPointSelect : true,
- cursor : 'pointer',
- dataLabels : {
- enabled : false,
- color : '#000000',
- connectorColor : '#000000',
- format : '<b>{point.name}</b>: {point.percentage:.1f} %'
- },
- showInLegend : true
- }
- },
- legend : {
- layout : 'vertical',
- align : 'right',
- verticalAlign : 'bottom',
- borderWidth : 0
- },
- series : [ {
- type : 'pie',
- name : '占比',
- data : []
- } ]
- };
- /***************************************************************/
- options5 = {
- chart: {
- renderTo: 'pointChat',
- type: 'scatter',
- zoomType: 'xy'
- },
- title: {
- text: ''
- },
- xAxis: {
- type: 'datetime',
- labels: {
- align: 'center',
- formatter: function() {
- return Highcharts.dateFormat('%H:%M', this.value);
- }
- },
- showLastLabel: true
-
- },
- yAxis: {
- title: {
- text: '功率 (MW)'
- }
- },
- legend: {
- layout: 'vertical',
- align: 'left',
- verticalAlign: 'top',
- x: 100,
- y: 70,
- floating: true,
- backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF',
- borderWidth: 1
- },
- plotOptions: {
- scatter: {
- marker: {
- radius: 2,
- states: {
- hover: {
- enabled: true,
- lineColor: 'rgb(100,100,100)'
- }
- }
- },
- states: {
- hover: {
- marker: {
- enabled: false
- }
- }
- },
- tooltip: {
- shared:true,
- xDateFormat:'%H:%M',
- pointFormat : '{point.name}<br/>实际出力<b>{point.y} MW</b>'
- }
- }
- },
- series: [{
- name: '山西新能源',
- color: 'rgba(119, 152, 191, .5)',
- turboThreshold:1500,
- data: []
- }]
- };
- /*******************************************************************/
- options6 = {
-
- chart: {
- renderTo: 'speedCL',
- type: 'solidgauge'
- },
- title: null,
- pane: {
- center: ['50%', '85%'],
- size: '170%',
- startAngle: -90,
- endAngle: 90,
- background: {
- backgroundColor: (Highcharts.theme && Highcharts.theme.background2) || '#EEE',
- innerRadius: '60%',
- outerRadius: '100%',
- shape: 'arc'
- }
- },
- tooltip: {
- enabled: false
- },
- // the value axis
- yAxis: {
- stops: [
- [0.1, '#55BF3B'], // green
- [0.5, '#DDDF0D'], // yellow
- [0.9, '#DF5353'] // red
- ],
- lineWidth: 0,
- minorTickInterval: null,
- tickPixelInterval: 400,
- tickWidth: 0,
- min: 0,
- max: 25,
- title: {
- y: 7,
- text: ''
- },
- labels: {
- y: 16
- }
- },
- plotOptions: {
- solidgauge: {
- dataLabels: {
- y: 22,
- borderWidth: 0,
- useHTML: true
- }
- }
- },
- credits: {
- enabled: false
- },series: [{
- name: '风速',
- data: [6.66],
- dataLabels: {
- format: '<div style="text-align:center"><span style="font-size:15px;color:' +
- ((Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black') + '">{y}</span><br/>' +
- '<span style="font-size:12px;color:silver">m/s</span></div>'
- },
- tooltip: {
- valueSuffix: 'm/s'
- }
- }]
- };
- /*******************************************************************/
- options7 = {
-
- chart: {
- renderTo: 'speedKB',
- type: 'solidgauge'
- },
- title: null,
- pane: {
- center: ['50%', '85%'],
- size: '170%',
- startAngle: -90,
- endAngle: 90,
- background: {
- backgroundColor: (Highcharts.theme && Highcharts.theme.background2) || '#EEE',
- innerRadius: '60%',
- outerRadius: '100%',
- shape: 'arc'
- }
- },
- tooltip: {
- enabled: false
- },
- // the value axis
- yAxis: {
- stops: [
- [0.1, '#55BF3B'], // green
- [0.5, '#DDDF0D'], // yellow
- [0.9, '#DF5353'] // red
- ],
- lineWidth: 0,
- minorTickInterval: null,
- tickPixelInterval: 400,
- tickWidth: 0,
- min: 0,
- max: 25,
- title: {
- y: 7,
- text: ''
- },
- labels: {
- y: 16
- }
- },
- plotOptions: {
- solidgauge: {
- dataLabels: {
- y: 22,
- borderWidth: 0,
- useHTML: true
- }
- }
- },
- credits: {
- enabled: false
- },series: [{
- name: '风速',
- data: [6.66],
- dataLabels: {
- format: '<div style="text-align:center"><span style="font-size:15px;color:' +
- ((Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black') + '">{y}</span><br/>' +
- '<span style="font-size:12px;color:silver">m/s</span></div>'
- },
- tooltip: {
- valueSuffix: 'm/s'
- }
- }]
- };
- /*******************************************************************/
- options8 = {
-
- chart: {
- renderTo: 'speedDX',
- type: 'solidgauge'
- },
- title: null,
- pane: {
- center: ['50%', '85%'],
- size: '170%',
- startAngle: -90,
- endAngle: 90,
- background: {
- backgroundColor: (Highcharts.theme && Highcharts.theme.background2) || '#EEE',
- innerRadius: '60%',
- outerRadius: '100%',
- shape: 'arc'
- }
- },
- tooltip: {
- enabled: false
- },
- // the value axis
- yAxis: {
- stops: [
- [0.1, '#55BF3B'], // green
- [0.5, '#DDDF0D'], // yellow
- [0.9, '#DF5353'] // red
- ],
- lineWidth: 0,
- minorTickInterval: null,
- tickPixelInterval: 400,
- tickWidth: 0,
- min: 0,
- max: 25,
- title: {
- y: 7,
- text: ''
- },
- labels: {
- y: 16
- }
- },
- plotOptions: {
- solidgauge: {
- dataLabels: {
- y: 22,
- borderWidth: 0,
- useHTML: true
- }
- }
- },
- credits: {
- enabled: false
- },series: [{
- name: '风速',
- data: [6.66],
- dataLabels: {
- format: '<div style="text-align:center"><span style="font-size:15px;color:' +
- ((Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black') + '">{y}</span><br/>' +
- '<span style="font-size:12px;color:silver">m/s</span></div>'
- },
- tooltip: {
- valueSuffix: 'm/s'
- }
- }]
- };
- /***************************************************************/
- realPowerCharBy24();
- showChart();
- wpAllInfoAjaxs() ;
- powercompareChat();
- pointChart();
- window.setInterval(realPowerCharBy24, 60000);
- window.setInterval(showChart, 60000);
- window.setInterval(wpAllInfoAjaxs, 60000);
- window.setInterval(powercompareChat, 60000);
- window.setInterval(pointChart, 60000);
- /*****************************************************************/
- });
- function getValueInfo(value)
- {
- if(value=="" || value==null || value==undefined )
- {
- return "0.0";
- }else
- {
- return value;
- }
- }
- function getValueToInt(value)
- {
- if(value=="" || value==null || value==undefined || value==0.0){
- return "0";
- }else{
- return value;
- }
- }
- /*********************************************************************************/
- function wpAllInfoAjaxs() {
- $.ajax( {
- url : "/matrix/wpAllInfoAjaxes.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {},
- ifModified : false,
- success : function(res) {
- /********************************************************************************************************/
- $("#CL_FDC_RFDL").html(getValueInfo(res["CL_FDC_RFDL"] ));
- $("#CL_FDC_LLFDL").html(getValueInfo(res["CL_FDC_LLFDL"] ));
- $("#CL_FDC_RSWDL").html(getValueInfo(res["CL_FDC_RSWDL"] ));
- $("#CL_FDC_SCADAFDL").html(getValueInfo(res["CL_FDC_SCADAFDL"] ));
- //$("#CL_FDC_YLYXS").html(getValueInfo(res["CL_FDC_YLYXS"] ));
- if(parseFloat(res["CL_FDC_FNLYL"])<80){
- $("#CL_FDC_YLYXS").attr("style","color:red");
- }
- $("#CL_FDC_YLYXS").html(getValueInfo(res["CL_FDC_FNLYL"] ));
- $("#CL_FDC_WHSS").html(getValueInfo(res["CL_FDC_WHSS"] ));
- $("#CL_FDC_FS").html(getValueInfo(res["CL_FDC_FS"] ));
- $("#CL_FDC_GZSS").html(getValueInfo(res["CL_FDC_GZSS"] ));
- $("#CL_FDC_GL").html(getValueInfo(res["CL_FDC_GL"] ));
- $("#CL_FDC_XDSS").html(getValueInfo(res["CL_FDC_XDSS"] ));
- $("#CL_FDC_LLGL").html(getValueInfo(res["CL_FDC_LLGL"] ));
- $("#CL_FDC_SLSS").html(getValueInfo(res["CL_FDC_SLSS"] ));
- $("#CL_FDC_YFGL").html(getValueInfo(res["CL_FDC_YFGL"] ));
- $("#CL_FDC_XNSS").html(getValueInfo(res["CL_FDC_XNSS"] ));
-
- $("#CL_FDC_FDL").html(getValueInfo(res["CL_FDC_RFDL"] ));
-
- $("#CL_FDC_GL1").html(getValueInfo(res["CL_FDC_GL"] ));
- $("#CL_FDC_JRTS").html(getValueToInt(res["CL_FDC_JRTS"] ));
- $("#CL_FDC_YXTS").html(getValueToInt(res["CL_FDC_YXTS"] ));
- $("#CL_FDC_GZTS").html(getValueToInt(res["CL_FDC_GZTS"] ));
- $("#CL_FDC_XDTS").html(getValueToInt(res["CL_FDC_XDTS"] ));
- $("#CL_FDC_DJTS").html(getValueToInt(res["CL_FDC_DJTS"] ));
- $("#CL_FDC_WHTS").html(getValueToInt(res["CL_FDC_WHTS"] ));
- $("#CL_FDC_LXTS").html(getValueToInt(res["CL_FDC_LXTS"] ));
-
- $("#DX_FDC_RFDL").html(getValueInfo(res["DX_FDC_RFDL"] ));
- $("#DX_FDC_LLFDL").html(getValueInfo(res["DX_FDC_LLFDL"] ));
- $("#DX_FDC_RSWDL").html(getValueInfo(res["DX_FDC_RSWDL"] ));
- $("#DX_FDC_SCADAFDL").html(getValueInfo(res["DX_FDC_SCADAFDL"] ));
- //$("#DX_FDC_YLYXS").html(getValueInfo(res["DX_FDC_YLYXS"] ));
- if(parseFloat(res["DX_FDC_FNLYL"])<80){
- $("#DX_FDC_YLYXS").attr("style","color:red");
- }
- $("#DX_FDC_YLYXS").html(getValueInfo(res["DX_FDC_FNLYL"] ));
-
- $("#DX_FDC_WHSS").html(getValueInfo(res["DX_FDC_WHSS"] ));
- $("#DX_FDC_FS").html(getValueInfo(res["DX_FDC_FS"] ));
- $("#DX_FDC_GZSS").html(getValueInfo(res["DX_FDC_GZSS"] ));
- $("#DX_FDC_GL").html(getValueInfo(res["DX_FDC_GL"] ));
- $("#DX_FDC_XDSS").html(getValueInfo(res["DX_FDC_XDSS"] ));
- $("#DX_FDC_LLGL").html(getValueInfo(res["DX_FDC_LLGL"] ));
- $("#DX_FDC_SLSS").html(getValueInfo(res["DX_FDC_SLSS"] ));
- $("#DX_FDC_YFGL").html(getValueInfo(res["DX_FDC_YFGL"] ));
- $("#DX_FDC_XNSS").html(getValueInfo(res["DX_FDC_XNSS"] ));
-
- $("#DX_FDC_FDL").html(getValueInfo(res["DX_FDC_RFDL"] ));
-
- $("#DX_FDC_GL1").html(getValueInfo(res["DX_FDC_GL"] ));
- $("#DX_FDC_JRTS").html(getValueToInt(res["DX_FDC_JRTS"] ));
- $("#DX_FDC_YXTS").html(getValueToInt(res["DX_FDC_YXTS"] ));
- $("#DX_FDC_GZTS").html(getValueToInt(res["DX_FDC_GZTS"] ));
- $("#DX_FDC_XDTS").html(getValueToInt(res["DX_FDC_XDTS"] ));
- $("#DX_FDC_DJTS").html(getValueToInt(res["DX_FDC_DJTS"] ));
- $("#DX_FDC_WHTS").html(getValueToInt(res["DX_FDC_WHTS"] ));
- $("#DX_FDC_LXTS").html(getValueToInt(res["DX_FDC_LXTS"] ));
-
- $("#KB_FDC_RFDL").html(getValueInfo(res["KB_FDC_RFDL"] ));
- $("#KB_FDC_LLFDL").html(getValueInfo(res["KB_FDC_LLFDL"] ));
- $("#KB_FDC_RSWDL").html(getValueInfo(res["KB_FDC_RSWDL"] ));
- $("#KB_FDC_SCADAFDL").html(getValueInfo(res["KB_FDC_SCADAFDL"] ));
- //$("#KB_FDC_YLYXS").html(getValueInfo(res["KB_FDC_YLYXS"] ));
- if(parseFloat(res["KB_FDC_FNLYL"])<80){
- $("#KB_FDC_YLYXS").attr("style","color:red");
- }
- $("#KB_FDC_YLYXS").html(getValueInfo(res["KB_FDC_FNLYL"] ));
- $("#KB_FDC_WHSS").html(getValueInfo(res["KB_FDC_WHSS"] ));
- $("#KB_FDC_FS").html(getValueInfo(res["KB_FDC_FS"] ));
- $("#KB_FDC_GZSS").html(getValueInfo(res["KB_FDC_GZSS"] ));
- $("#KB_FDC_GL").html(getValueInfo(res["KB_FDC_GL"] ));
- $("#KB_FDC_XDSS").html(getValueInfo(res["KB_FDC_XDSS"] ));
- $("#KB_FDC_LLGL").html(getValueInfo(res["KB_FDC_LLGL"] ));
- $("#KB_FDC_SLSS").html(getValueInfo(res["KB_FDC_SLSS"] ));
- $("#KB_FDC_YFGL").html(getValueInfo(res["KB_FDC_YFGL"] ));
- $("#KB_FDC_XNSS").html(getValueInfo(res["KB_FDC_XNSS"] ));
-
- $("#KB_FDC_FDL").html(getValueInfo(res["KB_FDC_RFDL"] ));
-
- $("#KB_FDC_GL1").html(getValueInfo(res["KB_FDC_GL"] ));
- $("#KB_FDC_JRTS").html(getValueToInt(res["KB_FDC_JRTS"] ));
- $("#KB_FDC_YXTS").html(getValueToInt(res["KB_FDC_YXTS"] ));
- $("#KB_FDC_GZTS").html(getValueToInt(res["KB_FDC_GZTS"] ));
- $("#KB_FDC_XDTS").html(getValueToInt(res["KB_FDC_XDTS"] ));
- $("#KB_FDC_DJTS").html(getValueToInt(res["KB_FDC_DJTS"] ));
- $("#KB_FDC_WHTS").html(getValueToInt(res["KB_FDC_WHTS"] ));
- $("#KB_FDC_LXTS").html(getValueToInt(res["KB_FDC_LXTS"] ));
- /********************************************************************************************************/
- $("#QYGS_RFDL").html(getValueInfo(res["QYGS_RFDL"] ));
- $("#QYGS_LLFDL").html(getValueInfo(res["QYGS_LLFDL"] ));
- $("#QYGS_RSWDL").html(getValueInfo(res["QYGS_RSWDL"] ));
- $("#QYGS_SCADAFDL").html(getValueInfo(res["QYGS_SCADAFDL"] ));
- //$("#QYGS_YLYXS").html(getValueInfo(res["QYGS_YLYXS"] ));
- if(parseFloat(res["QYGS_FNLYL"])<80){
- $("#QYGS_YLYXS").attr("style","color:red");
- }
- $("#QYGS_YLYXS").html(getValueInfo(res["QYGS_FNLYL"] ));
- $("#QYGS_WHSS").html(getValueInfo(res["QYGS_WHSS"] ));
- $("#QYGS_FS").html(getValueInfo(res["QYGS_FS"] ));
- $("#QYGS_GZSS").html(getValueInfo(res["QYGS_GZSS"] ));
- $("#QYGS_GL").html(getValueInfo(res["QYGS_GL"] ));
- $("#QYGS_XDSS").html(getValueInfo(res["QYGS_XDSS"] ));
- $("#QYGS_LLGL").html(getValueInfo(res["QYGS_LLGL"] ));
- $("#QYGS_SLSS").html(getValueInfo(res["QYGS_SLSS"] ));
- $("#QYGS_YFGL").html(getValueInfo(res["QYGS_YFGL"] ));
- $("#QYGS_XNSS").html(getValueInfo(res["QYGS_XNSS"] ));
-
- //$("#CL_FDC_FS1").html();
- //$("#DX_FDC_FS1").html();
- //$("#KB_FDC_FS1").html();
-
- var clfs = [];
- var kbfs = [];
- var dxfs = [];
-
- clfs.push( parseFloat(res["CL_FDC_FS"] ));
- kbfs.push(parseFloat(res["KB_FDC_FS"] ));
- dxfs.push(parseFloat(res["DX_FDC_FS"] ));
-
- options6.series[0].data = clfs;
- options7.series[0].data = kbfs;
- options8.series[0].data = dxfs;
- chart6 = new Highcharts.Chart(options6);
- chart7 = new Highcharts.Chart(options7);
- chart8 = new Highcharts.Chart(options8);
-
- /********************************************************************************************************/
- }
- });
- }
-
-
- function goaction(wpId)
- {
- $("#f1").attr("action","/wpmonitor/zmindex.action?wpId="+wpId).submit();
- }
-
|