Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GeoFlyApi
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GeoFly
GeoFlyApi
Commits
8abacd15
Commit
8abacd15
authored
Nov 13, 2025
by
gdj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整返航代码逻辑。
parent
71ebfcd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sample/src/main/java/com/dji/sample/control/service/impl/ControlServiceImpl.java
+4
-4
No files found.
sample/src/main/java/com/dji/sample/control/service/impl/ControlServiceImpl.java
View file @
8abacd15
...
...
@@ -95,9 +95,6 @@ public class ControlServiceImpl implements IControlService {
saveOperatingRecord
(
sn
,
controlMethodEnum
.
getMethod
(),
"{}"
);
DebugMethodEnum
methodEnum
=
controlMethodEnum
.
getDebugMethodEnum
();
RemoteDebugHandler
data
=
checkDebugCondition
(
sn
,
param
,
controlMethodEnum
);
boolean
isExist
=
deviceRedisService
.
checkDeviceOnline
(
sn
);
if
(!
isExist
)
{
return
HttpResultResponse
.
error
(
"The dock is offline."
);
...
...
@@ -110,9 +107,12 @@ public class ControlServiceImpl implements IControlService {
case
RETURN_HOME_CANCEL:
response
=
abstractWaylineService
.
returnHomeCancel
(
SDKManager
.
getDeviceSDK
(
sn
));
break
;
default
:
default
:
{
DebugMethodEnum
methodEnum
=
controlMethodEnum
.
getDebugMethodEnum
();
RemoteDebugHandler
data
=
checkDebugCondition
(
sn
,
param
,
controlMethodEnum
);
response
=
abstractDebugService
.
remoteDebug
(
SDKManager
.
getDeviceSDK
(
sn
),
methodEnum
,
Objects
.
nonNull
(
methodEnum
.
getClazz
())
?
mapper
.
convertValue
(
data
,
methodEnum
.
getClazz
())
:
null
);
}
}
ServicesReplyData
serviceReply
=
(
ServicesReplyData
)
response
.
getData
();
if
(!
serviceReply
.
getResult
().
isSuccess
())
{
...
...
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