From e589ffc0b6009b3c69bb356a9ed102773cfb8474 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期六, 02 十一月 2024 10:19:59 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/jxgtasrs' into jxgtasrs --- src/main/java/com/zy/asrs/utils/Utils.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/utils/Utils.java b/src/main/java/com/zy/asrs/utils/Utils.java index 2fb451b..64e2cfa 100644 --- a/src/main/java/com/zy/asrs/utils/Utils.java +++ b/src/main/java/com/zy/asrs/utils/Utils.java @@ -28,6 +28,13 @@ private static final DecimalFormat fmt = new DecimalFormat("##0.00"); + public static boolean isNorth(Integer sourceStaNo){ + if ((sourceStaNo>1000 && sourceStaNo < 1040) || (sourceStaNo>2000 && sourceStaNo > 2010)|| (sourceStaNo > 3000 && sourceStaNo < 3010)){ + return true; + } + return false; + } + public static float scale(Float f) { if (f == null || f == 0f || Float.isNaN(f)) { return 0f; -- Gitblit v1.9.1