From 4093ff9aee11ef83198c2c79bb89050803ce26c3 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 22 九月 2022 14:51:18 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/utils/Utils.java | 29 ++++++++--------------------- 1 files changed, 8 insertions(+), 21 deletions(-) diff --git a/src/main/java/com/zy/asrs/utils/Utils.java b/src/main/java/com/zy/asrs/utils/Utils.java index ac35d91..df6f92d 100644 --- a/src/main/java/com/zy/asrs/utils/Utils.java +++ b/src/main/java/com/zy/asrs/utils/Utils.java @@ -2,6 +2,7 @@ import com.core.common.Arith; import com.core.common.Cools; +import com.zy.core.enums.SteABType; import com.zy.core.properties.SlaveProperties; import java.text.DecimalFormat; @@ -36,8 +37,15 @@ } } + public static Integer getGroupRow(String locNo){ + int row = getRow(locNo); + return getGroupRow(row); + } + public static Integer getGroupRow(Integer row) { switch (row) { + case 0: + return 0; case 1: case 2: case 3: @@ -71,30 +79,9 @@ } - public static Integer getGroupRow(String locNo){ - int row = getRow(locNo); - return getGroupRow(row); - } - - - - - - - - - - - // ------------------------------------------------------------------------------------------------------------------- - - - - - - -- Gitblit v1.9.1