From ec1989cb8044ed18236cabe843f04c03bf630731 Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Mon, 27 Mar 2023 17:03:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E6=8E=A5=E6=94=B6=E8=91=B5=E8=8A=B1?= =?UTF-8?q?=E4=BD=8E=E7=BD=AE=E4=BF=A1=E5=BA=A6=E7=81=AB=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/utilsnew/FirePointFilterUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/xkrs/utilsnew/FirePointFilterUtils.java b/src/main/java/com/xkrs/utilsnew/FirePointFilterUtils.java index fdb68c0..f7951cc 100644 --- a/src/main/java/com/xkrs/utilsnew/FirePointFilterUtils.java +++ b/src/main/java/com/xkrs/utilsnew/FirePointFilterUtils.java @@ -24,9 +24,9 @@ public class FirePointFilterUtils { } public static DataWrapper2 checkSatelliteType(String satelliteType, String confidence) { - if ("Himawari 8".equals(satelliteType)) { - if ("N".equals(confidence) || "L".equals(confidence)) { - return new DataWrapper2<>(Boolean.FALSE, "添加失败,不接收葵花8中低置信度火点"); + if (satelliteType.startsWith("Himawari")) { + if ("L".equals(confidence)) { + return new DataWrapper2<>(Boolean.FALSE, "添加失败,不接收葵花低置信度火点"); } } return new DataWrapper2<>(Boolean.TRUE, "");