From c8217046c63e6b04e1a7625c8b08f4f95ee308a2 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Thu, 4 Jun 2026 11:08:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=BD=E7=95=A5=E4=B8=AD=E6=96=AD=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detection/handler/SocketFreqConverterDevService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/detection/src/main/java/com/njcn/gather/detection/handler/SocketFreqConverterDevService.java b/detection/src/main/java/com/njcn/gather/detection/handler/SocketFreqConverterDevService.java index ed25f754..57feb7b8 100644 --- a/detection/src/main/java/com/njcn/gather/detection/handler/SocketFreqConverterDevService.java +++ b/detection/src/main/java/com/njcn/gather/detection/handler/SocketFreqConverterDevService.java @@ -275,6 +275,9 @@ public class SocketFreqConverterDevService { if (DetectionCodeEnum.MAG.getCode().equalsIgnoreCase(sqlDataDTO.getDesc())) { residualVoltage = value; + if (residualVoltage <= 6) { + return; + } } else if (DetectionCodeEnum.DUR.getCode().equalsIgnoreCase(sqlDataDTO.getDesc())) { durationMs = (int) Math.round(value * 1000); }