Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 92706427
由
LN
编写于
2024-04-22 13:25:17 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
获取库位号时提示修改
1 个父辈
14c4d85c
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
18 行增加
和
8 行删除
src/main/java/com/neotel/smfcore/core/device/handler/impl/RobotBoxHandler.java
src/main/resources/messages.properties
src/main/resources/messages_en_US.properties
src/main/resources/messages_ja_JP.properties
src/main/resources/messages_zh_CN.properties
src/main/resources/messages_zh_TW.properties
src/main/java/com/neotel/smfcore/core/device/handler/impl/RobotBoxHandler.java
查看文件 @
9270642
...
@@ -314,7 +314,7 @@ public class RobotBoxHandler extends BaseDeviceHandler {
...
@@ -314,7 +314,7 @@ public class RobotBoxHandler extends BaseDeviceHandler {
code
=
"=1+0x0-"
+
barcode
.
getPlateSize
()
+
"x"
+
barcode
.
getHeight
()
+
"="
+
code
;
code
=
"=1+0x0-"
+
barcode
.
getPlateSize
()
+
"x"
+
barcode
.
getHeight
()
+
"="
+
code
;
log
.
info
(
" renewPosForPutin 处理后条码:"
+
code
);
log
.
info
(
" renewPosForPutin 处理后条码:"
+
code
);
}
}
return
posForPutin
(
code
,
cids
,
preCid
,
rfid
);
return
posForPutin
(
code
,
cids
,
preCid
,
rfid
,
request
.
getLocale
()
);
}
}
...
@@ -349,11 +349,11 @@ public class RobotBoxHandler extends BaseDeviceHandler {
...
@@ -349,11 +349,11 @@ public class RobotBoxHandler extends BaseDeviceHandler {
String
lastPosId
=
""
;
String
lastPosId
=
""
;
String
lineMsg
=
""
;
String
lineMsg
=
""
;
log
.
info
(
"流水线["
+
cids
+
"]获取["
+
code
+
"],rfid=["
+
rfid
+
"]的入库库位"
);
log
.
info
(
"流水线["
+
cids
+
"]获取["
+
code
+
"],rfid=["
+
rfid
+
"]的入库库位"
);
return
posForPutin
(
code
,
cids
,
""
,
rfid
);
return
posForPutin
(
code
,
cids
,
""
,
rfid
,
request
.
getLocale
()
);
}
}
public
Map
<
String
,
Object
>
posForPutin
(
String
code
,
String
cids
,
String
preCid
,
String
rfid
){
public
Map
<
String
,
Object
>
posForPutin
(
String
code
,
String
cids
,
String
preCid
,
String
rfid
,
Locale
locale
){
log
.
info
(
"posForPutin,code=["
+
code
+
"],cids=["
+
cids
+
"],preCid=["
+
preCid
+
"]"
);
log
.
info
(
"posForPutin,code=["
+
code
+
"],cids=["
+
cids
+
"],preCid=["
+
preCid
+
"]"
);
String
lastPosId
=
""
;
String
lastPosId
=
""
;
String
lineMsg
=
""
;
String
lineMsg
=
""
;
...
@@ -506,9 +506,14 @@ public class RobotBoxHandler extends BaseDeviceHandler {
...
@@ -506,9 +506,14 @@ public class RobotBoxHandler extends BaseDeviceHandler {
// resultMap.put("taskId", dataLog.getId());
// resultMap.put("taskId", dataLog.getId());
// return resultMap;
// return resultMap;
}
else
{
}
else
{
// 重复ID,入库时,error提示 改成:
// 序列号[CARRIERPCB-010] 已有出库任务,出库前不得入库相同序列号物料
// Serial No.(S)[CARRIERPCB-010] already have retrieval task, cannot store same Serial No. material before retrieval finish
//已有出库任务
//已有出库任务
// errorMsg = "条码[" + dataLog.getBarcode() + "]已有出库任务,需继续执行出库动作";
// errorMsg = "条码[" + dataLog.getBarcode() + "]已有出库任务,需继续执行出库动作";
errorMsg
=
"Serial No.(S)["
+
dataLog
.
getBarcode
()
+
"] already have outbound tasks,Continue with the outbound action"
;
errorMsg
=
"Serial No.(S)["
+
dataLog
.
getBarcode
()
+
"] already have retrieval task, cannot store same Serial No. material before retrieval finish"
;
errorMsg
=
MessageUtils
.
getText
(
"smfcore.error.barcode.hasOutTask"
,
new
String
[]{
dataLog
.
getBarcode
()},
locale
,
"Serial No.(S)[0] already have retrieval task, cannot store same Serial No. material before retrieval finish"
);
resultMap
.
put
(
"result"
,
"98"
);
resultMap
.
put
(
"result"
,
"98"
);
resultMap
.
put
(
"msg"
,
errorMsg
);
resultMap
.
put
(
"msg"
,
errorMsg
);
...
...
src/main/resources/messages.properties
查看文件 @
9270642
...
@@ -359,6 +359,7 @@ smfcore.api.toXray={0}\u9700\u8981\u53BB\u70B9\u6599
...
@@ -359,6 +359,7 @@ smfcore.api.toXray={0}\u9700\u8981\u53BB\u70B9\u6599
smfcore.paretoChart
=
\u
5E15
\u
7D2F
\u6258\u
56FE
smfcore.paretoChart
=
\u
5E15
\u
7D2F
\u6258\u
56FE
smfcore.selfAudit.hasOutTask
=
\u
5E93
\u
4F4D[{0}]
\u
5DF2
\u6709\u
51FA
\u
5E93
\u
4EFB
\u
52A1
smfcore.selfAudit.hasOutTask
=
\u
5E93
\u
4F4D[{0}]
\u
5DF2
\u6709\u
51FA
\u
5E93
\u
4EFB
\u
52A1
smfcore.error.barcode.hastask
=
\u6761\u7801
[0]
\u
5DF2
\u6709\u5165\u
5E93
\u
4EFB
\u
52A1
smfcore.error.barcode.hastask
=
\u6761\u7801
[0]
\u
5DF2
\u6709\u5165\u
5E93
\u
4EFB
\u
52A1
smfcore.error.barcode.hasOutTask
=
\u
5E8F
\u5217\u
53F7[0]
\u
5DF2
\u6709\u
51FA
\u
5E93
\u
4EFB
\u
52A1
\u
FF0C
\u
51FA
\u
5E93
\u
524D
\u
4E0D
\u
5F97
\u5165\u
5E93
\u
76F8
\u
540C
\u
5E8F
\u5217\u
53F7
\u7269\u6599
#smfclient.nlp.onlyOneTray=\u4E0D\u53EF\u540C\u65F6\u653E\u5165\u591A\u76D8\u7269\u6599:{0}
#smfclient.nlp.onlyOneTray=\u4E0D\u53EF\u540C\u65F6\u653E\u5165\u591A\u76D8\u7269\u6599:{0}
#smfclient.nlp.cannotFindPos={0}\u672A\u627E\u5230\u5E93\u4F4D:{1}
#smfclient.nlp.cannotFindPos={0}\u672A\u627E\u5230\u5E93\u4F4D:{1}
#smfclient.nlp.inputOk={0}\u5165\u5E93\u5230{1}\u6210\u529F
#smfclient.nlp.inputOk={0}\u5165\u5E93\u5230{1}\u6210\u529F
...
...
src/main/resources/messages_en_US.properties
查看文件 @
9270642
...
@@ -357,4 +357,5 @@ smfcore.micron.apiClose=Not yet open
...
@@ -357,4 +357,5 @@ smfcore.micron.apiClose=Not yet open
smfcore.api.toXray
=
{0}Need to Xray
smfcore.api.toXray
=
{0}Need to Xray
smfcore.paretoChart
=
Pareto chart
smfcore.paretoChart
=
Pareto chart
smfcore.selfAudit.hasOutTask
=
The location [{0}] already has a release task
smfcore.selfAudit.hasOutTask
=
The location [{0}] already has a release task
smfcore.error.barcode.hastask
=
Serial No.(S)[0] already have storage task
\ No newline at end of file
\ No newline at end of file
smfcore.error.barcode.hastask
=
Serial No.(S)[0] already have storage task
smfcore.error.barcode.hasOutTask
=
Serial No.(S)[0] already have retrieval task, cannot store same Serial No. material before retrieval finish
\ No newline at end of file
\ No newline at end of file
src/main/resources/messages_ja_JP.properties
查看文件 @
9270642
...
@@ -352,4 +352,5 @@ smfcore.api.fail={0} Failed to get data
...
@@ -352,4 +352,5 @@ smfcore.api.fail={0} Failed to get data
smfcore.micron.apiClose
=
Not yet open
smfcore.micron.apiClose
=
Not yet open
smfcore.paretoChart
=
\u
30D1
\u
30EC
\u
30FC
\u
30C8
\u
56F3
smfcore.paretoChart
=
\u
30D1
\u
30EC
\u
30FC
\u
30C8
\u
56F3
smfcore.selfAudit.hasOutTask
=
\u
5E93
\u
4F4D[{0}]
\u
5DF2
\u6709\u
51FA
\u
5E93
\u
4EFB
\u
52A1
smfcore.selfAudit.hasOutTask
=
\u
5E93
\u
4F4D[{0}]
\u
5DF2
\u6709\u
51FA
\u
5E93
\u
4EFB
\u
52A1
smfcore.error.barcode.hastask
=
Serial No.(S)[0] already have storage task
\ No newline at end of file
\ No newline at end of file
smfcore.error.barcode.hastask
=
Serial No.(S)[0] already have storage task
smfcore.error.barcode.hasOutTask
=
Serial No.(S)[0] already have retrieval task, cannot store same Serial No. material before retrieval finish
\ No newline at end of file
\ No newline at end of file
src/main/resources/messages_zh_CN.properties
查看文件 @
9270642
...
@@ -352,4 +352,5 @@ smfcore.api.fail={0} \u83B7\u53D6\u6570\u636E\u5931\u8D25
...
@@ -352,4 +352,5 @@ smfcore.api.fail={0} \u83B7\u53D6\u6570\u636E\u5931\u8D25
smfcore.micron.apiClose
=
API
\u
529F
\u
80FD
\u
672A
\u
5F00
\u
653E
smfcore.micron.apiClose
=
API
\u
529F
\u
80FD
\u
672A
\u
5F00
\u
653E
smfcore.paretoChart
=
\u
5E15
\u
7D2F
\u6258\u
56FE
smfcore.paretoChart
=
\u
5E15
\u
7D2F
\u6258\u
56FE
smfcore.selfAudit.hasOutTask
=
\u
5E93
\u
4F4D[{0}]
\u
5DF2
\u6709\u
51FA
\u
5E93
\u
4EFB
\u
52A1
smfcore.selfAudit.hasOutTask
=
\u
5E93
\u
4F4D[{0}]
\u
5DF2
\u6709\u
51FA
\u
5E93
\u
4EFB
\u
52A1
smfcore.error.barcode.hastask
=
Serial No.(S)[0] already have storage task
\ No newline at end of file
\ No newline at end of file
smfcore.error.barcode.hastask
=
Serial No.(S)[0] already have storage task
smfcore.error.barcode.hasOutTask
=
\u
5E8F
\u5217\u
53F7[0]
\u
5DF2
\u6709\u
51FA
\u
5E93
\u
4EFB
\u
52A1
\u
FF0C
\u
51FA
\u
5E93
\u
524D
\u
4E0D
\u
5F97
\u5165\u
5E93
\u
76F8
\u
540C
\u
5E8F
\u5217\u
53F7
\u7269\u6599
\ No newline at end of file
\ No newline at end of file
src/main/resources/messages_zh_TW.properties
查看文件 @
9270642
...
@@ -353,4 +353,5 @@ smfcore.micron.nodata=\u672A\u627E\u5230\u4FE1\u606F
...
@@ -353,4 +353,5 @@ smfcore.micron.nodata=\u672A\u627E\u5230\u4FE1\u606F
smfcore.api.fail
=
{0}
\u
83B7
\u
53D6
\u6570\u
636E
\u5931\u
8D25
smfcore.api.fail
=
{0}
\u
83B7
\u
53D6
\u6570\u
636E
\u5931\u
8D25
smfcore.micron.apiClose
=
API
\u
529F
\u
80FD
\u
672A
\u
5F00
\u
653E
smfcore.micron.apiClose
=
API
\u
529F
\u
80FD
\u
672A
\u
5F00
\u
653E
smfcore.paretoChart
=
\u
5E15
\u
7D2F
\u6258\u5716
smfcore.paretoChart
=
\u
5E15
\u
7D2F
\u6258\u5716
smfcore.selfAudit.hasOutTask
=
\u
5E93
\u
4F4D[{0}]
\u
5DF2
\u6709\u
51FA
\u
5E93
\u
4EFB
\u
52A1
\ No newline at end of file
\ No newline at end of file
smfcore.selfAudit.hasOutTask
=
\u
5E93
\u
4F4D[{0}]
\u
5DF2
\u6709\u
51FA
\u
5E93
\u
4EFB
\u
52A1
smfcore.error.barcode.hasOutTask
=
\u
5E8F
\u5217\u
865F[0]
\u
5DF2
\u6709\u
51FA
\u
5EAB
\u
4EFB
\u
52D9
\u
FF0C
\u
51FA
\u
5EAB
\u
524D
\u
4E0D
\u
5F97
\u5165\u
5EAB
\u
76F8
\u
540C
\u
5E8F
\u5217\u
865F
\u7269\u6599
\ No newline at end of file
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论