Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
a226e31d
Commit
a226e31d
authored
Oct 11, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
泰和光伏-场站总览功率曲线 数据源切换
parent
797c5b80
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
75 deletions
+49
-75
CommonConstans.java
.../amos/boot/module/jxiop/biz/constants/CommonConstans.java
+4
-0
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+3
-13
CommonServiceImpl.java
...boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
+4
-4
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+19
-39
MonitoringServiceIMQTTmpl.java
...ule/jxiop/biz/service/impl/MonitoringServiceIMQTTmpl.java
+14
-14
MonitoringServiceImpl.java
.../module/jxiop/biz/service/impl/MonitoringServiceImpl.java
+5
-5
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/constants/CommonConstans.java
View file @
a226e31d
...
...
@@ -123,4 +123,8 @@ public class CommonConstans {
public
static
final
String
taiHeGenIndicatorMonth
=
"泰和月发电量总和"
;
public
static
final
String
taiHeGenIndicatorYear
=
"泰和年发电量总和"
;
public
static
final
String
taiheActivePowerPoint
=
"南瑞光差保护_313P"
;
public
static
final
String
taiheIrradiationPonit
=
"WTX-801_25_WTX-801_总辐射"
;
public
static
final
String
xiazaoActivePowerPoint
=
"220kV夏雩线212线路测控装置PCS-9705TA有功功率一次值"
;
public
static
final
String
xiazaoWindSpeedrPoint
=
"瞬时风速"
;
}
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/MonitorFanIdxController.java
View file @
a226e31d
...
...
@@ -291,19 +291,9 @@ public class MonitorFanIdxController extends BaseController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"概览-全站功率曲线"
)
@GetMapping
(
"/overviewWindSpeed"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
getOverviewWindSpeed
(
@RequestParam
(
value
=
"stationId"
,
required
=
false
)
String
stationId
,
@RequestParam
(
value
=
"type"
,
required
=
false
)
String
type
,
@RequestParam
(
value
=
"areaCode"
,
required
=
false
)
String
areaCode
)
{
String
gatewayId
=
""
;
if
(
null
!=
stationId
)
{
public
void
getOverviewWindSpeed
(
@RequestParam
(
value
=
"stationId"
,
required
=
true
)
String
stationId
,
@RequestParam
(
value
=
"type"
,
required
=
false
)
String
type
,
@RequestParam
(
value
=
"areaCode"
,
required
=
false
)
String
areaCode
)
{
StationBasic
stationBasic
=
stationBasicMapper
.
selectById
(
stationId
);
gatewayId
=
stationBasic
.
getBoosterGatewayId
();
if
(
null
==
type
)
{
gatewayId
=
stationBasic
.
getFanGatewayId
();
}
}
Map
<
String
,
Object
>
detailsWindSpeed
=
monitorFanIndicator
.
getDetailsWindSpeedAll
(
gatewayId
);
return
ResponseHelper
.
buildResponse
(
detailsWindSpeed
);
monitorFanIndicator
.
getDetailsWindSpeedAll
(
stationBasic
);
}
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
...
...
@@ -676,7 +666,7 @@ public class MonitorFanIdxController extends BaseController {
Double
todayPower
=
Double
.
valueOf
(
columnMap
.
get
(
CommonConstans
.
taiHeGenIndicatorDay
).
toString
());
Double
total
=
commonService
.
getSumByEquipmentIndxName
(
result1
,
"WTX-801_25_WTX-801_总辐射累计"
);
if
(
todayPower
>
0
&&
total
>
0
)
{
Double
overallEfficiency
=
todayPower
*
CommonConstans
.
wkwhToMv
/
((
total
/
3.6
)
*
capacityl
);
Double
overallEfficiency
=
todayPower
*
CommonConstans
.
wkwhToMv
/
((
total
/
3.6
)
*
capacityl
);
data9
.
put
(
"title"
,
String
.
format
(
"%.2f"
,
overallEfficiency
*
100
)
+
"%"
);
//综合效率
}
else
{
data9
.
put
(
"title"
,
"0.00%"
);
//综合效率
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
View file @
a226e31d
...
...
@@ -363,16 +363,16 @@ public class CommonServiceImpl {
氮氧化物减排量(t)=发电量(万kW·h)*1.69
*/
co2
.
setUnit
(
"二氧化碳减排量(t)"
);
co2
.
setTitle
(
String
.
format
(
"%.2f"
,
totalSocialContribution
*
CommonConstans
.
carbonDioxide
*
CommonConstans
.
kgToT
));
co2
.
setTitle
(
String
.
format
(
"%.2f"
,
totalSocialContribution
*
CommonConstans
.
carbonDioxide
));
socialContributionDtoList
.
add
(
co2
);
coal
.
setUnit
(
"节约标准煤(t)"
);
coal
.
setTitle
(
String
.
format
(
"%.2f"
,
(
totalSocialContribution
*
CommonConstans
.
standardCoal
*
CommonConstans
.
kgToT
)));
coal
.
setTitle
(
String
.
format
(
"%.2f"
,
(
totalSocialContribution
*
CommonConstans
.
standardCoal
)));
socialContributionDtoList
.
add
(
coal
);
toner
.
setUnit
(
"碳粉尘减排量(t)"
);
toner
.
setTitle
(
String
.
format
(
"%.2f"
,
(
totalSocialContribution
*
CommonConstans
.
toner
*
CommonConstans
.
kgToT
)));
toner
.
setTitle
(
String
.
format
(
"%.2f"
,
(
totalSocialContribution
*
CommonConstans
.
toner
)));
socialContributionDtoList
.
add
(
toner
);
so2
.
setUnit
(
"二氧化硫减排量(t)"
);
so2
.
setTitle
(
String
.
format
(
"%.2f"
,
(
totalSocialContribution
*
CommonConstans
.
sulfurDioxide
*
CommonConstans
.
kgToT
)));
so2
.
setTitle
(
String
.
format
(
"%.2f"
,
(
totalSocialContribution
*
CommonConstans
.
sulfurDioxide
)));
socialContributionDtoList
.
add
(
so2
);
socialContributionDtoPage
.
setRecords
(
socialContributionDtoList
);
socialContributionDtoPage
.
setTotal
(
100
);
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
a226e31d
...
...
@@ -76,7 +76,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
TpriDmpDatabookServiceImpl
tpriDmpDatabookServiceImpl
;
@Autowired
TemporaryDataMapper
temporaryDataMapper
;
// @Autowired
// @Autowired
// InfluxDButils influxDButils;
@Autowired
AlarmEventMapper
alarmEventMapper
;
...
...
@@ -2080,36 +2080,23 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
return
deaviationRateDtoPage
;
}
@Scheduled
(
cron
=
"0 */10 * * * ?"
)
//@Scheduled(cron = "0/1 * * * * ?")
@Scheduled
(
cron
=
"0 */5 * * * ?"
)
public
void
addNbqAlarmEvent
()
{
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
BaseEntity:
:
getIsDelete
,
false
);
wrapper
.
like
(
StationBasic:
:
getStationType
,
"GFDZ"
);
List
<
StationBasic
>
stationBasics
=
stationBasicMapper
.
selectList
(
wrapper
);
for
(
StationBasic
stationBasic
:
stationBasics
)
{
Map
<
String
,
List
<
String
>>
queryCondtion
=
new
HashMap
<>();
Map
<
String
,
String
>
shouldCondtion
=
new
HashMap
<>();
queryCondtion
.
put
(
CommonConstans
.
QueryStringGateWayId
,
Arrays
.
asList
(
stationBasic
.
getFanGatewayId
()));
queryCondtion
.
put
(
CommonConstans
.
QueryStringEquipmentIndexName
,
Arrays
.
asList
(
"待机"
,
"停机"
,
"告警运行"
,
"限额运行"
,
"降额运行"
,
"故障停机"
,
"通讯故障"
,
"运行"
));
queryCondtion
.
put
(
CommonConstans
.
QueryStringEquipmentIndexName
,
Arrays
.
asList
(
"待机"
,
"停机"
,
"告警运行"
,
"限额运行"
,
"降额运行"
,
"故障停机"
,
"通讯故障"
,
"运行"
));
queryCondtion
.
put
(
CommonConstans
.
QueryStringValueKeyword
,
Arrays
.
asList
(
"true"
));
/**
* 逆变器
*/
List
<
ESEquipments
>
indicatorsDtoList
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondtion
,
null
,
ESEquipments
.
class
);
Collections
.
sort
(
indicatorsDtoList
,
(
a
,
b
)
->
(
b
.
getCreatedTime
())
.
compareTo
(
a
.
getCreatedTime
()));
//过滤重复状态
List
<
ESEquipments
>
nindicatorsDtoList
=
indicatorsDtoList
.
stream
().
collect
(
Collectors
.
collectingAndThen
(
Collectors
.
toCollection
(()
->
new
TreeSet
<>(
Comparator
.
comparing
(
ESEquipments:
:
getDisplayName
))),
ArrayList:
:
new
));
List
<
ESEquipments
>
indicatorsDtoList
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondtion
,
null
,
ESEquipments
.
class
);
/**
* 汇流箱
*/
...
...
@@ -2117,29 +2104,26 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
queryCondtion
.
remove
(
CommonConstans
.
QueryStringValueKeyword
);
queryCondtion
.
put
(
CommonConstans
.
QueryStringDataType
,
Arrays
.
asList
(
"state"
));
shouldCondtion
.
put
(
CommonConstans
.
QueryStringFrontMoudle
,
"汇流箱"
);
List
<
ESEquipments
>
indicatorsDtoListHLX
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondtion
,
shouldCondtion
,
ESEquipments
.
class
);
List
<
ESEquipments
>
indicatorsDtoListHLX
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondtion
,
shouldCondtion
,
ESEquipments
.
class
);
/**
* 箱变
*/
shouldCondtion
.
put
(
CommonConstans
.
QueryStringFrontMoudle
,
"箱变"
);
List
<
ESEquipments
>
indicatorsDtoListXB
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondtion
,
shouldCondtion
,
ESEquipments
.
class
)
;
List
<
ESEquipments
>
indicatorsDtoListXB
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondtion
,
shouldCondtion
,
ESEquipments
.
class
);
;
indicatorsDtoList
.
addAll
(
indicatorsDtoListHLX
);
indicatorsDtoList
.
addAll
(
indicatorsDtoListXB
);
List
<
EquipAlarmEvent
>
newEquipAlarmEvents
=
new
ArrayList
<>();
List
<
EquipAlarmEvent
>
newEquipAlarmEvent
=
new
ArrayList
<>();
long
time
=
new
Date
().
getTime
();
if
(
CollectionUtils
.
isNotEmpty
(
nindicatorsDtoList
))
{
for
(
ESEquipments
esEquipments
:
n
indicatorsDtoList
)
{
if
(
CollectionUtils
.
isNotEmpty
(
indicatorsDtoList
))
{
for
(
ESEquipments
esEquipments
:
indicatorsDtoList
)
{
EquipAlarmEvent
equipAlarmEvent
=
new
EquipAlarmEvent
();
equipAlarmEvent
.
setEquipIndex
(
esEquipments
.
getEquipmentNumber
());
equipAlarmEvent
.
setEquipName
(
esEquipments
.
getEquipmentSpecificName
());
equipAlarmEvent
.
setAlarmDesc
(
AlarmDesc
.
getCode
(
esEquipments
.
getEquipmentIndexName
()));
equipAlarmEvent
.
setAlarmDesc
(
StringUtils
.
isEmpty
(
equipAlarmEvent
.
getAlarmDesc
())
?
esEquipments
.
getEquipmentIndexName
()
:
equipAlarmEvent
.
getAlarmDesc
());
equipAlarmEvent
.
setAlarmDesc
(
StringUtils
.
isEmpty
(
equipAlarmEvent
.
getAlarmDesc
())
?
esEquipments
.
getEquipmentIndexName
()
:
equipAlarmEvent
.
getAlarmDesc
());
equipAlarmEvent
.
setCreatedTime
(
esEquipments
.
getCreatedTime
());
equipAlarmEvent
.
setGatewayId
(
stationBasic
.
getFanGatewayId
());
equipAlarmEvent
.
setSort
(
time
);
...
...
@@ -2150,15 +2134,15 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
}
}
String
lastSort
=
equipAlarmEventMapper
.
getLastDataBySort
(
stationBasic
.
getFanGatewayId
());
if
(
null
!=
lastSort
)
{
List
<
EquipAlarmEvent
>
oldEquipAlarmEvents
=
equipAlarmEventMapper
.
getOldDataBySort
(
lastSort
,
stationBasic
.
getFanGatewayId
());
List
<
EquipAlarmEvent
>
oldEquipAlarmEvents
=
equipAlarmEventMapper
.
getOldDataBySort
(
lastSort
,
stationBasic
.
getFanGatewayId
());
for
(
EquipAlarmEvent
oldEquipAlarmEvent
:
oldEquipAlarmEvents
)
{
for
(
EquipAlarmEvent
equipAlarmEvent
:
newEquipAlarmEvents
)
{
if
(
oldEquipAlarmEvent
.
getEquipIndex
().
equals
(
equipAlarmEvent
.
getEquipIndex
())
&&
oldEquipAlarmEvent
.
getAlarmDesc
().
equals
(
equipAlarmEvent
.
getAlarmDesc
())
&&
oldEquipAlarmEvent
.
getValue
().
equals
(
equipAlarmEvent
.
getValue
()))
{
if
(
oldEquipAlarmEvent
.
getEquipIndex
().
equals
(
equipAlarmEvent
.
getEquipIndex
())
&&
oldEquipAlarmEvent
.
getAlarmDesc
().
equals
(
equipAlarmEvent
.
getAlarmDesc
())
&&
oldEquipAlarmEvent
.
getValue
().
equals
(
equipAlarmEvent
.
getValue
()))
{
newEquipAlarmEvent
.
remove
(
equipAlarmEvent
);
}
}
...
...
@@ -2176,20 +2160,16 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
queryCondition
.
put
(
CommonConstans
.
QueryStringGateWayId
,
Arrays
.
asList
(
gatewayId
));
Map
<
String
,
String
>
shouldCondition
=
new
HashMap
<>();
shouldCondition
.
put
(
CommonConstans
.
QueryStringFrontMoudle
,
"逆变器"
);
List
<
ESEquipments
>
totalEquipmentList
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondition
,
shouldCondition
,
ESEquipments
.
class
);
List
<
ESEquipments
>
totalEquipmentList
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondition
,
shouldCondition
,
ESEquipments
.
class
);
totalEquipmentList
.
forEach
(
indicatorsDto
->
result
.
put
(
indicatorsDto
.
getEquipmentNumber
(),
"正常运行"
));
Map
<
String
,
List
<
String
>>
queryCondition1
=
new
HashMap
<>();
queryCondition1
.
put
(
CommonConstans
.
QueryStringEquipmentIndexName
,
Arrays
.
asList
(
"运行"
,
"待机"
,
"故障停机"
,
"告警运行"
,
"限额运行"
,
"停机"
,
"通讯故障"
,
"'降额运行'"
));
queryCondition1
.
put
(
CommonConstans
.
QueryStringEquipmentIndexName
,
Arrays
.
asList
(
"运行"
,
"待机"
,
"故障停机"
,
"告警运行"
,
"限额运行"
,
"停机"
,
"通讯故障"
,
"'降额运行'"
));
queryCondition1
.
put
(
CommonConstans
.
QueryStringValueKeyword
,
Arrays
.
asList
(
"true"
));
queryCondition1
.
put
(
CommonConstans
.
QueryStringGateWayId
,
Arrays
.
asList
(
gatewayId
));
List
<
ESEquipments
>
indicatorsDtoList
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondition1
,
shouldCondition
,
ESEquipments
.
class
);
List
<
ESEquipments
>
indicatorsDtoList
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondition1
,
shouldCondition
,
ESEquipments
.
class
);
indicatorsDtoList
.
forEach
(
esEquipments
->
{
if
(!
"运行"
.
equals
(
esEquipments
.
getEquipmentIndexName
()))
{
result
.
put
(
esEquipments
.
getEquipmentNumber
(),
CommonConstans
.
pvStatus
.
get
(
esEquipments
.
getEquipmentIndexName
()));
result
.
put
(
esEquipments
.
getEquipmentNumber
(),
CommonConstans
.
pvStatus
.
get
(
esEquipments
.
getEquipmentIndexName
()));
}
});
return
result
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitoringServiceIMQTTmpl.java
View file @
a226e31d
...
...
@@ -283,20 +283,20 @@ public class MonitoringServiceIMQTTmpl {
/**
* 实时推送-场站功率曲线总概览
*/
@Scheduled
(
cron
=
fanStationPowerBightCron
)
public
void
getFanStationPowerBight
()
{
List
<
StationBasic
>
stationBasicList
=
stationBasicMapper
.
selectList
(
new
QueryWrapper
<
StationBasic
>().
isNotNull
(
"sequence_nbr"
).
eq
(
"station_type"
,
"FDZ"
));
stationBasicList
.
forEach
(
stationBasic
->
{
String
gatewayId
=
stationBasic
.
getFanGatewayId
();
Map
<
String
,
Object
>
detailsWindSpeed
=
monitorFanIndicator
.
getDetailsWindSpeedAll
(
gatewayId
);
try
{
emqKeeper
.
getMqttClient
().
publish
(
stationBasic
.
getSequenceNbr
()
+
"_fanStationPowerBight_topic"
,
JSON
.
toJSON
(
detailsWindSpeed
).
toString
().
getBytes
(
"UTF-8"
),
1
,
true
);
logger
.
info
(
"-----------------发送风电站功率曲线数据消息=================== 成功!"
+
JSON
.
toJSONString
(
detailsWindSpeed
));
}
catch
(
Exception
exception
)
{
logger
.
error
(
"-----------------发送风电站功率曲线数据消息=================== 失败!"
);
}
});
}
//
@Scheduled(cron = fanStationPowerBightCron)
//
public void getFanStationPowerBight() {
//
List<StationBasic> stationBasicList = stationBasicMapper.selectList(new QueryWrapper<StationBasic>().isNotNull("sequence_nbr").eq("station_type", "FDZ"));
//
stationBasicList.forEach(stationBasic -> {
//
String gatewayId = stationBasic.getFanGatewayId();
//
Map<String, Object> detailsWindSpeed = monitorFanIndicator.getDetailsWindSpeedAll(gatewayId);
//
try {
//
emqKeeper.getMqttClient().publish(stationBasic.getSequenceNbr() + "_fanStationPowerBight_topic", JSON.toJSON(detailsWindSpeed).toString().getBytes("UTF-8"), 1, true);
//
logger.info("-----------------发送风电站功率曲线数据消息=================== 成功!" + JSON.toJSONString(detailsWindSpeed));
//
} catch (Exception exception) {
//
logger.error("-----------------发送风电站功率曲线数据消息=================== 失败!");
//
}
//
});
//
}
/**
* 实时同送-获取各场站的风机列表
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitoringServiceImpl.java
View file @
a226e31d
...
...
@@ -830,7 +830,7 @@ public class MonitoringServiceImpl {
sorted
.
forEach
(
stationBasic
->
{
HashMap
<
String
,
String
>
hashMap1
=
new
HashMap
<>();
hashMap1
.
put
(
"stationName"
,
stationBasic
.
getStationName
());
hashMap1
.
put
(
"value"
,
stationBasic
.
getAddress
());
hashMap1
.
put
(
"value"
,
stationBasic
.
getAddress
()
+
"%"
);
hashMap1
.
put
(
"value1"
,
stationBasic
.
getAddress
());
mapList
.
add
(
hashMap1
);
});
...
...
@@ -1051,19 +1051,19 @@ public class MonitoringServiceImpl {
page2
.
setRecords
(
list2
);
Double
totalAnnual
=
(
powerOfAnnualFD
+
powerOfAnnualGF
);
HashMap
<
String
,
String
>
stringHashMap13
=
new
HashMap
<>();
stringHashMap13
.
put
(
"title1"
,
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
(
totalAnnual
*
CommonConstans
.
carbonDioxide
*
CommonConstans
.
kgToT
)));
stringHashMap13
.
put
(
"title1"
,
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
(
totalAnnual
*
CommonConstans
.
carbonDioxide
)));
stringHashMap13
.
put
(
"title2"
,
"二氧化碳减排量(t)"
);
list3
.
add
(
stringHashMap13
);
HashMap
<
String
,
String
>
stringHashMap14
=
new
HashMap
<>();
stringHashMap14
.
put
(
"title1"
,
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
(
totalAnnual
*
CommonConstans
.
standardCoal
*
CommonConstans
.
kgToT
)));
stringHashMap14
.
put
(
"title1"
,
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
(
totalAnnual
*
CommonConstans
.
standardCoal
)));
stringHashMap14
.
put
(
"title2"
,
"节约标准煤(t)"
);
list3
.
add
(
stringHashMap14
);
HashMap
<
String
,
String
>
stringHashMap15
=
new
HashMap
<>();
stringHashMap15
.
put
(
"title1"
,
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
(
totalAnnual
*
CommonConstans
.
toner
*
CommonConstans
.
kgToT
)));
stringHashMap15
.
put
(
"title1"
,
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
(
totalAnnual
*
CommonConstans
.
toner
)));
stringHashMap15
.
put
(
"title2"
,
"碳粉尘减排量(t)"
);
list3
.
add
(
stringHashMap15
);
HashMap
<
String
,
String
>
stringHashMap16
=
new
HashMap
<>();
stringHashMap16
.
put
(
"title1"
,
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
(
totalAnnual
*
CommonConstans
.
sulfurDioxide
*
CommonConstans
.
kgToT
)));
stringHashMap16
.
put
(
"title1"
,
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
(
totalAnnual
*
CommonConstans
.
sulfurDioxide
)));
stringHashMap16
.
put
(
"title2"
,
"二氧化硫减排量(t)"
);
list3
.
add
(
stringHashMap16
);
page3
.
setRecords
(
list3
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment