Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
fd6876f1
Commit
fd6876f1
authored
May 25, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
9ea457de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
191 deletions
+80
-191
EquipmentFireEquipmentServiceImpl.java
...iness/service/impl/EquipmentFireEquipmentServiceImpl.java
+3
-2
plan-step.json
...osFireAutoSysStart/src/main/resources/json/plan-step.json
+77
-189
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/EquipmentFireEquipmentServiceImpl.java
View file @
fd6876f1
...
@@ -56,10 +56,10 @@ public class EquipmentFireEquipmentServiceImpl implements IEquipmentFireEquipmen
...
@@ -56,10 +56,10 @@ public class EquipmentFireEquipmentServiceImpl implements IEquipmentFireEquipmen
private
static
final
String
VALUE
=
"true"
;
private
static
final
String
VALUE
=
"true"
;
// 停运本极对端换流器
// 停运本极对端换流器
//
private static final int stepIndex = 9;
private
static
final
int
stepIndex
=
9
;
// 消防泵正常启动
// 消防泵正常启动
//
private static final int pumpStepIndex = 7;
private
static
final
int
pumpStepIndex
=
7
;
@Autowired
@Autowired
private
IEquipmentFireEquipmentService
equipmentFireEquipmentService
;
private
IEquipmentFireEquipmentService
equipmentFireEquipmentService
;
...
@@ -172,6 +172,7 @@ public class EquipmentFireEquipmentServiceImpl implements IEquipmentFireEquipmen
...
@@ -172,6 +172,7 @@ public class EquipmentFireEquipmentServiceImpl implements IEquipmentFireEquipmen
}
}
return
false
;
return
false
;
}
}
@Override
@Override
public
Object
automaticExecutePoint
(
Integer
index
)
{
public
Object
automaticExecutePoint
(
Integer
index
)
{
if
(
ObjectUtils
.
isEmpty
(
index
))
{
if
(
ObjectUtils
.
isEmpty
(
index
))
{
...
...
YeeAmosFireAutoSysStart/src/main/resources/json/plan-step.json
View file @
fd6876f1
[
[
{
{
"stepCode"
:
"0"
,
"stepCode"
:
"0"
,
"stepName"
:
"确认
火
情"
,
"stepName"
:
"确认
灾
情"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"FIRE_CONFIRM"
,
"buttonCode"
:
"FIRE_CONFIRM"
,
"isParallel"
:
"1"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
0
,
"index"
:
0
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"1
5
"
,
"stepCode"
:
"1"
,
"stepName"
:
"
全站广播通报火情
"
,
"stepName"
:
"
停运换流阀
"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
ALL_STATION_PA
"
,
"buttonCode"
:
"
STOP_COMMUTATION
"
,
"isParallel"
:
"1"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
1
,
"index"
:
1
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
,
"checkYesOrNo"
:
""
"condition"
:
[
{
"equipName"
:
"换流器"
,
"equipCode"
:
"92261200S7944"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"DCCP_DCCPStreamTransformerCharged"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
},
},
{
{
"stepCode"
:
"2"
,
"stepCode"
:
"2"
,
"stepName"
:
"拨打
火
警电话"
,
"stepName"
:
"拨打
报
警电话"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"CALL_PHONE"
,
"buttonCode"
:
"CALL_PHONE"
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
2
,
"index"
:
2
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"
16
"
,
"stepCode"
:
"
3
"
,
"stepName"
:
"
停运起火换流器
"
,
"stepName"
:
"
确认油枕排油系统已开启
"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
STOP_FIRE_TRANSVERTER
"
,
"buttonCode"
:
"
DRAIN_OIL_CONFIRM
"
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
3
,
"index"
:
3
,
"checkYesOrNo"
:
""
,
"condition"
:
[
"condition"
:
[
{
{
"equipName"
:
"
开关
"
,
"equipName"
:
"
排油阀
"
,
"equipCode"
:
"
590000003EB
44"
,
"equipCode"
:
"
92102700EBA
44"
,
"equipSpeName"
:
""
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"
Running_Alarm
"
,
"equipSpeIndexKey"
:
"
ONL_OilDischargeDeviceOilPillowDischargeOpen
"
,
"standardValue"
:
"
fals
e"
,
"standardValue"
:
"
tru
e"
,
"inAndOr"
:
"and"
"inAndOr"
:
"and"
}
}
],
],
"outAndOr"
:
"and"
,
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"isAuto"
:
0
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"
3
"
,
"stepCode"
:
"
4
"
,
"stepName"
:
"确认
油枕排油
系统已开启"
,
"stepName"
:
"确认
水喷雾
系统已开启"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
DRAIN_OIL_CONFIR
M"
,
"buttonCode"
:
"
OPEN_WATERSYSTE
M"
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
4
,
"index"
:
4
,
"checkYesOrNo"
:
""
,
"condition"
:
[
"condition"
:
[
{
{
"equipName"
:
"
排油
阀"
,
"equipName"
:
"
雨淋
阀"
,
"equipCode"
:
"921
00400VWE
44"
,
"equipCode"
:
"921
30300BH6
44"
,
"equipSpeName"
:
""
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"
ONL_DrainOilValve_Open
"
,
"equipSpeIndexKey"
:
"
WSS_DelugeValve_Start
"
,
"standardValue"
:
"true"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"and"
"inAndOr"
:
"and"
}
}
],
],
"outAndOr"
:
"and"
,
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"isAuto"
:
0
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"
4
"
,
"stepCode"
:
"
5
"
,
"stepName"
:
"
泡沫喷淋系统已开启
"
,
"stepName"
:
"
断开上级电源
"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"O
PEN_WATERSYSTEM
"
,
"buttonCode"
:
"O
FF_POWER
"
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
5
,
"index"
:
5
,
"condition"
:
[
{
"equipName"
:
"主机"
,
"equipCode"
:
"92030100TGX44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"CAFS_CompAirFoamHost_Outfire"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"
7
"
,
"stepCode"
:
"
6
"
,
"stepName"
:
"
一键启动消防炮
"
,
"stepName"
:
"
停运阀厅空调系统
"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
MONITOR_START
"
,
"buttonCode"
:
"
STOP_AIRCON
"
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
6
,
"index"
:
6
,
"condition"
:
[
{
"equipName"
:
"CAFS消防炮"
,
"equipCode"
:
"92032200BUX44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"CAFS_GunValve_Open"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"
1
7"
,
"stepCode"
:
"7"
,
"stepName"
:
"
消防泵正常启动
"
,
"stepName"
:
"
一键开启消防炮
"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
FIRE_PUMP
_START"
,
"buttonCode"
:
"
MONITOR
_START"
,
"isParallel"
:
"
1
"
,
"isParallel"
:
"
0
"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
7
,
"index"
:
7
,
"checkYesOrNo"
:
""
,
"condition"
:
[
"condition"
:
[
{
{
"equipName"
:
"消防
泵
"
,
"equipName"
:
"消防
炮阀
"
,
"equipCode"
:
"920
106007GV
44"
,
"equipCode"
:
"920
32200BUX
44"
,
"equipSpeName"
:
""
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"
FHS_FirePump_Start
"
,
"equipSpeIndexKey"
:
"
CAFS_CAFSFireGunEquipmentValveStatus
"
,
"standardValue"
:
"true"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"
or
"
"inAndOr"
:
"
and
"
}
}
],
],
"outAndOr"
:
"and"
,
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"isAuto"
:
0
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"
1
8"
,
"stepCode"
:
"8"
,
"stepName"
:
"
向各级调度、领导汇报火情
"
,
"stepName"
:
"
驻站消防队指挥权交接
"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
LEADER_REPORT_FIRE
"
,
"buttonCode"
:
"
HANDOVER_COMMAND
"
,
"isParallel"
:
"
0
"
,
"isParallel"
:
"
1
"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
8
,
"index"
:
8
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"
1
9"
,
"stepCode"
:
"9"
,
"stepName"
:
"
停运本极对端换流器
"
,
"stepName"
:
"
确认本体排油已开启
"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
STOP_LOCAL_END_TRANSVERTER
"
,
"buttonCode"
:
"
OWNER_DRAIN_OIL
"
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
9
,
"index"
:
9
,
"checkYesOrNo"
:
""
,
"condition"
:
[
"condition"
:
[
{
{
"equipName"
:
"
开关
"
,
"equipName"
:
"
排油阀
"
,
"equipCode"
:
"
590000003EB
44"
,
"equipCode"
:
"
92102700EBA
44"
,
"equipSpeName"
:
""
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"
Running_Alarm
"
,
"equipSpeIndexKey"
:
"
ONL_OilDischargeDeviceOilyPillowDischargeOpen
"
,
"standardValue"
:
"
fals
e"
,
"standardValue"
:
"
tru
e"
,
"inAndOr"
:
"and"
"inAndOr"
:
"and"
}
}
],
],
"outAndOr"
:
"and"
,
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"isAuto"
:
0
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"
2
0"
,
"stepCode"
:
"
1
0"
,
"stepName"
:
"
停运阀冷系统
"
,
"stepName"
:
"
启动阀厅应急预案
"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"ST
OP_VALVE_COOL_SYS
"
,
"buttonCode"
:
"ST
ART_VALVE_HALL_CONTINGENCY
"
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
10
,
"index"
:
10
,
"condition"
:
[
{
"equipName"
:
"阀冷系统主机"
,
"equipCode"
:
"59000000H9G44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"normal_running_state"
,
"standardValue"
:
"false"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"
6
"
,
"stepCode"
:
"
11
"
,
"stepName"
:
"
停运阀厅空调系统
"
,
"stepName"
:
"
电缆沟封堵
"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
STOP_AIRCON
"
,
"buttonCode"
:
"
PLUG_CABLETRENCH
"
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
11
,
"index"
:
11
,
"condition"
:
[
{
"equipName"
:
"AIRCS-风机"
,
"equipCode"
:
"92230600UH244"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"AIRCS_Fan_Start"
,
"standardValue"
:
"false"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"checkYesOrNo"
:
""
},
},
{
{
"stepCode"
:
"
5
"
,
"stepCode"
:
"
12
"
,
"stepName"
:
"
断开冷却器上级电源
"
,
"stepName"
:
"
政府消防队指挥权交接
"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
OFF_POWER
"
,
"buttonCode"
:
"
HANDOVER_FIGTHHING
"
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
12
,
"index"
:
12
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"21"
,
"stepName"
:
"起火换流器转检修"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"FIRE_TRANSVERTER_TO_OVERHAUL"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
13
,
"condition"
:
[
{
"equipName"
:
"地刀"
,
"equipCode"
:
"59000000SAT44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"Running_Alarm"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"22"
,
"stepName"
:
"对阀侧套管、阀厅进行降温"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"VALVE_HALL_COOL"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
14
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"8"
,
"stepName"
:
"驻站消防队指挥权交接"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"HANDOVER_COMMAND"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
15
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"checkYesOrNo"
:
""
},
},
{
{
...
@@ -290,30 +201,7 @@
...
@@ -290,30 +201,7 @@
"buttonCode"
:
"FIRE_EXTINCT"
,
"buttonCode"
:
"FIRE_EXTINCT"
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
16
,
"index"
:
13
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"23"
,
"stepName"
:
"确认无复燃情况"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"CONFIRM_REKINDLE"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
17
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"24"
,
"stepName"
:
"向各级调度、领导汇报已灭火"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"LEADER_REPORT_FIRE_EXTINCT"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
18
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"checkYesOrNo"
:
""
},
},
{
{
...
@@ -323,8 +211,7 @@
...
@@ -323,8 +211,7 @@
"buttonCode"
:
"END_EMERGENCY"
,
"buttonCode"
:
"END_EMERGENCY"
,
"isParallel"
:
"1"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
19
,
"index"
:
14
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"checkYesOrNo"
:
""
}
}
]
]
\ No newline at end of file
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