rev 变量名
This commit is contained in:
@@ -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 数组中的索引位置。
|
||||||
|
|||||||
Reference in New Issue
Block a user