Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 9f0bcaf0
由
LN
编写于
2025-04-25 13:19:55 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1.Loading无任务时点END需要提示。2.提示不对问题修改。
1 个父辈
ce4877e4
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
18 行增加
和
5 行删除
src/main/java/com/neotel/smfcore/core/device/handler/impl/RobotBoxHandler.java
src/main/java/com/neotel/smfcore/custom/micron1053/loading/LoadingController.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
查看文件 @
9f0bcaf
...
...
@@ -768,18 +768,20 @@ public class RobotBoxHandler extends BaseDeviceHandler {
resultMap
.
put
(
"result"
,
"105"
);
resultMap
.
put
(
"msg"
,
errorMsg
);
}
catch
(
ApiException
apiException
){
}
catch
(
ApiException
apiException
)
{
errorMsg
=
apiException
.
getMessage
();
log
.
info
(
"API 错误:"
+
errorMsg
);
errorMsg
=
MessageUtils
.
getText
(
apiException
.
getMsgKey
(),
apiException
.
getMsgParam
(),
new
Locale
(
"en"
,
"US"
),
apiException
.
getDefaultMsg
());
String
exMsg
=
MessageUtils
.
getText
(
apiException
.
getMsgKey
(),
apiException
.
getMsgParam
(),
new
Locale
(
"en"
,
"US"
),
apiException
.
getDefaultMsg
());
log
.
info
(
apiException
.
getMsgKey
()
+
"获取到exMsg="
+
exMsg
);
resultMap
.
put
(
"result"
,
"120"
);
if
(
ObjectUtil
.
isEmpty
(
errorMsg
)
&&
ObjectUtil
.
isNotEmpty
(
apiException
.
getMessage
())){
errorMsg
=
apiException
.
getMessage
();
if
(
ObjectUtil
.
isEmpty
(
errorMsg
)
&&
ObjectUtil
.
isNotEmpty
(
apiException
.
getMessage
()))
{
// errorMsg=apiException.getMessage();
errorMsg
=
exMsg
;
}
Barcode
barcode
=
new
Barcode
();
barcode
.
setBarcode
(
code
);
loadingUtil
.
AddInListItem
(
rfid
,
barcode
,
""
,
INITEM_STATUS
.
API001NG
,
errorMsg
);
loadingUtil
.
AddInListItem
(
rfid
,
barcode
,
""
,
INITEM_STATUS
.
API001NG
,
errorMsg
);
resultMap
.
put
(
"msg"
,
errorMsg
);
}
...
...
src/main/java/com/neotel/smfcore/custom/micron1053/loading/LoadingController.java
查看文件 @
9f0bcaf
...
...
@@ -490,6 +490,12 @@ public class LoadingController {
}
if
(!
inList
.
getMode
().
equals
(
APIMODE
.
MATRET
))
{
//如果当前没有任务,直接返回 No job or operation needs to be performed End
if
(
inList
.
getInListItems
().
size
()<=
0
){
return
ResultBean
.
newErrorResult
(-
1
,
"smfcore.inlist.noJobToEnd"
,
"No job or operation needs to be performed End"
);
}
//除matret,其他的都是手动结束
inList
=
loadingUtil
.
finish
(
inList
);
}
...
...
src/main/resources/messages.properties
查看文件 @
9f0bcaf
...
...
@@ -379,3 +379,4 @@ smfcore.loading.retry.msg=Retry\u5B8C\u6210\uFF1A{0}/{1}Retry\u6210\u529F\uFF0C{
smfcore.loading.retry.msgok
=
Retry
\u
5B8C
\u6210\u
FF1A{0}/{1}Retry
\u6210\u
529F
smfcore.loading.retry.msgfail
=
Retry
\u
5B8C
\u6210\u
FF1A{0}/{1}Retry
\u5931\u
8D25
smfcore.micron.inlisttaskhasfail
=
\u
64CD
\u
4F5C
\u5931\u
8D25
\u
FF1A
\u7269\u6599\u5168\u
90E8
\u5165\u
5E93
\u6210\u
529F
\u
624D
\u
80FDEnd
smfcore.inlist.noJobToEnd
=
no job or no operation need to perform for END
src/main/resources/messages_en_US.properties
查看文件 @
9f0bcaf
...
...
@@ -368,3 +368,4 @@ smfcore.loading.retry.msg=Retry completed: {0}/{1} retried successfully, {2}/{3}
smfcore.loading.retry.msgok
=
Retry completed: {0}/{1} retried successfully
smfcore.loading.retry.msgfail
=
Retry completed: {0}/{1} retry failed
smfcore.micron.inlisttaskhasfail
=
Operation failed: All materials must be successfully stored before ending
smfcore.inlist.noJobToEnd
=
no job or no operation need to perform for END
\ No newline at end of file
src/main/resources/messages_ja_JP.properties
查看文件 @
9f0bcaf
...
...
@@ -363,3 +363,4 @@ smfcore.loading.retry.msg=\u30EA\u30C8\u30E9\u30A4\u5B8C\u4E86\u3001{0}/{1}\u30E
smfcore.loading.retry.msgok
=
\u
30EA
\u
30C8
\u
30E9
\u
30A4
\u
5B8C
\u
4E86
\u3001
{0}/{1}
\u
30EA
\u
30C8
\u
30E9
\u
30A4
\u6210\u
529F
smfcore.loading.retry.msgfail
=
\u
30EA
\u
30C8
\u
30E9
\u
30A4
\u
5B8C
\u
4E86
\u3001
{0}/{1}
\u
30EA
\u
30C8
\u
30E9
\u
30A4
\u5931\u6557
smfcore.micron.inlisttaskhasfail
=
\u
64CD
\u
4F5C
\u5931\u6557\u
FF1A
\u3059\u3079\u3066\u
306E
\u
7D20
\u6750\u
304C
\u
6B63
\u
5E38
\u
306B
\u
30B9
\u
30C8
\u
30A2
\u3055\u
308C
\u
305F
\u
5F8C
\u3067\u
306A
\u3044\u3068\u
7D42
\u
4E86
\u3067\u
304D
\u
307E
\u
305B
\u3093
smfcore.inlist.noJobToEnd
=
no job or no operation need to perform for END
\ No newline at end of file
src/main/resources/messages_zh_CN.properties
查看文件 @
9f0bcaf
...
...
@@ -363,3 +363,4 @@ smfcore.loading.retry.msg=Retry\u5B8C\u6210\uFF1A{0}/{1}Retry\u6210\u529F\uFF0C{
smfcore.loading.retry.msgok
=
Retry
\u
5B8C
\u6210\u
FF1A{0}/{1}Retry
\u6210\u
529F
smfcore.loading.retry.msgfail
=
Retry
\u
5B8C
\u6210\u
FF1A{0}/{1}Retry
\u5931\u
8D25
smfcore.micron.inlisttaskhasfail
=
\u
64CD
\u
4F5C
\u5931\u
8D25
\u
FF1A
\u7269\u6599\u5168\u
90E8
\u5165\u
5E93
\u6210\u
529F
\u
624D
\u
80FDEnd
smfcore.inlist.noJobToEnd
=
no job or no operation need to perform for END
\ No newline at end of file
src/main/resources/messages_zh_TW.properties
查看文件 @
9f0bcaf
...
...
@@ -364,3 +364,4 @@ smfcore.loading.retry.msg=Retry\u5B8C\u6210\uFF1A{0}/{1}Retry\u6210\u529F\uFF0C{
smfcore.loading.retry.msgok
=
Retry
\u
5B8C
\u6210\u
FF1A{0}/{1}Retry
\u6210\u
529F
smfcore.loading.retry.msgfail
=
Retry
\u
5B8C
\u6210\u
FF1A{0}/{1}Retry
\u5931\u
8D25
smfcore.micron.inlisttaskhasfail
=
\u
64CD
\u
4F5C
\u5931\u
8D25
\u
FF1A
\u7269\u6599\u5168\u
90E8
\u5165\u
5E93
\u6210\u
529F
\u
624D
\u
80FDEnd
smfcore.inlist.noJobToEnd
=
no job or no operation need to perform for END
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论