|
@@ -1,6 +1,6 @@
|
|
|
package io.renren.modules.test;
|
|
|
|
|
|
-import io.renren.modules.test.entity.TElecDashboardData;
|
|
|
+import io.renren.modules.test.entity.ElecDashboardData;
|
|
|
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
|
|
import org.apache.poi.ss.usermodel.*;
|
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
@@ -8,7 +8,6 @@ import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
|
import java.io.FileInputStream;
|
|
|
import java.io.IOException;
|
|
|
import java.io.InputStream;
|
|
|
-import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* 电厂大屏抓取数据测试类(.xls/.xlsx文件)
|
|
@@ -23,11 +22,11 @@ public class TestPullDataExcel {
|
|
|
* 抓取excel数据
|
|
|
* @return 电厂大屏数据
|
|
|
*/
|
|
|
- private TElecDashboardData getExcelData() {
|
|
|
+ private ElecDashboardData getExcelData() {
|
|
|
// excel对象
|
|
|
Workbook workbook = null;
|
|
|
// 电厂大屏数据对象
|
|
|
- TElecDashboardData tElecDashboardData = new TElecDashboardData();
|
|
|
+ ElecDashboardData elecDashboardData = new ElecDashboardData();
|
|
|
try {
|
|
|
// 文件读取路径
|
|
|
String filePath = "C://elecdashboard/elecDashboardData.xlsx";
|
|
@@ -54,24 +53,24 @@ public class TestPullDataExcel {
|
|
|
String stgPowerGenLevel = this.getCellData(sheet1, 2, 5); // STG发电水平
|
|
|
String stgEfficiency = this.getCellData(sheet1, 3, 5); // STG效率(百分比)
|
|
|
String totalPowerGen = this.getCellData(sheet1, 2, 6); // 总发电量
|
|
|
- tElecDashboardData.setGtg1PowerGenLevel(gtg1PowerGenLevel);
|
|
|
- tElecDashboardData.setGtg1Efficiency(gtg1Efficiency);
|
|
|
- tElecDashboardData.setGtg2PowerGenLevel(gtg2PowerGenLevel);
|
|
|
- tElecDashboardData.setGtg2Efficiency(gtg2Efficiency);
|
|
|
- tElecDashboardData.setGtg3PowerGenLevel(gtg3PowerGenLevel);
|
|
|
- tElecDashboardData.setGtg3Efficiency(gtg3Efficiency);
|
|
|
- tElecDashboardData.setStgPowerGenLevel(stgPowerGenLevel);
|
|
|
- tElecDashboardData.setStgEfficiency(stgEfficiency);
|
|
|
- tElecDashboardData.setTotalPowerGen(totalPowerGen);
|
|
|
+ elecDashboardData.setGtg1PowerGenLevel(gtg1PowerGenLevel);
|
|
|
+ elecDashboardData.setGtg1Efficiency(gtg1Efficiency);
|
|
|
+ elecDashboardData.setGtg2PowerGenLevel(gtg2PowerGenLevel);
|
|
|
+ elecDashboardData.setGtg2Efficiency(gtg2Efficiency);
|
|
|
+ elecDashboardData.setGtg3PowerGenLevel(gtg3PowerGenLevel);
|
|
|
+ elecDashboardData.setGtg3Efficiency(gtg3Efficiency);
|
|
|
+ elecDashboardData.setStgPowerGenLevel(stgPowerGenLevel);
|
|
|
+ elecDashboardData.setStgEfficiency(stgEfficiency);
|
|
|
+ elecDashboardData.setTotalPowerGen(totalPowerGen);
|
|
|
// 蒸汽
|
|
|
String steamHhp = this.getCellData(sheet1, 6, 2); // 蒸汽HHP
|
|
|
String steamHp = this.getCellData(sheet1, 6, 3); // 蒸汽HP
|
|
|
String steamMp = this.getCellData(sheet1, 6, 4); // 蒸汽MP
|
|
|
String steamLp = this.getCellData(sheet1, 6, 5); // 蒸汽LP
|
|
|
- tElecDashboardData.setSteamHhp(steamHhp);
|
|
|
- tElecDashboardData.setSteamHp(steamHp);
|
|
|
- tElecDashboardData.setSteamMp(steamMp);
|
|
|
- tElecDashboardData.setSteamLp(steamLp);
|
|
|
+ elecDashboardData.setSteamHhp(steamHhp);
|
|
|
+ elecDashboardData.setSteamHp(steamHp);
|
|
|
+ elecDashboardData.setSteamMp(steamMp);
|
|
|
+ elecDashboardData.setSteamLp(steamLp);
|
|
|
// 天然气
|
|
|
String gasRealTime = this.getCellData(sheet1, 9, 2); // 瞬时量
|
|
|
String gasLeft = this.getCellData(sheet1, 9, 3); // 日剩余量
|
|
@@ -81,14 +80,14 @@ public class TestPullDataExcel {
|
|
|
String gasSynGas = this.getCellData(sheet1, 11, 3); // 合成气
|
|
|
String gasU2 = this.getCellData(sheet1, 11, 4); // U2
|
|
|
String gasStyrene = this.getCellData(sheet1, 11, 5); // 苯乙烯
|
|
|
- tElecDashboardData.setGasRealTime(gasRealTime);
|
|
|
- tElecDashboardData.setGasLeft(gasLeft);
|
|
|
- tElecDashboardData.setGasUsed(gasUsed);
|
|
|
- tElecDashboardData.setGasPlan(gasPlan);
|
|
|
- tElecDashboardData.setGasElec(gasElec);
|
|
|
- tElecDashboardData.setGasSynGas(gasSynGas);
|
|
|
- tElecDashboardData.setGasU2(gasU2);
|
|
|
- tElecDashboardData.setGasStyrene(gasStyrene);
|
|
|
+ elecDashboardData.setGasRealTime(gasRealTime);
|
|
|
+ elecDashboardData.setGasLeft(gasLeft);
|
|
|
+ elecDashboardData.setGasUsed(gasUsed);
|
|
|
+ elecDashboardData.setGasPlan(gasPlan);
|
|
|
+ elecDashboardData.setGasElec(gasElec);
|
|
|
+ elecDashboardData.setGasSynGas(gasSynGas);
|
|
|
+ elecDashboardData.setGasU2(gasU2);
|
|
|
+ elecDashboardData.setGasStyrene(gasStyrene);
|
|
|
// 电量
|
|
|
String elecPowerGen = this.getCellData(sheet1, 14, 2); // 昨日发电量
|
|
|
String elecPowerSwitch = this.getCellData(sheet1, 14, 3); // 倒电量
|
|
@@ -96,22 +95,22 @@ public class TestPullDataExcel {
|
|
|
String elecDiff = this.getCellData(sheet1, 14, 5); // 每日峰谷差
|
|
|
String elecBycUsed = this.getCellData(sheet1, 16, 2); // BYC用电量
|
|
|
String elecBocUsed = this.getCellData(sheet1, 16, 3); // BOC用电量
|
|
|
- tElecDashboardData.setElecPowerGen(elecPowerGen);
|
|
|
- tElecDashboardData.setElecPowerSwitch(elecPowerSwitch);
|
|
|
- tElecDashboardData.setElecUsed(elecUsed);
|
|
|
- tElecDashboardData.setElecDiff(elecDiff);
|
|
|
- tElecDashboardData.setElecBycUsed(elecBycUsed);
|
|
|
- tElecDashboardData.setElecBocUsed(elecBocUsed);
|
|
|
+ elecDashboardData.setElecPowerGen(elecPowerGen);
|
|
|
+ elecDashboardData.setElecPowerSwitch(elecPowerSwitch);
|
|
|
+ elecDashboardData.setElecUsed(elecUsed);
|
|
|
+ elecDashboardData.setElecDiff(elecDiff);
|
|
|
+ elecDashboardData.setElecBycUsed(elecBycUsed);
|
|
|
+ elecDashboardData.setElecBocUsed(elecBocUsed);
|
|
|
// 煤耗
|
|
|
String carbonUsed = this.getCellData(sheet1, 19, 2); // 每日煤耗量
|
|
|
String carbonRealTime = this.getCellData(sheet1, 19, 3); // 瞬时煤耗量
|
|
|
- tElecDashboardData.setCarbonUsed(carbonUsed);
|
|
|
- tElecDashboardData.setCarbonRealTime(carbonRealTime);
|
|
|
+ elecDashboardData.setCarbonUsed(carbonUsed);
|
|
|
+ elecDashboardData.setCarbonRealTime(carbonRealTime);
|
|
|
// SUB
|
|
|
String sub = this.getCellData(sheet1, 22, 2); // SUB
|
|
|
String subFurnaceLoad = this.getCellData(sheet1, 22, 3); // SUB开工锅炉负荷(百分比)
|
|
|
- tElecDashboardData.setSub(sub);
|
|
|
- tElecDashboardData.setSubFurnaceLoad(subFurnaceLoad);
|
|
|
+ elecDashboardData.setSub(sub);
|
|
|
+ elecDashboardData.setSubFurnaceLoad(subFurnaceLoad);
|
|
|
//========================================电厂大屏数据第二页:蒸汽平衡=======================================
|
|
|
// HHP
|
|
|
String hhpPphhp = this.getCellData(sheet2, 2, 1); // HHP PPHHP
|
|
@@ -119,11 +118,11 @@ public class TestPullDataExcel {
|
|
|
String hhpGaa = this.getCellData(sheet2, 2, 3); // HHP GAA
|
|
|
String hhpSyn = this.getCellData(sheet2, 2, 4); // HHP SYN
|
|
|
String hhpP3802 = this.getCellData(sheet2, 2, 5); // HHP P3802
|
|
|
- tElecDashboardData.setHhpPphhp(hhpPphhp);
|
|
|
- tElecDashboardData.setHhpAaae(hhpAaae);
|
|
|
- tElecDashboardData.setHhpGaa(hhpGaa);
|
|
|
- tElecDashboardData.setHhpSyn(hhpSyn);
|
|
|
- tElecDashboardData.setHhpP3802(hhpP3802);
|
|
|
+ elecDashboardData.setHhpPphhp(hhpPphhp);
|
|
|
+ elecDashboardData.setHhpAaae(hhpAaae);
|
|
|
+ elecDashboardData.setHhpGaa(hhpGaa);
|
|
|
+ elecDashboardData.setHhpSyn(hhpSyn);
|
|
|
+ elecDashboardData.setHhpP3802(hhpP3802);
|
|
|
// HP
|
|
|
String hpLpg = this.getCellData(sheet2, 5, 1); // HP LPG(百分比)
|
|
|
String hpSub = this.getCellData(sheet2, 5, 2); // HP SUB(百分比)
|
|
@@ -132,13 +131,13 @@ public class TestPullDataExcel {
|
|
|
String hpJ1504In = this.getCellData(sheet2, 5, 5); // HP J1504入
|
|
|
String hpJ1504Out = this.getCellData(sheet2, 5, 6); // HP J1504出
|
|
|
String hpUser = this.getCellData(sheet2, 5, 7); // HP HP用户
|
|
|
- tElecDashboardData.setHpLpg(hpLpg);
|
|
|
- tElecDashboardData.setHpSub(hpSub);
|
|
|
- tElecDashboardData.setHpNg(hpNg);
|
|
|
- tElecDashboardData.setHpJ1501(hpJ1501);
|
|
|
- tElecDashboardData.setHpJ1504In(hpJ1504In);
|
|
|
- tElecDashboardData.setHpJ1504Out(hpJ1504Out);
|
|
|
- tElecDashboardData.setHpUser(hpUser);
|
|
|
+ elecDashboardData.setHpLpg(hpLpg);
|
|
|
+ elecDashboardData.setHpSub(hpSub);
|
|
|
+ elecDashboardData.setHpNg(hpNg);
|
|
|
+ elecDashboardData.setHpJ1501(hpJ1501);
|
|
|
+ elecDashboardData.setHpJ1504In(hpJ1504In);
|
|
|
+ elecDashboardData.setHpJ1504Out(hpJ1504Out);
|
|
|
+ elecDashboardData.setHpUser(hpUser);
|
|
|
// MP
|
|
|
String mpNcipmp = this.getCellData(sheet2, 8, 1); // MP NCI MP
|
|
|
String mp150511 = this.getCellData(sheet2, 8, 2); // MP 15051_2(百分比)
|
|
@@ -148,14 +147,14 @@ public class TestPullDataExcel {
|
|
|
String mpP9801Out = this.getCellData(sheet2, 8, 6); // MP P9801出
|
|
|
String mpJ1502 = this.getCellData(sheet2, 8, 7); // MP J1502(百分比)
|
|
|
String mpUser = this.getCellData(sheet2, 8, 8); // MP MP用户
|
|
|
- tElecDashboardData.setMpNcipMp(mpNcipmp);
|
|
|
- tElecDashboardData.setMp150511(mp150511);
|
|
|
- tElecDashboardData.setMp150512(mp150512);
|
|
|
- tElecDashboardData.setMpPpMp(mpPpmp);
|
|
|
- tElecDashboardData.setMpP9801In(mpP9801In);
|
|
|
- tElecDashboardData.setMpP9801Out(mpP9801Out);
|
|
|
- tElecDashboardData.setMpJ1502(mpJ1502);
|
|
|
- tElecDashboardData.setMpUser(mpUser);
|
|
|
+ elecDashboardData.setMpNcipMp(mpNcipmp);
|
|
|
+ elecDashboardData.setMp150511(mp150511);
|
|
|
+ elecDashboardData.setMp150512(mp150512);
|
|
|
+ elecDashboardData.setMpPpMp(mpPpmp);
|
|
|
+ elecDashboardData.setMpP9801In(mpP9801In);
|
|
|
+ elecDashboardData.setMpP9801Out(mpP9801Out);
|
|
|
+ elecDashboardData.setMpJ1502(mpJ1502);
|
|
|
+ elecDashboardData.setMpUser(mpUser);
|
|
|
// LP
|
|
|
String lpPpLp = this.getCellData(sheet2, 11, 1); // LP PP LP
|
|
|
String lpEmpty = this.getCellData(sheet2, 11, 2); // LP防空
|
|
@@ -165,19 +164,19 @@ public class TestPullDataExcel {
|
|
|
String lpLdpeTs = this.getCellData(sheet2, 11, 6); // LP LDPE TS
|
|
|
String lpLdpeDm = this.getCellData(sheet2, 11, 7); // LP LDPE DM
|
|
|
String lpUser = this.getCellData(sheet2, 11, 8); // LP用户
|
|
|
- tElecDashboardData.setLpPpLp(lpPpLp);
|
|
|
- tElecDashboardData.setLpEmpty(lpEmpty);
|
|
|
- tElecDashboardData.setLpMpLetdown(lpMpLetdown);
|
|
|
- tElecDashboardData.setLpJ1509(lpJ1509);
|
|
|
- tElecDashboardData.setLpJ1503(lpJ1503);
|
|
|
- tElecDashboardData.setLpLdpeTs(lpLdpeTs);
|
|
|
- tElecDashboardData.setLpLdpeDm(lpLdpeDm);
|
|
|
- tElecDashboardData.setLpUser(lpUser);
|
|
|
+ elecDashboardData.setLpPpLp(lpPpLp);
|
|
|
+ elecDashboardData.setLpEmpty(lpEmpty);
|
|
|
+ elecDashboardData.setLpMpLetdown(lpMpLetdown);
|
|
|
+ elecDashboardData.setLpJ1509(lpJ1509);
|
|
|
+ elecDashboardData.setLpJ1503(lpJ1503);
|
|
|
+ elecDashboardData.setLpLdpeTs(lpLdpeTs);
|
|
|
+ elecDashboardData.setLpLdpeDm(lpLdpeDm);
|
|
|
+ elecDashboardData.setLpUser(lpUser);
|
|
|
// BCC
|
|
|
String bccSyn = this.getCellData(sheet2, 14, 1); // BCC SYN
|
|
|
String bccYpc = this.getCellData(sheet2, 14, 2); // BCC YPC
|
|
|
- tElecDashboardData.setBccSyn(bccSyn);
|
|
|
- tElecDashboardData.setBccYpc(bccYpc);
|
|
|
+ elecDashboardData.setBccSyn(bccSyn);
|
|
|
+ elecDashboardData.setBccYpc(bccYpc);
|
|
|
//========================================电厂大屏数据第三页:环保监控=======================================
|
|
|
// HRSG
|
|
|
String hrsg1SmokeConvert = this.getCellData(sheet3, 2, 2); // HRSG 1# 烟尘折算
|
|
@@ -189,25 +188,25 @@ public class TestPullDataExcel {
|
|
|
String hrsg3SmokeConvert = this.getCellData(sheet3, 4, 2); // HRSG 3# 烟尘折算
|
|
|
String hrsg3So2Convert = this.getCellData(sheet3, 4, 3); // HRSG 3# SO2 折算
|
|
|
String hrsg3NoxConvert = this.getCellData(sheet3, 4, 4); // HRSG 3# NOx 折算
|
|
|
- tElecDashboardData.setHrsg1SmokeConvert(hrsg1SmokeConvert);
|
|
|
- tElecDashboardData.setHrsg1So2Convert(hrsg1So2Convert);
|
|
|
- tElecDashboardData.setHrsg1NoxConvert(hrsg1NoxConvert);
|
|
|
- tElecDashboardData.setHrsg2SmokeConvert(hrsg2SmokeConvert);
|
|
|
- tElecDashboardData.setHrsg2So2Convert(hrsg2So2Convert);
|
|
|
- tElecDashboardData.setHrsg2NoxConvert(hrsg2NoxConvert);
|
|
|
- tElecDashboardData.setHrsg3SmokeConvert(hrsg3SmokeConvert);
|
|
|
- tElecDashboardData.setHrsg3So2Convert(hrsg3So2Convert);
|
|
|
- tElecDashboardData.setHrsg3NoxConvert(hrsg3NoxConvert);
|
|
|
+ elecDashboardData.setHrsg1SmokeConvert(hrsg1SmokeConvert);
|
|
|
+ elecDashboardData.setHrsg1So2Convert(hrsg1So2Convert);
|
|
|
+ elecDashboardData.setHrsg1NoxConvert(hrsg1NoxConvert);
|
|
|
+ elecDashboardData.setHrsg2SmokeConvert(hrsg2SmokeConvert);
|
|
|
+ elecDashboardData.setHrsg2So2Convert(hrsg2So2Convert);
|
|
|
+ elecDashboardData.setHrsg2NoxConvert(hrsg2NoxConvert);
|
|
|
+ elecDashboardData.setHrsg3SmokeConvert(hrsg3SmokeConvert);
|
|
|
+ elecDashboardData.setHrsg3So2Convert(hrsg3So2Convert);
|
|
|
+ elecDashboardData.setHrsg3NoxConvert(hrsg3NoxConvert);
|
|
|
// Rain Water
|
|
|
String rainPh = this.getCellData(sheet3, 7, 2); // 雨水 PH
|
|
|
String rainCod = this.getCellData(sheet3, 7, 3);; // 雨水 COD
|
|
|
- tElecDashboardData.setRainPh(rainPh);
|
|
|
- tElecDashboardData.setRainCod(rainCod);
|
|
|
+ elecDashboardData.setRainPh(rainPh);
|
|
|
+ elecDashboardData.setRainCod(rainCod);
|
|
|
// Waste Water
|
|
|
String wastePh = this.getCellData(sheet3, 10, 2);; // 废水 PH
|
|
|
String wasteCod = this.getCellData(sheet3, 10, 3);; // 废水 COD
|
|
|
- tElecDashboardData.setWastePh(wastePh);
|
|
|
- tElecDashboardData.setWasteCod(wasteCod);
|
|
|
+ elecDashboardData.setWastePh(wastePh);
|
|
|
+ elecDashboardData.setWasteCod(wasteCod);
|
|
|
// 1# GTG
|
|
|
String gtg45ha1 = this.getCellData(sheet3, 12, 3); // 1#GTG 45HA1
|
|
|
String gtg45ha2 = this.getCellData(sheet3, 13, 3); // 1#GTG 45HA2
|
|
@@ -224,21 +223,21 @@ public class TestPullDataExcel {
|
|
|
String gtg45ht4 = this.getCellData(sheet3, 24, 3); // 1#GTG 45HT4
|
|
|
String gtg45ht5 = this.getCellData(sheet3, 25, 3); // 1#GTG 45HT5
|
|
|
String gtg45ht6 = this.getCellData(sheet3, 26, 3); // 1#GTG 45HT6
|
|
|
- tElecDashboardData.setGtg45ha1(gtg45ha1);
|
|
|
- tElecDashboardData.setGtg45ha2(gtg45ha2);
|
|
|
- tElecDashboardData.setGtg45ha3(gtg45ha3);
|
|
|
- tElecDashboardData.setGtg45ha4(gtg45ha4);
|
|
|
- tElecDashboardData.setGtg45ha5(gtg45ha5);
|
|
|
- tElecDashboardData.setGtg45ha6(gtg45ha6);
|
|
|
- tElecDashboardData.setGtg45ha7(gtg45ha7);
|
|
|
- tElecDashboardData.setGtg45ha8(gtg45ha8);
|
|
|
- tElecDashboardData.setGtg45ha9(gtg45ha9);
|
|
|
- tElecDashboardData.setGtg45ht1(gtg45ht1);
|
|
|
- tElecDashboardData.setGtg45ht2(gtg45ht2);
|
|
|
- tElecDashboardData.setGtg45ht3(gtg45ht3);
|
|
|
- tElecDashboardData.setGtg45ht4(gtg45ht4);
|
|
|
- tElecDashboardData.setGtg45ht5(gtg45ht5);
|
|
|
- tElecDashboardData.setGtg45ht6(gtg45ht6);
|
|
|
+ elecDashboardData.setGtg45ha1(gtg45ha1);
|
|
|
+ elecDashboardData.setGtg45ha2(gtg45ha2);
|
|
|
+ elecDashboardData.setGtg45ha3(gtg45ha3);
|
|
|
+ elecDashboardData.setGtg45ha4(gtg45ha4);
|
|
|
+ elecDashboardData.setGtg45ha5(gtg45ha5);
|
|
|
+ elecDashboardData.setGtg45ha6(gtg45ha6);
|
|
|
+ elecDashboardData.setGtg45ha7(gtg45ha7);
|
|
|
+ elecDashboardData.setGtg45ha8(gtg45ha8);
|
|
|
+ elecDashboardData.setGtg45ha9(gtg45ha9);
|
|
|
+ elecDashboardData.setGtg45ht1(gtg45ht1);
|
|
|
+ elecDashboardData.setGtg45ht2(gtg45ht2);
|
|
|
+ elecDashboardData.setGtg45ht3(gtg45ht3);
|
|
|
+ elecDashboardData.setGtg45ht4(gtg45ht4);
|
|
|
+ elecDashboardData.setGtg45ht5(gtg45ht5);
|
|
|
+ elecDashboardData.setGtg45ht6(gtg45ht6);
|
|
|
// BP
|
|
|
String qt61001 = this.getCellData(sheet3, 28, 3); // BP QT61001
|
|
|
String qt61002 = this.getCellData(sheet3, 29, 3); // BP QT61002
|
|
@@ -303,69 +302,69 @@ public class TestPullDataExcel {
|
|
|
String ai82111 = this.getCellData(sheet3, 88, 3); // BP AI82111
|
|
|
String ai82112 = this.getCellData(sheet3, 89, 3); // BP AI82112
|
|
|
String ai82113 = this.getCellData(sheet3, 90, 3); // BP AI82113
|
|
|
- tElecDashboardData.setQt61001(qt61001);
|
|
|
- tElecDashboardData.setQt61002(qt61002);
|
|
|
- tElecDashboardData.setQt61003(qt61003);
|
|
|
- tElecDashboardData.setQt61004(qt61004);
|
|
|
- tElecDashboardData.setQt61005(qt61005);
|
|
|
- tElecDashboardData.setQt61101(qt61101);
|
|
|
- tElecDashboardData.setQt61102(qt61102);
|
|
|
- tElecDashboardData.setQt61103(qt61103);
|
|
|
- tElecDashboardData.setQt61104(qt61104);
|
|
|
- tElecDashboardData.setQt61105(qt61105);
|
|
|
- tElecDashboardData.setQt76001(qt76001);
|
|
|
- tElecDashboardData.setQt76002(qt76002);
|
|
|
- tElecDashboardData.setQt76041(qt76041);
|
|
|
- tElecDashboardData.setQt80001(qt80001);
|
|
|
- tElecDashboardData.setQt80002(qt80002);
|
|
|
- tElecDashboardData.setQt80003(qt80003);
|
|
|
- tElecDashboardData.setQt91001(qt91001);
|
|
|
- tElecDashboardData.setQt91002(qt91002);
|
|
|
- tElecDashboardData.setQt91003(qt91003);
|
|
|
- tElecDashboardData.setQt91004(qt91004);
|
|
|
- tElecDashboardData.setQt91005(qt91005);
|
|
|
- tElecDashboardData.setQt91006(qt91006);
|
|
|
- tElecDashboardData.setQt91011(qt91011);
|
|
|
- tElecDashboardData.setQt91012(qt91012);
|
|
|
- tElecDashboardData.setQt91013(qt91013);
|
|
|
- tElecDashboardData.setAt83001(at83001);
|
|
|
- tElecDashboardData.setAt83002(at83002);
|
|
|
- tElecDashboardData.setAt83003(at83003);
|
|
|
- tElecDashboardData.setAt83004(at83004);
|
|
|
- tElecDashboardData.setQt12001(qt12001);
|
|
|
- tElecDashboardData.setQt12501(qt12501);
|
|
|
- tElecDashboardData.setQt12502(qt12502);
|
|
|
- tElecDashboardData.setQt22001(qt22001);
|
|
|
- tElecDashboardData.setQt22501(qt22501);
|
|
|
- tElecDashboardData.setQt22502(qt22502);
|
|
|
- tElecDashboardData.setQt32001(qt32001);
|
|
|
- tElecDashboardData.setQt32002(qt32002);
|
|
|
- tElecDashboardData.setQt32005(qt32005);
|
|
|
- tElecDashboardData.setQt32003(qt32003);
|
|
|
- tElecDashboardData.setQt32004(qt32004);
|
|
|
- tElecDashboardData.setAi82002(ai82002);
|
|
|
- tElecDashboardData.setAi82003(ai82003);
|
|
|
- tElecDashboardData.setAi82004(ai82004);
|
|
|
- tElecDashboardData.setAi82005(ai82005);
|
|
|
- tElecDashboardData.setAi82006(ai82006);
|
|
|
- tElecDashboardData.setAi82007(ai82007);
|
|
|
- tElecDashboardData.setAi82008(ai82008);
|
|
|
- tElecDashboardData.setAi82009(ai82009);
|
|
|
- tElecDashboardData.setAi82010(ai82010);
|
|
|
- tElecDashboardData.setAi82011(ai82011);
|
|
|
- tElecDashboardData.setAi82101(ai82101);
|
|
|
- tElecDashboardData.setAi82102(ai82102);
|
|
|
- tElecDashboardData.setAi82103(ai82103);
|
|
|
- tElecDashboardData.setAi82104(ai82104);
|
|
|
- tElecDashboardData.setAi82105(ai82105);
|
|
|
- tElecDashboardData.setAi82106(ai82106);
|
|
|
- tElecDashboardData.setAi82107(ai82107);
|
|
|
- tElecDashboardData.setAi82108(ai82108);
|
|
|
- tElecDashboardData.setAi82109(ai82109);
|
|
|
- tElecDashboardData.setAi82110(ai82110);
|
|
|
- tElecDashboardData.setAi82111(ai82111);
|
|
|
- tElecDashboardData.setAi82112(ai82112);
|
|
|
- tElecDashboardData.setAi82113(ai82113);
|
|
|
+ elecDashboardData.setQt61001(qt61001);
|
|
|
+ elecDashboardData.setQt61002(qt61002);
|
|
|
+ elecDashboardData.setQt61003(qt61003);
|
|
|
+ elecDashboardData.setQt61004(qt61004);
|
|
|
+ elecDashboardData.setQt61005(qt61005);
|
|
|
+ elecDashboardData.setQt61101(qt61101);
|
|
|
+ elecDashboardData.setQt61102(qt61102);
|
|
|
+ elecDashboardData.setQt61103(qt61103);
|
|
|
+ elecDashboardData.setQt61104(qt61104);
|
|
|
+ elecDashboardData.setQt61105(qt61105);
|
|
|
+ elecDashboardData.setQt76001(qt76001);
|
|
|
+ elecDashboardData.setQt76002(qt76002);
|
|
|
+ elecDashboardData.setQt76041(qt76041);
|
|
|
+ elecDashboardData.setQt80001(qt80001);
|
|
|
+ elecDashboardData.setQt80002(qt80002);
|
|
|
+ elecDashboardData.setQt80003(qt80003);
|
|
|
+ elecDashboardData.setQt91001(qt91001);
|
|
|
+ elecDashboardData.setQt91002(qt91002);
|
|
|
+ elecDashboardData.setQt91003(qt91003);
|
|
|
+ elecDashboardData.setQt91004(qt91004);
|
|
|
+ elecDashboardData.setQt91005(qt91005);
|
|
|
+ elecDashboardData.setQt91006(qt91006);
|
|
|
+ elecDashboardData.setQt91011(qt91011);
|
|
|
+ elecDashboardData.setQt91012(qt91012);
|
|
|
+ elecDashboardData.setQt91013(qt91013);
|
|
|
+ elecDashboardData.setAt83001(at83001);
|
|
|
+ elecDashboardData.setAt83002(at83002);
|
|
|
+ elecDashboardData.setAt83003(at83003);
|
|
|
+ elecDashboardData.setAt83004(at83004);
|
|
|
+ elecDashboardData.setQt12001(qt12001);
|
|
|
+ elecDashboardData.setQt12501(qt12501);
|
|
|
+ elecDashboardData.setQt12502(qt12502);
|
|
|
+ elecDashboardData.setQt22001(qt22001);
|
|
|
+ elecDashboardData.setQt22501(qt22501);
|
|
|
+ elecDashboardData.setQt22502(qt22502);
|
|
|
+ elecDashboardData.setQt32001(qt32001);
|
|
|
+ elecDashboardData.setQt32002(qt32002);
|
|
|
+ elecDashboardData.setQt32005(qt32005);
|
|
|
+ elecDashboardData.setQt32003(qt32003);
|
|
|
+ elecDashboardData.setQt32004(qt32004);
|
|
|
+ elecDashboardData.setAi82002(ai82002);
|
|
|
+ elecDashboardData.setAi82003(ai82003);
|
|
|
+ elecDashboardData.setAi82004(ai82004);
|
|
|
+ elecDashboardData.setAi82005(ai82005);
|
|
|
+ elecDashboardData.setAi82006(ai82006);
|
|
|
+ elecDashboardData.setAi82007(ai82007);
|
|
|
+ elecDashboardData.setAi82008(ai82008);
|
|
|
+ elecDashboardData.setAi82009(ai82009);
|
|
|
+ elecDashboardData.setAi82010(ai82010);
|
|
|
+ elecDashboardData.setAi82011(ai82011);
|
|
|
+ elecDashboardData.setAi82101(ai82101);
|
|
|
+ elecDashboardData.setAi82102(ai82102);
|
|
|
+ elecDashboardData.setAi82103(ai82103);
|
|
|
+ elecDashboardData.setAi82104(ai82104);
|
|
|
+ elecDashboardData.setAi82105(ai82105);
|
|
|
+ elecDashboardData.setAi82106(ai82106);
|
|
|
+ elecDashboardData.setAi82107(ai82107);
|
|
|
+ elecDashboardData.setAi82108(ai82108);
|
|
|
+ elecDashboardData.setAi82109(ai82109);
|
|
|
+ elecDashboardData.setAi82110(ai82110);
|
|
|
+ elecDashboardData.setAi82111(ai82111);
|
|
|
+ elecDashboardData.setAi82112(ai82112);
|
|
|
+ elecDashboardData.setAi82113(ai82113);
|
|
|
// 1# HRSG
|
|
|
String hrsg1Ai82201 = this.getCellData(sheet3, 92, 3); // 1# HRSG AI82201
|
|
|
String hrsg1Ai82202 = this.getCellData(sheet3, 93, 3); // 1# HRSG AI82202
|
|
@@ -387,26 +386,26 @@ public class TestPullDataExcel {
|
|
|
String hrsg1Air12556 = this.getCellData(sheet3, 109,3); // 1# HRSG AIR12556
|
|
|
String hrsg1Air12557 = this.getCellData(sheet3, 110,3); // 1# HRSG AIR12557
|
|
|
String hrsg1Air12558 = this.getCellData(sheet3, 111,3); // 1# HRSG AIR12558
|
|
|
- tElecDashboardData.setHrsg1Ai82201(hrsg1Ai82201);
|
|
|
- tElecDashboardData.setHrsg1Ai82202(hrsg1Ai82202);
|
|
|
- tElecDashboardData.setHrsg1Ai82203(hrsg1Ai82203);
|
|
|
- tElecDashboardData.setHrsg1Ai82204(hrsg1Ai82204);
|
|
|
- tElecDashboardData.setHrsg1Ai82205(hrsg1Ai82205);
|
|
|
- tElecDashboardData.setHrsg1Ai82206(hrsg1Ai82206);
|
|
|
- tElecDashboardData.setHrsg1Ai82207(hrsg1Ai82207);
|
|
|
- tElecDashboardData.setHrsg1Ai82208(hrsg1Ai82208);
|
|
|
- tElecDashboardData.setHrsg1Ai82209(hrsg1Ai82209);
|
|
|
- tElecDashboardData.setHrsg1Ai82210(hrsg1Ai82210);
|
|
|
- tElecDashboardData.setHrsg1Ai82211(hrsg1Ai82211);
|
|
|
- tElecDashboardData.setHrsg1Ai82212(hrsg1Ai82212);
|
|
|
- tElecDashboardData.setHrsg1Air12551(hrsg1Air12551);
|
|
|
- tElecDashboardData.setHrsg1Air12552(hrsg1Air12552);
|
|
|
- tElecDashboardData.setHrsg1Air12553(hrsg1Air12553);
|
|
|
- tElecDashboardData.setHrsg1Air12554(hrsg1Air12554);
|
|
|
- tElecDashboardData.setHrsg1Air12555(hrsg1Air12555);
|
|
|
- tElecDashboardData.setHrsg1Air12556(hrsg1Air12556);
|
|
|
- tElecDashboardData.setHrsg1Air12557(hrsg1Air12557);
|
|
|
- tElecDashboardData.setHrsg1Air12558(hrsg1Air12558);
|
|
|
+ elecDashboardData.setHrsg1Ai82201(hrsg1Ai82201);
|
|
|
+ elecDashboardData.setHrsg1Ai82202(hrsg1Ai82202);
|
|
|
+ elecDashboardData.setHrsg1Ai82203(hrsg1Ai82203);
|
|
|
+ elecDashboardData.setHrsg1Ai82204(hrsg1Ai82204);
|
|
|
+ elecDashboardData.setHrsg1Ai82205(hrsg1Ai82205);
|
|
|
+ elecDashboardData.setHrsg1Ai82206(hrsg1Ai82206);
|
|
|
+ elecDashboardData.setHrsg1Ai82207(hrsg1Ai82207);
|
|
|
+ elecDashboardData.setHrsg1Ai82208(hrsg1Ai82208);
|
|
|
+ elecDashboardData.setHrsg1Ai82209(hrsg1Ai82209);
|
|
|
+ elecDashboardData.setHrsg1Ai82210(hrsg1Ai82210);
|
|
|
+ elecDashboardData.setHrsg1Ai82211(hrsg1Ai82211);
|
|
|
+ elecDashboardData.setHrsg1Ai82212(hrsg1Ai82212);
|
|
|
+ elecDashboardData.setHrsg1Air12551(hrsg1Air12551);
|
|
|
+ elecDashboardData.setHrsg1Air12552(hrsg1Air12552);
|
|
|
+ elecDashboardData.setHrsg1Air12553(hrsg1Air12553);
|
|
|
+ elecDashboardData.setHrsg1Air12554(hrsg1Air12554);
|
|
|
+ elecDashboardData.setHrsg1Air12555(hrsg1Air12555);
|
|
|
+ elecDashboardData.setHrsg1Air12556(hrsg1Air12556);
|
|
|
+ elecDashboardData.setHrsg1Air12557(hrsg1Air12557);
|
|
|
+ elecDashboardData.setHrsg1Air12558(hrsg1Air12558);
|
|
|
// 2# HRSG
|
|
|
String hrsg2Ai82301 = this.getCellData(sheet3, 113, 3); // 2# HRSG AI82301
|
|
|
String hrsg2Ai82302 = this.getCellData(sheet3, 114, 3); // 2# HRSG AI82302
|
|
@@ -431,29 +430,29 @@ public class TestPullDataExcel {
|
|
|
String hrsg2Qi22240 = this.getCellData(sheet3, 133, 3); // 2# HRSG QI22240
|
|
|
String hrsg2Qi22241 = this.getCellData(sheet3, 134, 3); // 2# HRSG QI22241
|
|
|
String hrsg2Qi22242 = this.getCellData(sheet3, 135, 3); // 2# HRSG QI22242
|
|
|
- tElecDashboardData.setHrsg2Ai82301(hrsg2Ai82301);
|
|
|
- tElecDashboardData.setHrsg2Ai82302(hrsg2Ai82302);
|
|
|
- tElecDashboardData.setHrsg2Ai82303(hrsg2Ai82303);
|
|
|
- tElecDashboardData.setHrsg2Ai82304(hrsg2Ai82304);
|
|
|
- tElecDashboardData.setHrsg2Ai82305(hrsg2Ai82305);
|
|
|
- tElecDashboardData.setHrsg2Ai82306(hrsg2Ai82306);
|
|
|
- tElecDashboardData.setHrsg2Ai82307(hrsg2Ai82307);
|
|
|
- tElecDashboardData.setHrsg2Ai82308(hrsg2Ai82308);
|
|
|
- tElecDashboardData.setHrsg2Ai82309(hrsg2Ai82309);
|
|
|
- tElecDashboardData.setHrsg2Ai82310(hrsg2Ai82310);
|
|
|
- tElecDashboardData.setHrsg2Ai82311(hrsg2Ai82311);
|
|
|
- tElecDashboardData.setHrsg2Ai82312(hrsg2Ai82312);
|
|
|
- tElecDashboardData.setHrsg2Air22551(hrsg2Air22551);
|
|
|
- tElecDashboardData.setHrsg2Air22552(hrsg2Air22552);
|
|
|
- tElecDashboardData.setHrsg2Air22553(hrsg2Air22553);
|
|
|
- tElecDashboardData.setHrsg2Air22554(hrsg2Air22554);
|
|
|
- tElecDashboardData.setHrsg2Air22555(hrsg2Air22555);
|
|
|
- tElecDashboardData.setHrsg2Air22556(hrsg2Air22556);
|
|
|
- tElecDashboardData.setHrsg2Air22557(hrsg2Air22557);
|
|
|
- tElecDashboardData.setHrsg2AiR22558(hrsg2AiR22558);
|
|
|
- tElecDashboardData.setHrsg2Qi22240(hrsg2Qi22240);
|
|
|
- tElecDashboardData.setHrsg2Qi22241(hrsg2Qi22241);
|
|
|
- tElecDashboardData.setHrsg2Qi22242(hrsg2Qi22242);
|
|
|
+ elecDashboardData.setHrsg2Ai82301(hrsg2Ai82301);
|
|
|
+ elecDashboardData.setHrsg2Ai82302(hrsg2Ai82302);
|
|
|
+ elecDashboardData.setHrsg2Ai82303(hrsg2Ai82303);
|
|
|
+ elecDashboardData.setHrsg2Ai82304(hrsg2Ai82304);
|
|
|
+ elecDashboardData.setHrsg2Ai82305(hrsg2Ai82305);
|
|
|
+ elecDashboardData.setHrsg2Ai82306(hrsg2Ai82306);
|
|
|
+ elecDashboardData.setHrsg2Ai82307(hrsg2Ai82307);
|
|
|
+ elecDashboardData.setHrsg2Ai82308(hrsg2Ai82308);
|
|
|
+ elecDashboardData.setHrsg2Ai82309(hrsg2Ai82309);
|
|
|
+ elecDashboardData.setHrsg2Ai82310(hrsg2Ai82310);
|
|
|
+ elecDashboardData.setHrsg2Ai82311(hrsg2Ai82311);
|
|
|
+ elecDashboardData.setHrsg2Ai82312(hrsg2Ai82312);
|
|
|
+ elecDashboardData.setHrsg2Air22551(hrsg2Air22551);
|
|
|
+ elecDashboardData.setHrsg2Air22552(hrsg2Air22552);
|
|
|
+ elecDashboardData.setHrsg2Air22553(hrsg2Air22553);
|
|
|
+ elecDashboardData.setHrsg2Air22554(hrsg2Air22554);
|
|
|
+ elecDashboardData.setHrsg2Air22555(hrsg2Air22555);
|
|
|
+ elecDashboardData.setHrsg2Air22556(hrsg2Air22556);
|
|
|
+ elecDashboardData.setHrsg2Air22557(hrsg2Air22557);
|
|
|
+ elecDashboardData.setHrsg2AiR22558(hrsg2AiR22558);
|
|
|
+ elecDashboardData.setHrsg2Qi22240(hrsg2Qi22240);
|
|
|
+ elecDashboardData.setHrsg2Qi22241(hrsg2Qi22241);
|
|
|
+ elecDashboardData.setHrsg2Qi22242(hrsg2Qi22242);
|
|
|
// 3# HRSG
|
|
|
String hrsg3Ai82401 = this.getCellData(sheet3, 137, 3);; // 3# HRSG AI82401
|
|
|
String hrsg3Ai82402 = this.getCellData(sheet3, 138, 3);; // 3# HRSG AI82402
|
|
@@ -478,31 +477,31 @@ public class TestPullDataExcel {
|
|
|
String hrsg3Qi32240 = this.getCellData(sheet3, 157, 3);; // 3# HRSG QI32240
|
|
|
String hrsg3Qi32241 = this.getCellData(sheet3, 158, 3);; // 3# HRSG QI32241
|
|
|
String hrsg3Qi32242 = this.getCellData(sheet3, 159, 3);; // 3# HRSG QI32242
|
|
|
- tElecDashboardData.setHrsg3Ai82401(hrsg3Ai82401);
|
|
|
- tElecDashboardData.setHrsg3Ai82402(hrsg3Ai82402);
|
|
|
- tElecDashboardData.setHrsg3Ai82403(hrsg3Ai82403);
|
|
|
- tElecDashboardData.setHrsg3Ai82404(hrsg3Ai82404);
|
|
|
- tElecDashboardData.setHrsg3Ai82405(hrsg3Ai82405);
|
|
|
- tElecDashboardData.setHrsg3Ai82406(hrsg3Ai82406);
|
|
|
- tElecDashboardData.setHrsg3Ai82407(hrsg3Ai82407);
|
|
|
- tElecDashboardData.setHrsg3Ai82408(hrsg3Ai82408);
|
|
|
- tElecDashboardData.setHrsg3Ai82409(hrsg3Ai82409);
|
|
|
- tElecDashboardData.setHrsg3Ai82410(hrsg3Ai82410);
|
|
|
- tElecDashboardData.setHrsg3Ai82411(hrsg3Ai82411);
|
|
|
- tElecDashboardData.setHrsg3Ai82412(hrsg3Ai82412);
|
|
|
- tElecDashboardData.setHrsg3Air32551(hrsg3Air32551);
|
|
|
- tElecDashboardData.setHrsg3Air32552(hrsg3Air32552);
|
|
|
- tElecDashboardData.setHrsg3Air32553(hrsg3Air32553);
|
|
|
- tElecDashboardData.setHrsg3Air32554(hrsg3Air32554);
|
|
|
- tElecDashboardData.setHrsg3Air32555(hrsg3Air32555);
|
|
|
- tElecDashboardData.setHrsg3Air32556(hrsg3Air32556);
|
|
|
- tElecDashboardData.setHrsg3Air32557(hrsg3Air32557);
|
|
|
- tElecDashboardData.setHrsg3Air32558(hrsg3Air32558);
|
|
|
- tElecDashboardData.setHrsg3Qi32240(hrsg3Qi32240);
|
|
|
- tElecDashboardData.setHrsg3Qi32241(hrsg3Qi32241);
|
|
|
- tElecDashboardData.setHrsg3Qi32242(hrsg3Qi32242);
|
|
|
+ elecDashboardData.setHrsg3Ai82401(hrsg3Ai82401);
|
|
|
+ elecDashboardData.setHrsg3Ai82402(hrsg3Ai82402);
|
|
|
+ elecDashboardData.setHrsg3Ai82403(hrsg3Ai82403);
|
|
|
+ elecDashboardData.setHrsg3Ai82404(hrsg3Ai82404);
|
|
|
+ elecDashboardData.setHrsg3Ai82405(hrsg3Ai82405);
|
|
|
+ elecDashboardData.setHrsg3Ai82406(hrsg3Ai82406);
|
|
|
+ elecDashboardData.setHrsg3Ai82407(hrsg3Ai82407);
|
|
|
+ elecDashboardData.setHrsg3Ai82408(hrsg3Ai82408);
|
|
|
+ elecDashboardData.setHrsg3Ai82409(hrsg3Ai82409);
|
|
|
+ elecDashboardData.setHrsg3Ai82410(hrsg3Ai82410);
|
|
|
+ elecDashboardData.setHrsg3Ai82411(hrsg3Ai82411);
|
|
|
+ elecDashboardData.setHrsg3Ai82412(hrsg3Ai82412);
|
|
|
+ elecDashboardData.setHrsg3Air32551(hrsg3Air32551);
|
|
|
+ elecDashboardData.setHrsg3Air32552(hrsg3Air32552);
|
|
|
+ elecDashboardData.setHrsg3Air32553(hrsg3Air32553);
|
|
|
+ elecDashboardData.setHrsg3Air32554(hrsg3Air32554);
|
|
|
+ elecDashboardData.setHrsg3Air32555(hrsg3Air32555);
|
|
|
+ elecDashboardData.setHrsg3Air32556(hrsg3Air32556);
|
|
|
+ elecDashboardData.setHrsg3Air32557(hrsg3Air32557);
|
|
|
+ elecDashboardData.setHrsg3Air32558(hrsg3Air32558);
|
|
|
+ elecDashboardData.setHrsg3Qi32240(hrsg3Qi32240);
|
|
|
+ elecDashboardData.setHrsg3Qi32241(hrsg3Qi32241);
|
|
|
+ elecDashboardData.setHrsg3Qi32242(hrsg3Qi32242);
|
|
|
// 控制台打印电厂大屏数据
|
|
|
- System.out.println(tElecDashboardData.toString());
|
|
|
+ System.out.println(elecDashboardData.toString());
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
} finally {
|
|
@@ -512,7 +511,7 @@ public class TestPullDataExcel {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
}
|
|
|
- return tElecDashboardData;
|
|
|
+ return elecDashboardData;
|
|
|
}
|
|
|
|
|
|
/**
|