Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO20031_TinStorage
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit cbc24d7f
由
刘韬
编写于
2023-11-17 15:55:09 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
添加标签检测屏蔽
1 个父辈
0aafe783
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
16 行增加
和
2 行删除
Common/Setting_Init.cs
DeviceLibrary/theMachine/CameraPointTest.cs
DeviceLibrary/theMachine/MainMachine_Store.cs
Common/Setting_Init.cs
查看文件 @
cbc24d7
...
@@ -65,7 +65,8 @@ namespace OnlineStore.Common
...
@@ -65,7 +65,8 @@ namespace OnlineStore.Common
[
MyConfigComment
(
"屏蔽取料后自动提升"
)]
[
MyConfigComment
(
"屏蔽取料后自动提升"
)]
public
static
MyConfig
<
bool
>
Device_Disable_AutoLifTingAfterTakeReel
=
false
;
public
static
MyConfig
<
bool
>
Device_Disable_AutoLifTingAfterTakeReel
=
false
;
[
MyConfigComment
(
"屏蔽吸标检测"
)]
public
static
MyConfig
<
bool
>
Device_Disable_Label_Detect
=
false
;
[
MyConfigComment
(
"是否启用库位屏蔽"
)]
[
MyConfigComment
(
"是否启用库位屏蔽"
)]
public
static
MyConfig
<
bool
>
Device_DisableStorePosition
=
false
;
public
static
MyConfig
<
bool
>
Device_DisableStorePosition
=
false
;
...
...
DeviceLibrary/theMachine/CameraPointTest.cs
查看文件 @
cbc24d7
...
@@ -85,6 +85,9 @@ namespace DeviceLibrary
...
@@ -85,6 +85,9 @@ namespace DeviceLibrary
inArea
[
i
].
ngMsg
[
j
]
=
ngmsglist
[
index
];
inArea
[
i
].
ngMsg
[
j
]
=
ngmsglist
[
index
];
inArea
[
i
].
value
[
j
]
=
-
1
;
inArea
[
i
].
value
[
j
]
=
-
1
;
}
}
else
{
inArea
[
i
].
ngMsg
[
j
]
=
""
;
}
index
++;
index
++;
}
}
}
}
...
@@ -242,6 +245,9 @@ namespace DeviceLibrary
...
@@ -242,6 +245,9 @@ namespace DeviceLibrary
/// <returns></returns>
/// <returns></returns>
public
static
bool
TestHasLabelOnDock
(
bool
checkstatus
)
{
public
static
bool
TestHasLabelOnDock
(
bool
checkstatus
)
{
if
(
Setting_Init
.
Device_Disable_Label_Detect
)
return
true
;
var
posname
=
checkstatus
?
TestStorePointPort
.
接标台打印
.
ToString
()
:
TestStorePointPort
.
接标台取标
.
ToString
();
var
posname
=
checkstatus
?
TestStorePointPort
.
接标台打印
.
ToString
()
:
TestStorePointPort
.
接标台取标
.
ToString
();
var
r
=
CameraPointTest
.
CameraData
[
posname
].
PointList
;
var
r
=
CameraPointTest
.
CameraData
[
posname
].
PointList
;
...
...
DeviceLibrary/theMachine/MainMachine_Store.cs
查看文件 @
cbc24d7
...
@@ -194,6 +194,13 @@ namespace DeviceLibrary
...
@@ -194,6 +194,13 @@ namespace DeviceLibrary
StoreMoveInfo
.
NextMoveStep
(
MoveStep
.
StoreIn08
);
StoreMoveInfo
.
NextMoveStep
(
MoveStep
.
StoreIn08
);
StoreMoveInfo
.
log
(
$
"收到完成贴标NG"
);
StoreMoveInfo
.
log
(
$
"收到完成贴标NG"
);
}
}
else
if
(
StoreMoveInfo
.
MoveParam
.
usedCount
==
1
)
{
StoreMoveInfo
.
NextMoveStep
(
MoveStep
.
StoreIn08
);
StoreMoveInfo
.
log
(
$
"该物料已入过库"
);
StoreMoveInfo
.
MoveParam
.
IsNg
=
true
;
StoreMoveInfo
.
MoveParam
.
NgMsg
=
"The material has been stocked, and is not allowed to stock again."
;
}
else
else
{
{
if
(
string
.
IsNullOrEmpty
(
LabelingMoveInfo
.
MoveParam
.
PosID
))
if
(
string
.
IsNullOrEmpty
(
LabelingMoveInfo
.
MoveParam
.
PosID
))
...
@@ -513,7 +520,7 @@ namespace DeviceLibrary
...
@@ -513,7 +520,7 @@ namespace DeviceLibrary
if
(!
issame
)
if
(!
issame
)
{
{
StoreMoveInfo
.
log
(
"读取到 RFID:"
+
ds
);
StoreMoveInfo
.
log
(
"读取到
的RFID与物料信息不符 读取到
RFID:"
+
ds
);
Msg
.
add
(
"rfid.nomatch"
,
crc
.
GetString
(
"Res0140"
,
"读取到的RFID与物料信息不符:"
)
+
ds
,
MsgLevel
.
alarm
);
Msg
.
add
(
"rfid.nomatch"
,
crc
.
GetString
(
"Res0140"
,
"读取到的RFID与物料信息不符:"
)
+
ds
,
MsgLevel
.
alarm
);
RobotManage
.
UserPause
(
crc
.
GetString
(
"Res0141"
,
"读取到的RFID与物料信息不符"
));
RobotManage
.
UserPause
(
crc
.
GetString
(
"Res0141"
,
"读取到的RFID与物料信息不符"
));
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论