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
efecf9f3
Commit
efecf9f3
authored
Jun 09, 2020
by
单奇雲
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_upgrade' of
http://172.16.10.76/station/YeeAmosFireAutoSysRoot
into dev_upgrade
parents
7191c713
2fafbc75
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
9 deletions
+7
-9
View3dController.java
...eejoin/amos/fas/business/controller/View3dController.java
+5
-5
RiskSourceServiceImpl.java
...amos/fas/business/service/impl/RiskSourceServiceImpl.java
+1
-3
RsDataQueue.java
.../java/com/yeejoin/amos/fas/client/invoke/RsDataQueue.java
+1
-1
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/View3dController.java
View file @
efecf9f3
...
@@ -80,9 +80,9 @@ public class View3dController extends BaseController {
...
@@ -80,9 +80,9 @@ public class View3dController extends BaseController {
@ApiOperation
(
value
=
"按照分类查询点树"
,
notes
=
"按照分类查询点树"
)
@ApiOperation
(
value
=
"按照分类查询点树"
,
notes
=
"按照分类查询点树"
)
@GetMapping
(
value
=
"point/tree/{type}"
)
@GetMapping
(
value
=
"point/tree/{type}"
)
public
CommonResponse
getPointTreeByType
(
@PathVariable
(
value
=
"type"
)
String
type
)
{
public
CommonResponse
getPointTreeByType
(
@PathVariable
(
value
=
"type"
)
String
type
)
{
if
(
ResourceTypeDefEnum
.
containsTypeCode
(
type
))
{
if
(
ResourceTypeDefEnum
.
containsTypeCode
(
type
))
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
String
channelType
=
this
.
getChannelType
();
String
channelType
=
this
.
getChannelType
();
return
CommonResponseUtil
.
success
(
view3dService
.
getPointTreeByType
(
type
,
orgCode
,
channelType
));
return
CommonResponseUtil
.
success
(
view3dService
.
getPointTreeByType
(
type
,
orgCode
,
channelType
));
}
}
...
@@ -210,7 +210,7 @@ public class View3dController extends BaseController {
...
@@ -210,7 +210,7 @@ public class View3dController extends BaseController {
public
CommonResponse
init3dViewNode
(
public
CommonResponse
init3dViewNode
(
@ApiParam
(
value
=
"节点类型"
,
required
=
false
)
@RequestParam
(
required
=
false
)
String
type
,
@ApiParam
(
value
=
"节点类型"
,
required
=
false
)
@RequestParam
(
required
=
false
)
String
type
,
@ApiParam
(
value
=
"区域ID"
,
required
=
false
)
@RequestParam
(
required
=
false
)
Long
riskSourceId
)
{
@ApiParam
(
value
=
"区域ID"
,
required
=
false
)
@RequestParam
(
required
=
false
)
Long
riskSourceId
)
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
return
CommonResponseUtil
.
success
(
view3dService
.
find3dViewDataByType
(
type
,
riskSourceId
,
orgCode
));
return
CommonResponseUtil
.
success
(
view3dService
.
find3dViewDataByType
(
type
,
riskSourceId
,
orgCode
));
}
}
...
@@ -220,7 +220,7 @@ public class View3dController extends BaseController {
...
@@ -220,7 +220,7 @@ public class View3dController extends BaseController {
public
CommonResponse
retrieveAll
(
public
CommonResponse
retrieveAll
(
@RequestBody
RetrieveParams
params
@RequestBody
RetrieveParams
params
)
{
)
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
String
token
=
this
.
getToken
();
String
token
=
this
.
getToken
();
String
appKey
=
this
.
getAppKey
();
String
appKey
=
this
.
getAppKey
();
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/RiskSourceServiceImpl.java
View file @
efecf9f3
...
@@ -723,7 +723,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService {
...
@@ -723,7 +723,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService {
//保存实时数据
//保存实时数据
saveFireEquipmentData
(
fireEquipmentPoint
,
fireEquipment
,
deviceData
,
fireEquipmentPointType
);
saveFireEquipmentData
(
fireEquipmentPoint
,
fireEquipment
,
deviceData
,
fireEquipmentPointType
);
equipment
=
impAndFireEquipMapper
.
queryImpEqumtByFireEquipmt
(
fireEquipmentPoint
.
getFireEquipmentId
());
equipment
=
impAndFireEquipMapper
.
queryImpEqumtByFireEquipmt
(
fireEquipmentPoint
.
getFireEquipmentId
());
if
(
equipment
!=
null
)
{
if
(
equipment
!=
null
&&
"alarm_type_fire"
.
equals
(
fireEquipmentPointType
)
)
{
//动态预案执行
//动态预案执行
dynamicPlan
(
deviceData
,
equipment
,
fireEquipment
,
fireEquipmentPointType
);
dynamicPlan
(
deviceData
,
equipment
,
fireEquipment
,
fireEquipmentPointType
);
}
}
...
@@ -829,10 +829,8 @@ public class RiskSourceServiceImpl implements IRiskSourceService {
...
@@ -829,10 +829,8 @@ public class RiskSourceServiceImpl implements IRiskSourceService {
if
(
alarm
!=
null
){
if
(
alarm
!=
null
){
if
(
"alarm_type_trouble"
.
equals
(
fireEquipmentPointType
))
{
if
(
"alarm_type_trouble"
.
equals
(
fireEquipmentPointType
))
{
//通知刷新3d页面相关故障数据
//通知刷新3d页面相关故障数据
if
(
alarm
.
getFrequency
()==
1
||
alarm
.
getStatus
()
==
false
){
notifyAlarm
(
fireEquipmentPoint
,
deviceData
);
notifyAlarm
(
fireEquipmentPoint
,
deviceData
);
iDataRefreshService
.
refreshViewData
(
DataRefreshTypeEum
.
trouble
.
getCode
());
iDataRefreshService
.
refreshViewData
(
DataRefreshTypeEum
.
trouble
.
getCode
());
}
}
else
{
}
else
{
//通知刷新3d页面告警数据
//通知刷新3d页面告警数据
iDataRefreshService
.
refreshViewData
(
DataRefreshTypeEum
.
alarm
.
getCode
());
iDataRefreshService
.
refreshViewData
(
DataRefreshTypeEum
.
alarm
.
getCode
());
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/client/invoke/RsDataQueue.java
View file @
efecf9f3
...
@@ -115,7 +115,7 @@ public class RsDataQueue {
...
@@ -115,7 +115,7 @@ public class RsDataQueue {
String
userName
=
fmeaMessage
.
getUserName
();
String
userName
=
fmeaMessage
.
getUserName
();
String
relationName
=
fmeaMessage
.
getRelationName
();
String
relationName
=
fmeaMessage
.
getRelationName
();
String
checkStatus
=
null
;
String
checkStatus
=
null
;
if
(
fmeaMessage
.
getCheckStatus
()!=
null
){
if
(
fmeaMessage
.
getCheckStatus
()!=
null
&&
fmeaMessage
.
getCheckStatus
()!=
""
){
checkStatus
=(
fmeaMessage
.
getCheckStatus
().
equals
(
"1"
))?
"合格"
:
"不合格"
;
checkStatus
=(
fmeaMessage
.
getCheckStatus
().
equals
(
"1"
))?
"合格"
:
"不合格"
;
}
}
if
(
from
.
equals
(
TriggerRpnChangeTypeEum
.
patrol
.
getCode
()))
{
if
(
from
.
equals
(
TriggerRpnChangeTypeEum
.
patrol
.
getCode
()))
{
...
...
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