添加水质和土壤数据自动警报

dev
vine_liutk 2022-11-16 17:38:51 +08:00
parent 1f5d1c8659
commit a079a9d9a2
1 changed files with 6 additions and 0 deletions

View File

@ -151,6 +151,9 @@ class LinkosDeviceLogService
} }
$log->save(); $log->save();
//验证是否警报
(new DeviceWarningService())->judgeLog($device, $log, $reportedAt);
} }
/** /**
@ -232,6 +235,9 @@ class LinkosDeviceLogService
} }
$log->save(); $log->save();
//验证是否警报
(new DeviceWarningService())->judgeLog($device, $log, $reportedAt);
} }
/** /**