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
0555c50e
Commit
0555c50e
authored
Jun 17, 2022
by
高建强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item:添加地图动作消息参数
parent
718a5316
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
0 deletions
+45
-0
ContingencyActionEnum.java
.../yeejoin/amos/fas/common/enums/ContingencyActionEnum.java
+39
-0
ContingencyAction.java
...m/yeejoin/amos/fas/business/action/ContingencyAction.java
+6
-0
No files found.
YeeAmosFireAutoSysCommon/src/main/java/com/yeejoin/amos/fas/common/enums/ContingencyActionEnum.java
0 → 100644
View file @
0555c50e
package
com
.
yeejoin
.
amos
.
fas
.
common
.
enums
;
/**
* @ProjectName: YeeAmosFireAutoSysRoot
* @Package: com.yeejoin.amos.fas.common.enums
* @ClassName: ContingencyActionEnum
* @Author: Jianqiang Gao
* @Description: 预案动作枚举
* @Date: 2022/6/17 9:34
* @Version: 1.0
*/
public
enum
ContingencyActionEnum
{
ACTION1_2
(
"action1-2"
,
"镜头切换(旋转+推进)"
),
;
private
String
key
;
private
String
value
;
ContingencyActionEnum
(
String
key
,
String
value
)
{
this
.
key
=
key
;
this
.
value
=
value
;
}
public
String
getKey
()
{
return
key
;
}
public
void
setKey
(
String
key
)
{
this
.
key
=
key
;
}
public
String
getValue
()
{
return
value
;
}
public
void
setValue
(
String
value
)
{
this
.
value
=
value
;
}
}
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/action/ContingencyAction.java
View file @
0555c50e
...
@@ -30,6 +30,7 @@ import com.yeejoin.amos.fas.business.service.model.ToipResponse;
...
@@ -30,6 +30,7 @@ import com.yeejoin.amos.fas.business.service.model.ToipResponse;
import
com.yeejoin.amos.fas.business.util.CacheFactory
;
import
com.yeejoin.amos.fas.business.util.CacheFactory
;
import
com.yeejoin.amos.fas.business.util.CacheMap
;
import
com.yeejoin.amos.fas.business.util.CacheMap
;
import
com.yeejoin.amos.fas.business.vo.Toke
;
import
com.yeejoin.amos.fas.business.vo.Toke
;
import
com.yeejoin.amos.fas.common.enums.ContingencyActionEnum
;
import
com.yeejoin.amos.fas.common.enums.ContingencyPlanStatusEnum
;
import
com.yeejoin.amos.fas.common.enums.ContingencyPlanStatusEnum
;
import
com.yeejoin.amos.fas.common.enums.PlanRecordStatusEnum
;
import
com.yeejoin.amos.fas.common.enums.PlanRecordStatusEnum
;
import
com.yeejoin.amos.fas.core.enums.NumberEnum
;
import
com.yeejoin.amos.fas.core.enums.NumberEnum
;
...
@@ -641,6 +642,11 @@ public class ContingencyAction implements CustomerAction {
...
@@ -641,6 +642,11 @@ public class ContingencyAction implements CustomerAction {
tempmap1
.
put
(
"key"
,
actionName
);
tempmap1
.
put
(
"key"
,
actionName
);
tempmap1
.
put
(
"content"
,
paramJSON
);
tempmap1
.
put
(
"content"
,
paramJSON
);
if
(
ContingencyActionEnum
.
ACTION1_2
.
getKey
().
equalsIgnoreCase
(
paramJSON
))
{
tempmap1
.
put
(
"isArea"
,
true
);
}
else
{
tempmap1
.
put
(
"isArea"
,
false
);
}
result
.
add
(
tempmap1
);
result
.
add
(
tempmap1
);
this
.
sendcmd
(
"maparea"
,
paramObj
,
result
);
this
.
sendcmd
(
"maparea"
,
paramObj
,
result
);
}
}
...
...
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