Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
SO1057-XLRStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 119302e9
由
张东亮
编写于
2022-09-28 22:34:44 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
20220928
1 个父辈
0b6327b8
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
6 行增加
和
37 行删除
source/DeviceLibrary/manager/SServerManager.cs
source/DeviceLibrary/storeBean/boxBean/BoxEquip_PosDebug.cs
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean_Partial.cs
source/DeviceLibrary/manager/SServerManager.cs
查看文件 @
119302e
...
...
@@ -516,9 +516,9 @@ namespace OnlineStore.DeviceLibrary
//判断是否不连接服务器
if
(
string
.
IsNullOrEmpty
(
serverAddr
))
{
LogUtil
.
error
(
deviceName
+
"GetPosId["
+
codeStr
+
"]["
+
height
+
"]["
+
width
+
"]:未找到服务器地址 "
);
LogUtil
.
error
(
deviceName
+
"GetPosId["
+
codeStr
+
"]["
+
width
+
"]["
+
height
+
"]:未找到服务器地址 "
);
result
.
Msg
=
"未找到服务器地址"
;
result
.
Param
=
InOutPosInfo
.
NewNgPos
(
codeStr
,
""
,
height
,
width
,
""
);
result
.
Param
=
InOutPosInfo
.
NewNgPos
(
codeStr
,
""
,
width
,
height
,
""
);
return
result
;
}
...
...
@@ -549,7 +549,7 @@ namespace OnlineStore.DeviceLibrary
{
result
.
Msg
=
deviceName
+
" 【"
+
codeStr
+
"】结果:没有收到服务器反馈,调用 cancelPutInTask "
;
cancelPutInTask
(
deviceName
,
codeStr
);
result
.
Param
=
InOutPosInfo
.
NewNgPos
(
codeStr
,
""
,
height
,
width
,
"没有收到服务器反馈"
);
result
.
Param
=
InOutPosInfo
.
NewNgPos
(
codeStr
,
""
,
width
,
height
,
"没有收到服务器反馈"
);
result
.
Param
.
rfid
=
rfid
;
result
.
Param
.
IsNG
=
true
;
return
result
;
...
...
@@ -570,7 +570,7 @@ namespace OnlineStore.DeviceLibrary
result
.
Msg
=
"收到出库信息["
+
serverResult
.
barcode
+
"]["
+
serverResult
.
posId
+
"] "
;
cancelPutInTask
(
deviceName
,
codeStr
);
result
.
Param
=
InOutPosInfo
.
NewNgPos
(
codeStr
,
""
,
height
,
width
,
"收到出库信息["
+
serverResult
.
barcode
+
"]["
+
serverResult
.
posId
+
"]"
);
result
.
Param
=
InOutPosInfo
.
NewNgPos
(
codeStr
,
""
,
width
,
height
,
"收到出库信息["
+
serverResult
.
barcode
+
"]["
+
serverResult
.
posId
+
"]"
);
result
.
Param
.
rfid
=
rfid
;
result
.
Param
.
IsNG
=
true
;
return
result
;
...
...
@@ -580,7 +580,7 @@ namespace OnlineStore.DeviceLibrary
result
.
Result
=
serverResult
.
result
;
//result.Msg = deviceName + " 【" + codeStr + "】结果:" + serverResult.msg;
result
.
Msg
=
serverResult
.
msg
;
result
.
Param
=
InOutPosInfo
.
NewNgPos
(
codeStr
,
""
,
height
,
width
,
serverResult
.
msg
);
result
.
Param
=
InOutPosInfo
.
NewNgPos
(
codeStr
,
""
,
width
,
height
,
serverResult
.
msg
);
result
.
Param
.
rfid
=
rfid
;
return
result
;
}
...
...
source/DeviceLibrary/storeBean/boxBean/BoxEquip_PosDebug.cs
查看文件 @
119302e
...
...
@@ -36,37 +36,6 @@ namespace OnlineStore.DeviceLibrary
PullAxis_Inout_To_P1
();
}
//public void Test()
//{
// Random random = new Random();
// Task.Factory.StartNew(new Action(delegate
// {
// while (!posDebugInfo.IsLastDrawer())
// {
// while (!posDebugInfo.IsLastGrid())
// {
// PosDebugResultManager.SetGridResult(posDebugInfo.CurGrid, 1);
// posDebugInfo.NextGrid();
// System.Threading.Thread.Sleep(500);
// }
// PosDebugResultManager.SetGridResult(posDebugInfo.CurGrid, 1);
// PosDebugResultManager.SetDrawerResult(posDebugInfo.CurDrawer, 1);
// PosDebugResultManager.SetDrawerResultWithGrid(posDebugInfo.CurDrawer);
// posDebugInfo.NextDrawer();
// System.Threading.Thread.Sleep(500);
// }
// while (!posDebugInfo.IsLastGrid())
// {
// PosDebugResultManager.SetGridResult(posDebugInfo.CurGrid, 1);//random.Next(0, 2)
// posDebugInfo.NextGrid();
// System.Threading.Thread.Sleep(500);
// }
// PosDebugResultManager.SetGridResult(posDebugInfo.CurGrid, 1);
// PosDebugResultManager.SetDrawerResultWithGrid(posDebugInfo.CurDrawer);
// posDebugInfo.NextDrawer();
// }));
// PosDebugResultManager.SaveResult();
//}
/// <summary>
/// 更新移动信息
/// </summary>
...
...
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean_Partial.cs
查看文件 @
119302e
...
...
@@ -528,7 +528,7 @@ namespace OnlineStore.DeviceLibrary
}
//如果检测出<=15,都按照8计算
if
(
height
<=
1
5
)
if
(
height
<=
1
2
)
{
LastHeight
=
8
;
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论