| | |
| | | ardSyCarService.sendArdSyCarPosition(); |
| | | } |
| | | }; |
| | | carPositionTimer.scheduleAtFixedRate(carPositionTask,date,3*1000);//启用 |
| | | //车辆实时位置线程 |
| | | //carPositionTimer.scheduleAtFixedRate(carPositionTask,date,3*1000);//弃用 |
| | | //车辆实时报警线程 |
| | | PushClientImplAlarm pushClientImplAlarm = new PushClientImplAlarm(ip,ardSyUserList.get(0).getUserId(),ardSyUserList.get(0).getPassword()); |
| | | Thread pushClientImplAlarmThread = new Thread(pushClientImplAlarm); |
| | | pushClientImplAlarmThread.start(); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('sy:syCar:remove')") |
| | | @Log(title = "三一车辆", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @DeleteMapping("/{ids}") |
| | | @ApiOperation("删除三一车辆") |
| | | public AjaxResult remove(@PathVariable String[] ids) |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | // @PreAuthorize("@ss.hasPermi('sy:syCar:carListById')") |
| | | // @PreAuthorize("@ss.hasPermi('sy:syCar:carListById')") |
| | | @PostMapping("/carListById/{id}") |
| | | @ApiOperation("根据车辆ID获取车辆列表") |
| | | public Results carListById(@PathVariable String id){ |