Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1053_SBSH
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 13461821
由
刘韬
编写于
2023-11-27 09:08:30 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
e859fb7b
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
5 行增加
和
3 行删除
DeviceLibrary/theMachine/BoxTransport.cs
DeviceLibrary/theMachine/MainMachine.cs
DeviceLibrary/theMachine/MainMachine_Store.cs
DeviceLibrary/theMachine/BoxTransport.cs
查看文件 @
1346182
...
...
@@ -199,13 +199,13 @@ namespace DeviceLibrary
break
;
case
MoveStep
.
StoreTS09
:
RobotManage
.
CameraA
.
CameraGrabOne
(
RobotManage
.
CameraA
.
GetFixtureStateFilename
(
From
.
posid
,
WareCode
,
storeMoveType
,
FixtureState
.
FromOut
));
DoorControl
.
Invoke
(
false
);
if
(!
IgnoreX09
&&
IOManager
.
IOValue
(
IO_Type
.
TrayCheck_Fixture
,
Config
).
Equals
(
IO_VALUE
.
LOW
))
{
Msg
.
add
(
string
.
Format
(
crc
.
GetString
(
"Res0125"
,
"出库时料叉{0}没有检测到物料无法继续,请检查."
),
Config
.
DIList
[
IO_Type
.
TrayCheck_Fixture
].
ElectricalDefinition
),
MsgLevel
.
alarm
,
ErrInfo
.
X09_BoxNotDetect
);
}
else
{
DoorControl
.
Invoke
(
false
);
Msg
.
add
(
""
,
MsgLevel
.
info
,
ErrInfo
.
X09_Clear
);
IgnoreX09
=
false
;
if
(
To
.
posid
==
BoxStorePosition
.
ngdoor
&&
Setting_Init
.
Device_Use_Fixpos
...
...
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
1346182
...
...
@@ -125,7 +125,7 @@ namespace DeviceLibrary
private
void
ServerCM_OutStoreEvent
(
JobInfo
jobInfo
)
{
AddOutStoreTask
(
jobInfo
.
WareNum
,
jobInfo
.
PosId
,
jobInfo
.
plateW
,
jobInfo
.
plateH
);
AddOutStoreTask
(
jobInfo
.
WareNum
,
jobInfo
.
PosId
,
jobInfo
.
plateW
,
jobInfo
.
plateH
,
jobInfo
.
isNG
,
jobInfo
.
NgMsg
);
}
private
bool
ServerCM_InStoreEvent1
(
JobInfo
jobInfo
,
bool
ng
,
string
msg
)
...
...
DeviceLibrary/theMachine/MainMachine_Store.cs
查看文件 @
1346182
...
...
@@ -26,9 +26,11 @@ namespace DeviceLibrary
StoreJobList
OutStoreJobList
=
new
StoreJobList
(
""
);
public
void
AddOutStoreTask
(
string
warecode
,
string
posId
,
int
plateW
,
int
plateH
)
public
void
AddOutStoreTask
(
string
warecode
,
string
posId
,
int
plateW
,
int
plateH
,
bool
isNG
,
string
ngMsg
)
{
JobInfo
jobInfo
=
new
JobInfo
(
warecode
,
posId
,
plateW
,
plateH
);
jobInfo
.
isNG
=
isNG
;
jobInfo
.
NgMsg
=
ngMsg
;
OutStoreJobList
.
Enqueue
(
jobInfo
);
LogUtil
.
info
(
$
"添加出库任务队列: {posId},当前任务数量: {OutStoreJobList.Count}"
);
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论