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
a86055cb
Commit
a86055cb
authored
Oct 12, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改电量表计问题
parent
0f22031c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
6 deletions
+35
-6
CommonConstans.java
.../amos/boot/module/jxiop/biz/constants/CommonConstans.java
+33
-4
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+2
-2
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+0
-0
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 @
a86055cb
...
...
@@ -3,10 +3,7 @@ package com.yeejoin.amos.boot.module.jxiop.biz.constants;
import
com.sun.javafx.logging.PulseLogger
;
import
org.checkerframework.checker.units.qual.C
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.*
;
public
class
CommonConstans
{
//光伏发电量系数
...
...
@@ -115,6 +112,7 @@ public class CommonConstans {
public
static
final
String
QueryStringIsAlarm
=
"isAlarm"
;
public
static
final
String
QueryStringIsAlarmKeyword
=
"isAlarm.keyword"
;
public
static
final
String
Twodecimalplaces
=
"%.2f"
;
public
static
final
String
Threedecimalplaces
=
"%.3f"
;
public
static
final
String
Fourdecimalplaces
=
"%.4f"
;
public
static
final
String
QueryStringFrontMoudleNotKeyWord
=
"frontModule"
;
//泰和的发电量数据
...
...
@@ -127,4 +125,35 @@ public class CommonConstans {
public
static
final
String
taiheIrradiationPonit
=
"WTX-801_25_WTX-801_总辐射"
;
public
static
final
String
xiazaoActivePowerPoint
=
"220kV夏雩线212线路测控装置PCS-9705TA有功功率一次值"
;
public
static
final
String
xiazaoWindSpeedrPoint
=
"瞬时风速"
;
public
static
final
List
<
String
>
xiazaoElectricityMeter
=
new
ArrayList
<>(
Arrays
.
asList
(
"夏雩线212主表"
,
"夏雩线212副表"
,
"1号主变高压侧201"
,
"1号主变低压侧301"
,
"35kV集电Ⅰ线311"
,
"35kV集电Ⅱ线312"
,
"35kV集电Ⅲ线313"
,
"35kV集电Ⅳ线314"
,
"35kV集电V线315"
,
"35kV#1SVG316"
,
"35kV#1SVG317"
,
"35kV#1接地变307"
));
public
static
final
List
<
String
>
taiheElectricityMeter
=
new
ArrayList
<>(
Arrays
.
asList
(
"前光Ⅰ线"
,
"前光Ⅱ线"
,
"消弧线圈兼接地变"
,
"#1SVG"
,
"前万线"
));
public
static
final
HashMap
<
String
,
List
<
String
>>
xiazaoElectricityMeterPointSort
=
new
HashMap
<
String
,
List
<
String
>>()
{
{
put
(
"夏雩线212主表"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002夏雩线主表正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002夏雩线主表反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002夏雩线主表正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002夏雩线主表反向总无功Q-"
));
put
(
"夏雩线212副表"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002夏雩线副表正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002夏雩线副表反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002夏雩线副表正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002夏雩线副表反向总无功Q-"
));
put
(
"1号主变高压侧201"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002#1主变高压侧正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002#1主变高压侧反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002#1主变高压侧正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002#1主变高压侧反向总无功Q-"
));
put
(
"1号主变低压侧301"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002#1主变低压侧正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002#1主变低压侧反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002#1主变低压侧正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002#1主变低压侧反向总无功Q-"
));
put
(
"35kV集电Ⅰ线311"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002集电I线正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002集电I线反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002集电I线正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002集电I线反向总无功Q-"
));
put
(
"35kV集电Ⅱ线312"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002集电II线正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002集电II线反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002集电II线正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002集电II线反向总无功Q-"
));
put
(
"35kV集电Ⅲ线313"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002集电III线正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002集电III线反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002集电III线正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002集电III线反向总无功Q-"
));
put
(
"35kV集电Ⅳ线314"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002集电IV线正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002集电IV线反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002集电IV线正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002集电IV线反向总无功Q-"
));
put
(
"35kV集电V线315"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002集电V线正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002集电V线反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002集电V线正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002集电V线反向总无功Q-"
));
put
(
"35kV#1SVG316"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002#1SVG正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002#1SVG反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002#1SVG正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002#1SVG反向总无功Q-"
));
put
(
"35kV#1SVG317"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002#2SVG正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002#2SVG反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002#2SVG正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002#2SVG反向总无功Q-"
));
put
(
"35kV#1接地变307"
,
Arrays
.
asList
(
"威胜电量采集WFET2000S_v3.002站用接地变正向总有功P+"
,
"威胜电量采集WFET2000S_v3.002站用接地变反向总有功P-"
,
"威胜电量采集WFET2000S_v3.002站用接地变正向总无功Q+"
,
"威胜电量采集WFET2000S_v3.002站用接地变反向总无功Q-"
));
}
};
public
static
final
HashMap
<
String
,
List
<
String
>>
taiheElectricityMeterPointSort
=
new
HashMap
<
String
,
List
<
String
>>()
{
{
put
(
"前光Ⅰ线"
,
Arrays
.
asList
(
"314前光Ⅰ线保测_总正向有功电度"
,
"314前光Ⅰ线保测_总反向有功电度"
,
"314前光Ⅰ线保测_总感性无功电度"
,
"314前光Ⅰ线保测_总容性无功电度"
));
put
(
"前光Ⅱ线"
,
Arrays
.
asList
(
"315前光Ⅱ线保测_总正向有功电度"
,
"315前光Ⅱ线保测_总反向有功电度"
,
"315前光Ⅱ线保测_总感性无功电度"
,
"315前光Ⅱ线保测_总容性无功电度"
));
put
(
"消弧线圈兼接地变"
,
Arrays
.
asList
(
"311#1消弧线圈_总正向有功电度"
,
"311#1消弧线圈_总反向有功电度"
,
"311#1消弧线圈_总感性无功电度"
,
"311#1消弧线圈_总容性无功电度"
));
put
(
"#1SVG"
,
Arrays
.
asList
(
"312#1SVG_总正向有功电度"
,
"312#1SVG_总反向有功电度"
,
"312#1SVG_总感性无功电度"
,
"312#1SVG_总容性无功电度"
));
put
(
"前万线"
,
Arrays
.
asList
(
"313光差保护_总正向有功电度"
,
"313光差保护_总反向有功电度"
,
"313光差保护_总感性无功电度"
,
"313光差保护_总容性无功电度"
));
}
};
}
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 @
a86055cb
...
...
@@ -532,8 +532,8 @@ public class MonitorFanIdxController extends BaseController {
@RequestParam
(
value
=
"stationId"
)
String
stationId
,
@RequestParam
(
value
=
"stationType"
,
required
=
false
)
String
stationType
)
{
StationBasic
stationBasic
=
stationBasicMapper
.
selectById
(
stationId
);
String
gatewayId
=
stationBasic
.
getBoosterGatewayId
();
ResultsData
resultsData
=
monitorFanIndicatorImpl
.
getElectricQuantityList
(
current
,
size
,
gatewayId
,
stationType
);
//
String gatewayId = stationBasic.getBoosterGatewayId();
ResultsData
resultsData
=
monitorFanIndicatorImpl
.
getElectricQuantityList
(
current
,
size
,
stationBasic
);
return
ResponseHelper
.
buildResponse
(
resultsData
);
}
...
...
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 @
a86055cb
This diff is collapsed.
Click to expand it.
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