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
1c16b3b6
Commit
1c16b3b6
authored
May 21, 2025
by
gdj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改UOM上传频率为1s
parent
4c77d83a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
sample/src/main/java/com/dji/sample/manage/service/impl/SDKDeviceService.java
+1
-1
No files found.
sample/src/main/java/com/dji/sample/manage/service/impl/SDKDeviceService.java
View file @
1c16b3b6
...
@@ -70,7 +70,7 @@ public class SDKDeviceService extends AbstractDeviceService {
...
@@ -70,7 +70,7 @@ public class SDKDeviceService extends AbstractDeviceService {
private
static
final
ScheduledExecutorService
recordExecutor
=
Executors
.
newScheduledThreadPool
(
4
);
private
static
final
ScheduledExecutorService
recordExecutor
=
Executors
.
newScheduledThreadPool
(
4
);
private
static
final
Map
<
String
,
Long
>
lastRecordTimeMap
=
new
ConcurrentHashMap
<>();
private
static
final
Map
<
String
,
Long
>
lastRecordTimeMap
=
new
ConcurrentHashMap
<>();
private
static
final
long
MIN_RECORD_INTERVAL
=
2000
;
// 2
秒间隔
private
static
final
long
MIN_RECORD_INTERVAL
=
1000
;
// 1
秒间隔
@Override
@Override
public
TopicStatusResponse
<
MqttReply
>
updateTopoOnline
(
TopicStatusRequest
<
UpdateTopo
>
request
,
MessageHeaders
headers
)
{
public
TopicStatusResponse
<
MqttReply
>
updateTopoOnline
(
TopicStatusRequest
<
UpdateTopo
>
request
,
MessageHeaders
headers
)
{
UpdateTopoSubDevice
updateTopoSubDevice
=
request
.
getData
().
getSubDevices
().
get
(
0
);
UpdateTopoSubDevice
updateTopoSubDevice
=
request
.
getData
().
getSubDevices
().
get
(
0
);
...
...
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