只接收耕地类型的火点
This commit is contained in:
parent
bcae4ea896
commit
b6bf402c2c
@ -17,10 +17,10 @@ public class FirePointFilterUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static DataWrapper2<Boolean, String> checkLandType(String landType) {
|
public static DataWrapper2<Boolean, String> checkLandType(String landType) {
|
||||||
if ("水体".equals(landType)) {
|
if ("耕地".equals(landType)) {
|
||||||
return new DataWrapper2<>(Boolean.FALSE, "添加失败,不接收水体类型");
|
return new DataWrapper2<>(Boolean.TRUE, "");
|
||||||
}
|
}
|
||||||
return new DataWrapper2<>(Boolean.TRUE, "");
|
return new DataWrapper2<>(Boolean.FALSE, "添加失败,只接收耕地类型的火点");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static DataWrapper2<Boolean, String> checkSatelliteType(String satelliteType, String confidence) {
|
public static DataWrapper2<Boolean, String> checkSatelliteType(String satelliteType, String confidence) {
|
||||||
|
Loading…
Reference in New Issue
Block a user