Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit f636ff94
由
LN
编写于
2025-02-28 09:12:20 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
锡膏料仓调试修改
1 个父辈
8ccd426b
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
31 行增加
和
3 行删除
src/main/java/com/neotel/smfcore/core/dashboard/mimo/SmdBoxMimoController.java
src/main/java/com/neotel/smfcore/core/device/bean/BoxStatusBean.java
src/main/java/com/neotel/smfcore/core/device/handler/impl/BaseDeviceHandler.java
src/main/java/com/neotel/smfcore/core/kanban/rest/BoxKanbanController.java
src/main/java/com/neotel/smfcore/core/kanban/rest/bean/dto/BoxStatusDto.java
src/main/java/com/neotel/smfcore/core/solder/rest/SpBoxController.java
src/main/java/com/neotel/smfcore/core/system/service/po/Humiture.java
src/main/java/com/neotel/smfcore/core/dashboard/mimo/SmdBoxMimoController.java
查看文件 @
f636ff9
...
@@ -350,7 +350,7 @@ public class SmdBoxMimoController {
...
@@ -350,7 +350,7 @@ public class SmdBoxMimoController {
// }
// }
int
allCount
=
inTask
+
outTask
;
int
allCount
=
inTask
+
outTask
;
BoxStatusDto
boxDto
=
new
BoxStatusDto
(
storage
.
getId
(),
storage
.
getName
(),
storage
.
getCid
(),
false
,
0
,
BoxStatusDto
boxDto
=
new
BoxStatusDto
(
storage
.
getId
(),
storage
.
getName
(),
storage
.
getCid
(),
false
,
0
,
"0"
,
"0"
,
"0"
,
""
,
allCount
,
inTask
,
outTask
,
"0"
,
"0"
,
"0"
,
""
,
""
,
allCount
,
inTask
,
outTask
,
0
,
""
,
""
,
""
,
""
,
""
,
storage
.
getType
(),
storage
.
getUsageMap
(),
new
HashMap
<>(),
storage
.
getInListName
());
0
,
""
,
""
,
""
,
""
,
""
,
storage
.
getType
(),
storage
.
getUsageMap
(),
new
HashMap
<>(),
storage
.
getInListName
());
//获取设备状态,设置状态和当前任务信息
//获取设备状态,设置状态和当前任务信息
...
@@ -389,6 +389,7 @@ public class SmdBoxMimoController {
...
@@ -389,6 +389,7 @@ public class SmdBoxMimoController {
}
}
}
}
boxDto
.
setCodeAirTemp
(
boxStatus
.
getCodeAirTemp
());
boxDto
.
setCodeAirTemp
(
boxStatus
.
getCodeAirTemp
());
boxDto
.
setCodeAirTemp2
(
boxStatus
.
getCodeAirTemp2
());
boxDto
.
setStatus
(
bean
.
getStatus
());
boxDto
.
setStatus
(
bean
.
getStatus
());
boxDto
.
setMsg
(
bean
.
getShowMsg
(
locale
));
boxDto
.
setMsg
(
bean
.
getShowMsg
(
locale
));
boxDto
.
setBarcode
(
bean
.
getCode
());
boxDto
.
setBarcode
(
bean
.
getCode
());
...
...
src/main/java/com/neotel/smfcore/core/device/bean/BoxStatusBean.java
查看文件 @
f636ff9
...
@@ -55,9 +55,13 @@ public class BoxStatusBean {
...
@@ -55,9 +55,13 @@ public class BoxStatusBean {
public
String
humidity
;
public
String
humidity
;
/**
/**
* 冷
气机温度
* 冷
藏区温度1
*/
*/
public
String
codeAirTemp
;
public
String
codeAirTemp
;
/**
* 冷藏区温度2
*/
public
String
codeAirTemp2
;
public
int
getBoxId
()
{
public
int
getBoxId
()
{
return
boxId
;
return
boxId
;
...
@@ -198,4 +202,12 @@ public class BoxStatusBean {
...
@@ -198,4 +202,12 @@ public class BoxStatusBean {
public
void
setCodeAirTemp
(
String
codeAirTemp
)
{
public
void
setCodeAirTemp
(
String
codeAirTemp
)
{
this
.
codeAirTemp
=
codeAirTemp
;
this
.
codeAirTemp
=
codeAirTemp
;
}
}
public
String
getCodeAirTemp2
()
{
return
codeAirTemp2
;
}
public
void
setCodeAirTemp2
(
String
codeAirTemp2
)
{
this
.
codeAirTemp2
=
codeAirTemp2
;
}
}
}
src/main/java/com/neotel/smfcore/core/device/handler/impl/BaseDeviceHandler.java
查看文件 @
f636ff9
...
@@ -953,10 +953,14 @@ public class BaseDeviceHandler implements IDeviceHandler {
...
@@ -953,10 +953,14 @@ public class BaseDeviceHandler implements IDeviceHandler {
String
humidity
=
boxStatus
.
getHumidity
();
String
humidity
=
boxStatus
.
getHumidity
();
String
temperature
=
boxStatus
.
getTemperature
();
String
temperature
=
boxStatus
.
getTemperature
();
String
codeAirTemp
=
boxStatus
.
getCodeAirTemp
();
String
codeAirTemp
=
boxStatus
.
getCodeAirTemp
();
String
codeAirTemp2
=
boxStatus
.
getCodeAirTemp2
();
if
(!
Strings
.
isNullOrEmpty
(
humidity
)
&&
!
Strings
.
isNullOrEmpty
(
temperature
))
{
if
(!
Strings
.
isNullOrEmpty
(
humidity
)
&&
!
Strings
.
isNullOrEmpty
(
temperature
))
{
humiture
.
setHumidity
(
humidity
);
humiture
.
setHumidity
(
humidity
);
humiture
.
setTemperature
(
temperature
);
humiture
.
setTemperature
(
temperature
);
humiture
.
setCodeAirTemp
(
codeAirTemp
);
humiture
.
setCodeAirTemp
(
codeAirTemp
);
if
(
ObjectUtil
.
isNotEmpty
(
codeAirTemp2
)){
humiture
.
setCodeAirTemp2
(
codeAirTemp2
);
}
try
{
try
{
humitureManager
.
save
(
humiture
);
humitureManager
.
save
(
humiture
);
statusBean
.
setLastSaveTime
(
System
.
currentTimeMillis
());
statusBean
.
setLastSaveTime
(
System
.
currentTimeMillis
());
...
...
src/main/java/com/neotel/smfcore/core/kanban/rest/BoxKanbanController.java
查看文件 @
f636ff9
...
@@ -423,7 +423,7 @@ public class BoxKanbanController {
...
@@ -423,7 +423,7 @@ public class BoxKanbanController {
// }
// }
int
allCount
=
inTask
+
outTask
;
int
allCount
=
inTask
+
outTask
;
BoxStatusDto
boxDto
=
new
BoxStatusDto
(
storage
.
getId
(),
storage
.
getName
(),
storage
.
getCid
(),
false
,
0
,
BoxStatusDto
boxDto
=
new
BoxStatusDto
(
storage
.
getId
(),
storage
.
getName
(),
storage
.
getCid
(),
false
,
0
,
"0"
,
"0"
,
"0"
,
""
,
allCount
,
inTask
,
outTask
,
"0"
,
"0"
,
"0"
,
""
,
""
,
allCount
,
inTask
,
outTask
,
0
,
""
,
""
,
""
,
""
,
""
,
storage
.
getType
(),
storage
.
getUsageMap
(),
new
HashMap
<>(),
storage
.
getInListName
());
0
,
""
,
""
,
""
,
""
,
""
,
storage
.
getType
(),
storage
.
getUsageMap
(),
new
HashMap
<>(),
storage
.
getInListName
());
//获取设备状态,设置状态和当前任务信息
//获取设备状态,设置状态和当前任务信息
...
@@ -462,6 +462,7 @@ public class BoxKanbanController {
...
@@ -462,6 +462,7 @@ public class BoxKanbanController {
}
}
}
}
boxDto
.
setCodeAirTemp
(
boxStatus
.
getCodeAirTemp
());
boxDto
.
setCodeAirTemp
(
boxStatus
.
getCodeAirTemp
());
boxDto
.
setCodeAirTemp2
(
boxStatus
.
getCodeAirTemp2
());
boxDto
.
setStatus
(
bean
.
getStatus
());
boxDto
.
setStatus
(
bean
.
getStatus
());
boxDto
.
setMsg
(
bean
.
getShowMsg
(
locale
));
boxDto
.
setMsg
(
bean
.
getShowMsg
(
locale
));
boxDto
.
setBarcode
(
bean
.
getCode
());
boxDto
.
setBarcode
(
bean
.
getCode
());
...
...
src/main/java/com/neotel/smfcore/core/kanban/rest/bean/dto/BoxStatusDto.java
查看文件 @
f636ff9
...
@@ -37,6 +37,8 @@ public class BoxStatusDto {
...
@@ -37,6 +37,8 @@ public class BoxStatusDto {
private
String
humidity
;
private
String
humidity
;
@ApiModelProperty
(
"冷气机温度"
)
@ApiModelProperty
(
"冷气机温度"
)
private
String
codeAirTemp
;
private
String
codeAirTemp
;
@ApiModelProperty
(
"冷气机温度2"
)
private
String
codeAirTemp2
;
@ApiModelProperty
(
"文字显示"
)
@ApiModelProperty
(
"文字显示"
)
private
String
msg
=
""
;
private
String
msg
=
""
;
...
...
src/main/java/com/neotel/smfcore/core/solder/rest/SpBoxController.java
查看文件 @
f636ff9
...
@@ -381,6 +381,9 @@ public class SpBoxController {
...
@@ -381,6 +381,9 @@ public class SpBoxController {
//入库验证
//入库验证
try
{
try
{
Barcode
barcodeSave
=
smfApi
.
canPutInBeforeResolve
(
params
);
Barcode
barcodeSave
=
smfApi
.
canPutInBeforeResolve
(
params
);
if
(
barcodeSave
==
null
){
barcodeSave
=
barcode
;
}
if
(
barcodeSave
==
null
)
{
if
(
barcodeSave
==
null
)
{
log
.
info
(
"库位【"
+
storagePos
.
getPosName
()
+
"】"
+
barcode
.
getBarcode
()
+
" 回库验证失败:条码为空,直接出库"
);
log
.
info
(
"库位【"
+
storagePos
.
getPosName
()
+
"】"
+
barcode
.
getBarcode
()
+
" 回库验证失败:条码为空,直接出库"
);
outMsg
=
MessageUtils
.
getText
(
"smfcore.spbox.backFail"
,
MessageUtils
.
getDefaultLocal
(),
"回库验证失败"
);
outMsg
=
MessageUtils
.
getText
(
"smfcore.spbox.backFail"
,
MessageUtils
.
getDefaultLocal
(),
"回库验证失败"
);
...
...
src/main/java/com/neotel/smfcore/core/system/service/po/Humiture.java
查看文件 @
f636ff9
...
@@ -26,6 +26,11 @@ public class Humiture extends BasePo implements Serializable {
...
@@ -26,6 +26,11 @@ public class Humiture extends BasePo implements Serializable {
* 温度2,用于锡膏料仓冷藏温度保存
* 温度2,用于锡膏料仓冷藏温度保存
*/
*/
private
String
codeAirTemp
;
private
String
codeAirTemp
;
/**
* 冷藏区温度2(锡膏料仓)
*/
private
String
codeAirTemp2
;
/**
/**
* 湿度
* 湿度
*/
*/
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论