Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO20242OutBound
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit ac65d7a0
由
LN
编写于
2023-07-12 15:46:16 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
93e0e06e
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
15 行增加
和
4 行删除
DeviceLibrary/theMachine/MainMachine.cs
DeviceLibrary/theMachine/OutShelfBean.cs
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
ac65d7a
...
...
@@ -234,10 +234,13 @@ namespace DeviceLibrary
ioMonitor
();
boxTransport
.
Process
();
if
(
RobotManage
.
InoutDebugMode
)
{
AutoInOutTestProcess
();
}
else
{
StoreProcess
();
}
foreach
(
InReelBean
bean
in
inReelBeans
)
{
...
...
@@ -649,10 +652,14 @@ namespace DeviceLibrary
}
p
rivate
void
ClearNgPos
()
p
ublic
void
ClearNgPos
()
{
//清空ng库位列表
LogUtil
.
info
(
"ClearNgPos清空NG库位缓存列表"
);
foreach
(
string
key
in
NgPosMap
.
Keys
)
{
LogUtil
.
info
(
$
"清空NG库位列表:[{key}] :{NgPosMap[key]}"
);
}
NgPosMap
=
new
Dictionary
<
string
,
ReelParam
>();
}
...
...
@@ -675,12 +682,16 @@ namespace DeviceLibrary
private
DateTime
lastEmptyTime
=
DateTime
.
Now
;
private
void
ShelfEmptyProcess
()
{
//
2
秒钟获取一次
//
3
秒钟获取一次
TimeSpan
span
=
DateTime
.
Now
-
lastEmptyTime
;
if
(
span
.
TotalSeconds
<
3
)
{
return
;
}
////TODO 暂时不验证
//return;
try
{
lastEmptyTime
=
DateTime
.
Now
;
...
...
DeviceLibrary/theMachine/OutShelfBean.cs
查看文件 @
ac65d7a
...
...
@@ -187,7 +187,7 @@ namespace DeviceLibrary
//TODO 暂不判断是否返回成功
//if (taskInfo.IsValid())
{
if
(
taskInfo
.
smallEmpty
==
0
&&
taskInfo
.
bigEmpty
==
0
)
if
(
taskInfo
!=
null
&&
taskInfo
.
smallEmpty
==
0
&&
taskInfo
.
bigEmpty
==
0
)
{
//MoveInfo.NextMoveStep(MoveStep.S10_ShelfReady);
//CurrShelf.IsNeedLeave = true;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论