Commit 034125c6 authored by 赵啸非's avatar 赵啸非

修改设备站点名称

parent d65e3f8c
......@@ -74,16 +74,18 @@ export default {
getsocketData: null,
search: [
{
name: 'deviceNum',
name: 'deviceCode',
type: 'text',
label: '设备编码',
fuzzy:true
},
{
name: 'siteName',
type: 'text',
label: '站点名称',
},
name: 'siteName',
type: 'text',
label: '站点名称',
fuzzy:true
},
{
name: 'deviceType',
......
......@@ -58,7 +58,7 @@ public class DeviceStatTaskImpl implements ITaskExcuteService {
* 统计更新设备状态
*/
private void doDeviceUpOrDown() {
int timeout = GlobalSysInfo.getParamIntValue(ParamKey.SYS_PARAM_HEADBEAT_TIMEOUT, 60) * 1000;
int timeout = GlobalSysInfo.getParamIntValue(ParamKey.SYS_PARAM_HEADBEAT_TIMEOUT, 180) * 1000;
try {
//获取所有设备,针对每个设备查询最近指定秒的日志,如果没有则更新下线
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment