Browse Source

设备箱定时半分钟

develop
wangsixiang 1 month ago
parent
commit
859f92f6c0
  1. 2
      zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java

2
zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java

@ -1792,7 +1792,7 @@ private VideoController videoController;
} }
//设备箱机箱门状态采集 //设备箱机箱门状态采集
//@PostMapping("/integratedCabinetAir") //@PostMapping("/integratedCabinetAir")
@Scheduled(cron = "40 * * * * ?") @Scheduled(fixedRate = 30000)
@Transactional() @Transactional()
public AjaxResult equipmentBoxDoor() throws IOException, HttpException { public AjaxResult equipmentBoxDoor() throws IOException, HttpException {
DcDevice dcDevice = new DcDevice(); DcDevice dcDevice = new DcDevice();

Loading…
Cancel
Save