#update
This commit is contained in:
@@ -622,7 +622,10 @@ public class DeviceThreadService {
|
||||
if (isAtRestPoint(deviceId, siteMemory)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// 判断是否自动模式
|
||||
if (!siteMemory.canReceiveAutoTask(deviceId)) {
|
||||
return;
|
||||
}
|
||||
DeviceTaskCommandDTO dto = new DeviceTaskCommandDTO();
|
||||
dto.setDeviceId(deviceId);
|
||||
dto.setOrgId(siteMemory.getSysSite().getOrgId());
|
||||
|
||||
Reference in New Issue
Block a user