rev 变量名

This commit is contained in:
张江玮
2023-07-03 15:28:08 +08:00
parent ca123d2148
commit 8de6cd3ead

View File

@@ -255,8 +255,8 @@ public class TaskUtils {
int slashIndex = brickType.lastIndexOf("/"); int slashIndex = brickType.lastIndexOf("/");
int brickTypeRight = Integer.parseInt(brickType.substring(slashIndex + 1)); int brickTypeRight = Integer.parseInt(brickType.substring(slashIndex + 1));
if (brickTypeRight >= 100) { if (brickTypeRight >= 100) {
int brickTypeFront = Integer.parseInt(brickType.substring(0, slashIndex)); int brickTypeLeft = Integer.parseInt(brickType.substring(0, slashIndex));
brickType = brickTypeFront + "/" + "1H"; brickType = brickTypeLeft + "/" + "1H";
} }
// 压机号1位A代表1号压机以此类推。从压机设备编码截取数字例如"YJ07"截取"07"转换成数字后减去1即是压机对应字母在 alphabet 数组中的索引位置。 // 压机号1位A代表1号压机以此类推。从压机设备编码截取数字例如"YJ07"截取"07"转换成数字后减去1即是压机对应字母在 alphabet 数组中的索引位置。