Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-platform
Commits
034125c6
Commit
034125c6
authored
May 23, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改设备站点名称
parent
d65e3f8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
device-manager-ui/admin/src/views/device/list.vue
device-manager-ui/admin/src/views/device/list.vue
+7
-5
device-manager/src/main/java/com/mortals/xhx/daemon/task/DeviceStatTaskImpl.java
.../java/com/mortals/xhx/daemon/task/DeviceStatTaskImpl.java
+1
-1
No files found.
device-manager-ui/admin/src/views/device/list.vue
View file @
034125c6
...
...
@@ -74,16 +74,18 @@ export default {
getsocketData
:
null
,
search
:
[
{
name
:
'
device
Num
'
,
name
:
'
device
Code
'
,
type
:
'
text
'
,
label
:
'
设备编码
'
,
fuzzy
:
true
},
{
name
:
'
siteName
'
,
type
:
'
text
'
,
label
:
'
站点名称
'
,
},
name
:
'
siteName
'
,
type
:
'
text
'
,
label
:
'
站点名称
'
,
fuzzy
:
true
},
{
name
:
'
deviceType
'
,
...
...
device-manager/src/main/java/com/mortals/xhx/daemon/task/DeviceStatTaskImpl.java
View file @
034125c6
...
...
@@ -58,7 +58,7 @@ public class DeviceStatTaskImpl implements ITaskExcuteService {
* 统计更新设备状态
*/
private
void
doDeviceUpOrDown
()
{
int
timeout
=
GlobalSysInfo
.
getParamIntValue
(
ParamKey
.
SYS_PARAM_HEADBEAT_TIMEOUT
,
6
0
)
*
1000
;
int
timeout
=
GlobalSysInfo
.
getParamIntValue
(
ParamKey
.
SYS_PARAM_HEADBEAT_TIMEOUT
,
18
0
)
*
1000
;
try
{
//获取所有设备,针对每个设备查询最近指定秒的日志,如果没有则更新下线
...
...
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