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
28800c2c
Commit
28800c2c
authored
Dec 08, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改现场bug
parent
f6357920
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
400 additions
and
257 deletions
+400
-257
DutyPersonEnum.java
...ava/com/yeejoin/amos/fas/common/enums/DutyPersonEnum.java
+2
-2
PlanVisual3dController.java
.../amos/fas/business/controller/PlanVisual3dController.java
+2
-0
RiskSourceController.java
...in/amos/fas/business/controller/RiskSourceController.java
+10
-10
View3dMapper.java
...om/yeejoin/amos/fas/business/dao/mapper/View3dMapper.java
+3
-3
EquipmentFireEquipmentServiceImpl.java
...iness/service/impl/EquipmentFireEquipmentServiceImpl.java
+19
-19
View3dServiceImpl.java
...oin/amos/fas/business/service/impl/View3dServiceImpl.java
+14
-13
dbTemplate_fire_equip.xml
...rt/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
+1
-1
dbTemplate_view3d.xml
...sStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
+16
-18
plan-setp-suzhou.json
...utoSysStart/src/main/resources/json/plan-setp-suzhou.json
+236
-0
plan-step.json
...osFireAutoSysStart/src/main/resources/json/plan-step.json
+94
-188
pom.xml
pom.xml
+3
-3
No files found.
YeeAmosFireAutoSysCommon/src/main/java/com/yeejoin/amos/fas/common/enums/DutyPersonEnum.java
View file @
28800c2c
...
...
@@ -11,9 +11,9 @@ import java.util.Map;
*/
public
enum
DutyPersonEnum
{
FIRE_PERSON
(
"驻站消防"
,
"fire"
),
FIRE_PERSON
(
"驻站消防
员
"
,
"fire"
),
OPS_PERSON
(
"运维人员"
,
"ops"
),
REAL_PERSON
(
"物业安保"
,
"realEstate"
);
REAL_PERSON
(
"物业安保
人员
"
,
"realEstate"
);
/**
* 名称,描述
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/PlanVisual3dController.java
View file @
28800c2c
...
...
@@ -23,6 +23,7 @@ import org.slf4j.Logger;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.context.annotation.Lazy
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletRequest
;
...
...
@@ -45,6 +46,7 @@ public class PlanVisual3dController extends BaseController {
private
IPlanVisual3dService
planVisual3dService
;
@Autowired
@Lazy
private
IEmergencyTaskService
emergencyTaskService
;
@Autowired
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/RiskSourceController.java
View file @
28800c2c
...
...
@@ -727,17 +727,17 @@ public class RiskSourceController extends BaseController {
if
(
commonPageable
.
getPageNumber
()
==
0
)
{
commonPageable
.
setPageNumber
(
1
);
}
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
orgCode
=
getOrgCode
(
reginParams
);
//
ReginParams reginParams = getSelectedOrgInfo();
//
String orgCode = getOrgCode(reginParams);
String
bizOrgCode
=
null
;
if
(
StringUtil
.
isNotEmpty
(
orgCode
))
{
bizOrgCode
=
contingencyPlanInstanceMapper
.
getBizOrgCode
(
orgCode
);
if
(!
StringUtil
.
isNotEmpty
(
bizOrgCode
))
{
return
CommonResponseUtil
.
success
(
null
);
}
}
else
{
return
CommonResponseUtil
.
success
(
null
);
}
//
if (StringUtil.isNotEmpty(orgCode)) {
//
bizOrgCode = contingencyPlanInstanceMapper.getBizOrgCode(orgCode);
//
if (!StringUtil.isNotEmpty(bizOrgCode)) {
//
return CommonResponseUtil.success(null);
//
}
//
} else {
//
return CommonResponseUtil.success(null);
//
}
return
CommonResponseUtil
.
success
(
riskSourceService
.
getWaterInfo
(
commonPageable
,
bizOrgCode
));
}
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/dao/mapper/View3dMapper.java
View file @
28800c2c
...
...
@@ -103,7 +103,7 @@ public interface View3dMapper extends BaseMapper {
* @param orgCode
* @return
*/
List
<
SafetyExecuteBo
>
getRiskErrorTop5
(
String
orgCode
);
List
<
SafetyExecuteBo
>
getRiskErrorTop5
();
/**
* 巡检异常示最新5条
...
...
@@ -111,7 +111,7 @@ public interface View3dMapper extends BaseMapper {
* @param orgCode
* @return
*/
List
<
SafetyExecuteBo
>
getCheckErrorTop5
(
String
orgCode
);
List
<
SafetyExecuteBo
>
getCheckErrorTop5
();
/**
* 火灾告警最新5条
...
...
@@ -119,7 +119,7 @@ public interface View3dMapper extends BaseMapper {
* @param orgCode
* @return
*/
List
<
SafetyExecuteBo
>
getFireAlarmTop5
(
String
orgCode
);
List
<
SafetyExecuteBo
>
getFireAlarmTop5
();
/**
* 设备状态最新5条
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/EquipmentFireEquipmentServiceImpl.java
View file @
28800c2c
...
...
@@ -191,20 +191,20 @@ public class EquipmentFireEquipmentServiceImpl implements IEquipmentFireEquipmen
String
fireEquipId
=
String
.
valueOf
(
map
.
get
(
"fireEquipId"
));
List
<
Long
>
fireEquipments
=
new
ArrayList
<>();
// 若是停运本极对端换流器,则需查出本极对应的电力设备列表,暂用电力设备名称过滤出本极电力设备,注意此处的电力设备按照标准有两极(极I,极II)
if
(
stepIndex
==
index
)
{
Optional
<
Equipment
>
equipment
=
iEquipmentDao
.
findById
(
Long
.
valueOf
(
fireEquipId
));
if
(
equipment
.
get
()
!=
null
)
{
String
fireEquipNamePrefix
=
equipment
.
get
().
getName
().
substring
(
0
,
2
);
List
<
String
>
fireEquipIdList
=
equipmentSpecificMapper
.
getFireEquipIdsByNamePrefix
(
fireEquipNamePrefix
);
String
[]
strings
=
fireEquipIdList
.
toArray
(
new
String
[
fireEquipIdList
.
size
()]);
// 获取消防设备id列表
fireEquipments
=
equipmentFireEquipmentService
.
findFireEquipmentIdsByEquipmentId
(
strings
);
}
}
else
{
String
[]
fireEquipIds
=
new
String
[]{
fireEquipId
};
// 获取消防设备id列表
fireEquipments
=
equipmentFireEquipmentService
.
findFireEquipmentIdsByEquipmentId
(
fireEquipIds
);
}
//
if (stepIndex == index) {
//
Optional<Equipment> equipment = iEquipmentDao.findById(Long.valueOf(fireEquipId));
//
if (equipment.get() != null) {
//
String fireEquipNamePrefix = equipment.get().getName().substring(0, 2);
//
List<String> fireEquipIdList = equipmentSpecificMapper.getFireEquipIdsByNamePrefix(fireEquipNamePrefix);
//
String[] strings = fireEquipIdList.toArray(new String[fireEquipIdList.size()]);
//
// 获取消防设备id列表
//
fireEquipments = equipmentFireEquipmentService.findFireEquipmentIdsByEquipmentId(strings);
//
}
//
} else {
String
[]
fireEquipIds
=
new
String
[]{
fireEquipId
};
// 获取消防设备id列表
fireEquipments
=
equipmentFireEquipmentService
.
findFireEquipmentIdsByEquipmentId
(
fireEquipIds
);
//
}
PlanStepJsonVO
vo
=
result
.
stream
().
filter
(
x
->
x
.
getIndex
()
==
index
).
collect
(
Collectors
.
toList
()).
get
(
0
);
List
<
ConditionVO
>
list
=
vo
.
getCondition
();
...
...
@@ -232,11 +232,11 @@ public class EquipmentFireEquipmentServiceImpl implements IEquipmentFireEquipmen
planMessageDao
.
save
(
message
);
}
}
if
(
pumpStepIndex
==
index
)
{
return
0
<
resultSize
;
}
else
{
return
(
0
<
resultSize
&&
num
==
resultSize
);
}
//
if (pumpStepIndex == index) {
//
return 0 < resultSize;
//
} else {
return
(
0
<
resultSize
&&
num
==
resultSize
);
//
}
}
else
{
return
false
;
}
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/View3dServiceImpl.java
View file @
28800c2c
...
...
@@ -446,11 +446,11 @@ public class View3dServiceImpl implements IView3dService {
StatisticsErrorTypeEum
.
risk
.
getCode
();
switch
(
type
)
{
case
"risk"
:
//风险异常
return
view3dMapper
.
getRiskErrorTop5
(
orgCode
);
return
view3dMapper
.
getRiskErrorTop5
();
case
"check"
:
//巡检异常
return
view3dMapper
.
getCheckErrorTop5
(
orgCode
);
return
view3dMapper
.
getCheckErrorTop5
();
case
"fire"
:
//火灾告警
return
view3dMapper
.
getFireAlarmTop5
(
orgCode
);
return
view3dMapper
.
getFireAlarmTop5
();
default
:
throw
new
YeeException
(
"不支持的类型 -->"
+
type
);
}
...
...
@@ -468,19 +468,20 @@ public class View3dServiceImpl implements IView3dService {
JSONArray
dataList
=
JSONObject
.
parseArray
(
JSONStr
);
if
(!
ObjectUtils
.
isEmpty
(
dataList
))
{
for
(
Object
x
:
dataList
)
{
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
String
json
=
JSON
.
toJSONString
(((
JSONObject
)
x
).
get
(
"data"
));
JSONArray
array
=
JSONObject
.
parseArray
(
json
);
if
(!
ObjectUtils
.
isEmpty
(
array
))
{
Map
<
String
,
String
>
result
=
(
Map
<
String
,
String
>)
array
.
get
(
0
);
String
total
=
result
.
get
(
"total"
);
String
postTypeName
=
result
.
get
(
"postTypeName"
);
if
(
DutyPersonEnum
.
FIRE_PERSON
.
getName
().
equals
(
postTypeName
))
{
map
.
put
(
"firePersonNumber"
,
total
);
}
else
if
(
DutyPersonEnum
.
OPS_PERSON
.
getName
().
equals
(
postTypeName
))
{
map
.
put
(
"dutyPersonNumber"
,
total
);
}
else
if
(
DutyPersonEnum
.
REAL_PERSON
.
getName
().
equals
(
postTypeName
))
{
map
.
put
(
"securityPersonNumber"
,
total
);
for
(
Object
obj
:
array
){
Map
<
String
,
String
>
result
=
(
Map
<
String
,
String
>)
obj
;
String
total
=
result
.
get
(
"total"
);
String
postTypeName
=
result
.
get
(
"postTypeName"
);
if
(
DutyPersonEnum
.
FIRE_PERSON
.
getName
().
equals
(
postTypeName
))
{
map
.
put
(
"firePersonNumber"
,
total
);
}
else
if
(
DutyPersonEnum
.
OPS_PERSON
.
getName
().
equals
(
postTypeName
))
{
map
.
put
(
"dutyPersonNumber"
,
total
);
}
else
if
(
DutyPersonEnum
.
REAL_PERSON
.
getName
().
equals
(
postTypeName
))
{
map
.
put
(
"securityPersonNumber"
,
total
);
}
}
}
}
...
...
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
View file @
28800c2c
...
...
@@ -165,7 +165,7 @@
ein.name as eq_point_name,
CASE ind.value WHEN 'true' THEN '是'
WHEN 'false' THEN '否'
ELSE
ind.value
END 'e_value',
ELSE
FORMAT(IFNULL(ind.value, 0), 2)
END 'e_value',
ein.unit as eq_point_unit,
CONCAT(IFNULL(str.full_name,''),' ',IFNULL(sto.description,'')) as source_name,
(
...
...
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
View file @
28800c2c
...
...
@@ -195,7 +195,6 @@
FROM f_rpn_change_log n
LEFT JOIN f_risk_source r ON r.id = n.risk_source_id
WHERE n.type = 0
AND (r.org_code = #{org_code} OR r.org_code like CONCAT(#{org_code},'-%'))
ORDER BY n.create_date desc
limit 0,5
</select>
...
...
@@ -208,7 +207,6 @@
left join p_point I ON I.id = p.point_id
where p.is_ok IN ('2', '3')
AND I.is_delete = 0
AND (p.org_code = #{orgCode} OR p.org_code like CONCAT(#{orgCode},'-%') )
ORDER BY p.check_time desc
limit 0,5
</select>
...
...
@@ -610,20 +608,20 @@
WHERE
s.instanceId = r.source_id
) AS tmp
<where>
<if
test=
"inputText!=null and inputText != ''"
>
AND (
tmp.code LIKE '%${inputText}%'
OR tmp.nam
e LIKE '%${inputText}%'
)
</if>
<if
test=
"type!=null and type!=''"
>
AND tmp.typeCode = #{type}
</if>
<if
test=
"riskSourceId != null and riskSourceId!=''"
>
AND tmp.riskSourceId = #{riskSourceId}
</if>
</where
>
HAVING
1 = 1
<if
test=
"inputText!=null and inputText != ''"
>
(
tmp.cod
e LIKE '%${inputText}%'
OR tmp.name LIKE '%${inputText}%'
)
</if
>
<if
test=
"type!=null and type!=''"
>
AND tmp.typeCode = #{type}
</if
>
<if
test=
"riskSourceId != null and riskSourceId!=''"
>
AND tmp.riskSourceId = #{riskSourceId}
</if
>
) t
</select>
<select
id=
"retrieveAll"
resultType=
"java.util.HashMap"
>
...
...
@@ -1068,7 +1066,8 @@
f_risk_source r
where s.instanceId = r.source_id
) as tmp
<where>
HAVING
1 = 1
<if
test=
"inputText!=null and inputText != ''"
>
AND (
tmp.code LIKE '%${inputText}%'
...
...
@@ -1081,7 +1080,6 @@
<if
test=
"riskSourceId != null and riskSourceId!=''"
>
AND tmp.riskSourceId = #{riskSourceId}
</if>
</where>
LIMIT ${start},${length}
</select>
<select
id=
"retrieve3AllCount"
resultType=
"long"
>
...
...
YeeAmosFireAutoSysStart/src/main/resources/json/plan-setp-suzhou.json
0 → 100644
View file @
28800c2c
[
{
"stepCode"
:
"0"
,
"stepName"
:
"确认火情"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"FIRE_CONFIRM"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"1"
,
"stepName"
:
"汇报火情"
,
"stepStatus"
:
"1"
,
"buttonCode"
:
"LEADER_REPORT_FIRE"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
1
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"2"
,
"stepName"
:
"拨打报警电话"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"CALL_PHONE"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
2
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"3"
,
"stepName"
:
"全站广播通报火情"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"ALL_STATION_PA"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
3
,
"isAuto"
:
0
},
{
"stepCode"
:
"4"
,
"stepName"
:
"起火换流变转检修"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"FIRE_TRANSVERTER_TO_OVERHAUL"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
4
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"5"
,
"stepName"
:
"核对一次设备状态"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"VERIFY_EQUIP_STATUS"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
5
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"6"
,
"stepName"
:
"电缆沟封堵"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"PLUG_CABLETRENCH"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
6
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"7"
,
"stepName"
:
"水喷雾系统启动"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"OPEN_WATERSYSTEM"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
7
,
"checkYesOrNo"
:
""
,
"condition"
:
[
{
"equipName"
:
"雨淋阀"
,
"equipCode"
:
"92130300BH644"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"WSS_DelugeValve_Start"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
},
{
"stepCode"
:
"8"
,
"stepName"
:
"CAFS启动"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"CAFS_OPEN"
,
"isParallel"
:
"1"
,
"roleCode"
:
""
,
"index"
:
8
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"9"
,
"stepName"
:
"停运相关设备"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"SHUTDOWN_RELATED_EQUIP"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
9
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"10"
,
"stepName"
:
"通讯管控"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"COMMUNICATION_CONTROL"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
10
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"11"
,
"stepName"
:
"防火封堵"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"FIRE_SEALING"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
11
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"12"
,
"stepName"
:
"反馈火情"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"FEEDBACK_FIRE"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
12
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"13"
,
"stepName"
:
"启动事故排油系统"
,
"stepStatus"
:
"1"
,
"buttonCode"
:
"DRAIN_OIL_CONFIRM"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
13
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"14"
,
"stepName"
:
"接引横扇社会消防力量进站"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"INTRODUCE_FORCES_INTO_STATION_HS"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
14
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"15"
,
"stepName"
:
"指挥权交接"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"HANDOVER_FIGTHHING"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
15
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"16"
,
"stepName"
:
"处理油污"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"OIL_INSPECTION"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
16
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"17"
,
"stepName"
:
"接引吴江社会消防力量进站"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"INTRODUCE_FORCES_INTO_STATION_WJ"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
17
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"18"
,
"stepName"
:
"启动涡扇炮机器人"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"START_TURBOFAN_ROBOT"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
18
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"19"
,
"stepName"
:
"确认明火扑灭"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"FIRE_EXTINCT"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
19
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"20"
,
"stepName"
:
"事故汇报"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"ACCIDENT_REPORT"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
20
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"21"
,
"stepName"
:
"退出预案"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"END_EMERGENCY"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
21
,
"checkYesOrNo"
:
""
}
]
\ No newline at end of file
YeeAmosFireAutoSysStart/src/main/resources/json/plan-step.json
View file @
28800c2c
...
...
@@ -7,324 +7,229 @@
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
0
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"1
5
"
,
"stepName"
:
"
全站广播通报火情,通知驻站消防队
"
,
"stepStatus"
:
"
0
"
,
"buttonCode"
:
"
ALL_STATION_PA
"
,
"stepCode"
:
"1"
,
"stepName"
:
"
汇报火情
"
,
"stepStatus"
:
"
1
"
,
"buttonCode"
:
"
LEADER_REPORT_FIRE
"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_
A
"
,
"roleCode"
:
"Digital_Responsing_Plan_
B
"
,
"index"
:
1
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"2"
,
"stepName"
:
"拨打
火
警电话"
,
"stepName"
:
"拨打
报
警电话"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"CALL_PHONE"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
2
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
16
"
,
"stepName"
:
"
停运起火换流器,驻站消防队开始灭火
"
,
"stepCode"
:
"
3
"
,
"stepName"
:
"
全站广播通报火情
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
STOP_FIRE_TRANSVERTER
"
,
"buttonCode"
:
"
ALL_STATION_PA
"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
3
,
"condition"
:
[
{
"equipName"
:
"开关"
,
"equipCode"
:
"590000003EB44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"Running_Alarm"
,
"standardValue"
:
"false"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"isAuto"
:
0
},
{
"stepCode"
:
"
3
"
,
"stepName"
:
"
确认油枕排油系统已开启
"
,
"stepCode"
:
"
4
"
,
"stepName"
:
"
起火换流变转检修
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
DRAIN_OIL_CONFIRM
"
,
"buttonCode"
:
"
FIRE_TRANSVERTER_TO_OVERHAUL
"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_
A
"
,
"roleCode"
:
"Digital_Responsing_Plan_
B
"
,
"index"
:
4
,
"condition"
:
[
{
"equipName"
:
"排油阀"
,
"equipCode"
:
"92100400VWE44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"ONL_DrainOilValve_Open"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
4
"
,
"stepName"
:
"
泡沫喷淋系统已开启
"
,
"stepCode"
:
"
5
"
,
"stepName"
:
"
核对一次设备状态
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
OPEN_WATERSYSTEM
"
,
"buttonCode"
:
"
VERIFY_EQUIP_STATUS
"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
5
,
"condition"
:
[
{
"equipName"
:
"主机"
,
"equipCode"
:
"92030100TGX44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"CAFS_CompAirFoamHost_Outfire"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
7
"
,
"stepName"
:
"
一键启动消防炮
"
,
"stepCode"
:
"
6
"
,
"stepName"
:
"
电缆沟封堵
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
MONITOR_START
"
,
"buttonCode"
:
"
PLUG_CABLETRENCH
"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_
A
"
,
"roleCode"
:
"Digital_Responsing_Plan_
B
"
,
"index"
:
6
,
"condition"
:
[
{
"equipName"
:
"CAFS消防炮"
,
"equipCode"
:
"92032200BUX44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"CAFS_GunValve_Open"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
1
7"
,
"stepName"
:
"
消防泵正常
启动"
,
"stepCode"
:
"7"
,
"stepName"
:
"
水喷雾系统
启动"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
FIRE_PUMP_START
"
,
"isParallel"
:
"
1
"
,
"buttonCode"
:
"
OPEN_WATERSYSTEM
"
,
"isParallel"
:
"
0
"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"index"
:
7
,
"checkYesOrNo"
:
""
,
"condition"
:
[
{
"equipName"
:
"
消防泵
"
,
"equipCode"
:
"92
0106007GV
44"
,
"equipName"
:
"
雨淋阀
"
,
"equipCode"
:
"92
130300BH6
44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"
FHS_FirePump
_Start"
,
"equipSpeIndexKey"
:
"
WSS_DelugeValve
_Start"
,
"standardValue"
:
"true"
,
"inAndOr"
:
"
or
"
"inAndOr"
:
"
and
"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
"isAuto"
:
0
},
{
"stepCode"
:
"
1
8"
,
"stepName"
:
"
向各级调度、领导汇报火情
"
,
"stepCode"
:
"8"
,
"stepName"
:
"
CAFS启动
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
LEADER_REPORT_FIRE
"
,
"isParallel"
:
"
0
"
,
"roleCode"
:
"
Digital_Responsing_Plan_B
"
,
"buttonCode"
:
"
CAFS_OPEN
"
,
"isParallel"
:
"
1
"
,
"roleCode"
:
""
,
"index"
:
8
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
1
9"
,
"stepName"
:
"停运
本极对端换流器
"
,
"stepCode"
:
"9"
,
"stepName"
:
"停运
相关设备
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"S
TOP_LOCAL_END_TRANSVERTER
"
,
"buttonCode"
:
"S
HUTDOWN_RELATED_EQUIP
"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_
B
"
,
"roleCode"
:
"Digital_Responsing_Plan_
A
"
,
"index"
:
9
,
"condition"
:
[
{
"equipName"
:
"开关"
,
"equipCode"
:
"590000003EB44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"Running_Alarm"
,
"standardValue"
:
"false"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
2
0"
,
"stepName"
:
"
停运阀冷系统
"
,
"stepCode"
:
"
1
0"
,
"stepName"
:
"
通讯管控
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
STOP_VALVE_COOL_SYS
"
,
"buttonCode"
:
"
COMMUNICATION_CONTROL
"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
10
,
"condition"
:
[
{
"equipName"
:
"阀冷系统主机"
,
"equipCode"
:
"59000000H9G44"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"normal_running_state"
,
"standardValue"
:
"false"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
6
"
,
"stepName"
:
"
停运阀厅空调系统
"
,
"stepCode"
:
"
11
"
,
"stepName"
:
"
防火封堵
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
STOP_AIRCON
"
,
"buttonCode"
:
"
FIRE_SEALING
"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
11
,
"condition"
:
[
{
"equipName"
:
"AIRCS-风机"
,
"equipCode"
:
"92230600UH244"
,
"equipSpeName"
:
""
,
"equipSpeCode"
:
""
,
"equipSpeIndexKey"
:
"AIRCS_Fan_Start"
,
"standardValue"
:
"false"
,
"inAndOr"
:
"and"
}
],
"outAndOr"
:
"and"
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
5
"
,
"stepName"
:
"
断开冷却器上级电源
"
,
"stepCode"
:
"
12
"
,
"stepName"
:
"
反馈火情
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
OFF_POWER
"
,
"buttonCode"
:
"
FEEDBACK_FIRE
"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
12
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
21
"
,
"stepName"
:
"
起火换流器转检修
"
,
"stepStatus"
:
"
0
"
,
"buttonCode"
:
"
FIRE_TRANSVERTER_TO_OVERHAUL
"
,
"stepCode"
:
"
13
"
,
"stepName"
:
"
启动事故排油系统
"
,
"stepStatus"
:
"
1
"
,
"buttonCode"
:
"
DRAIN_OIL_CONFIRM
"
,
"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"
:
"
对阀侧套管、阀厅进行降温
"
,
"stepCode"
:
"
14
"
,
"stepName"
:
"
接引横扇社会消防力量进站
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
VALVE_HALL_COOL
"
,
"isParallel"
:
"
1
"
,
"buttonCode"
:
"
INTRODUCE_FORCES_INTO_STATION_HS
"
,
"isParallel"
:
"
0
"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
14
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
8
"
,
"stepName"
:
"
驻站消防队
指挥权交接"
,
"stepCode"
:
"
15
"
,
"stepName"
:
"指挥权交接"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"HANDOVER_
COMMAND
"
,
"isParallel"
:
"
0
"
,
"buttonCode"
:
"HANDOVER_
FIGTHHING
"
,
"isParallel"
:
"
1
"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
15
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"1
3
"
,
"stepName"
:
"
确认明火扑灭
"
,
"stepCode"
:
"1
6
"
,
"stepName"
:
"
处理油污
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
FIRE_EXTINCT
"
,
"buttonCode"
:
"
OIL_INSPECTION
"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
16
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
23
"
,
"stepName"
:
"
确认无复燃情况
"
,
"stepCode"
:
"
17
"
,
"stepName"
:
"
接引吴江社会消防力量进站
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
CONFIRM_REKINDLE
"
,
"buttonCode"
:
"
INTRODUCE_FORCES_INTO_STATION_WJ
"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
17
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"
24
"
,
"stepName"
:
"
向各级调度、领导汇报已灭火
"
,
"stepCode"
:
"
18
"
,
"stepName"
:
"
启动涡扇炮机器人
"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"
LEADER_REPORT_FIRE_EXTINC
T"
,
"buttonCode"
:
"
START_TURBOFAN_ROBO
T"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
18
,
"isAuto"
:
0
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"14"
,
"stepName"
:
"应急处置结束"
,
"stepCode"
:
"19"
,
"stepName"
:
"确认明火扑灭"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"FIRE_EXTINCT"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
19
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"20"
,
"stepName"
:
"事故汇报"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"ACCIDENT_REPORT"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
20
,
"checkYesOrNo"
:
""
},
{
"stepCode"
:
"21"
,
"stepName"
:
"退出预案"
,
"stepStatus"
:
"0"
,
"buttonCode"
:
"END_EMERGENCY"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"index"
:
19
,
"isAuto"
:
0
,
"index"
:
21
,
"checkYesOrNo"
:
""
}
]
\ No newline at end of file
pom.xml
View file @
28800c2c
...
...
@@ -233,12 +233,12 @@
<repository>
<id>
Releases
</id>
<name>
Releases
</name>
<url>
http://
36.46.149.14
:8081/nexus/content/repositories/releases/
</url>
<url>
http://
113.142.68.105
:8081/nexus/content/repositories/releases/
</url>
</repository>
<repository>
<id>
Snapshots
</id>
<name>
Snapshots
</name>
<url>
http://
36.46.149.14
:8081/nexus/content/repositories/snapshots/
</url>
<url>
http://
113.142.68.105
:8081/nexus/content/repositories/snapshots/
</url>
</repository>
<!-- <repository>-->
<!-- <id>maven-public-ty</id>-->
...
...
@@ -256,7 +256,7 @@
<pluginRepository>
<id>
public
</id>
<name>
Public Repositories
</name>
<url>
http://
36.46.149.14
:8081/nexus/content/groups/public/
</url>
<url>
http://
113.142.68.105
:8081/nexus/content/groups/public/
</url>
</pluginRepository>
</pluginRepositories>
...
...
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