Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO1057_XLC_Store
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit f9d3b078
由
刘韬
编写于
2025-06-20 13:22:03 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
85f89f2e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
11 行增加
和
5 行删除
Common/Common.csproj
DeviceLibrary/theMachine/InOutDevice_IN.cs
LoadCVSLibrary/LoadCSVLibrary.csproj
Common/Common.csproj
查看文件 @
f9d3b07
...
...
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OnlineStore.Common</RootNamespace>
<AssemblyName>MyCommon</AssemblyName>
<TargetFrameworkVersion>v4.
6.1
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.
8
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
...
...
DeviceLibrary/theMachine/InOutDevice_IN.cs
查看文件 @
f9d3b07
...
...
@@ -4,7 +4,6 @@ using OnlineStore.LoadCSVLibrary;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
DeviceLibrary
...
...
@@ -55,6 +54,7 @@ namespace DeviceLibrary
MoveInfo
.
NextMoveStep
(
MoveStep
.
In03
);
MoveInfo
.
log
(
"扫码失败重新扫码"
);
}
bool
isScanError
=
false
;
void
InProcess
()
{
if
(
mainMachine
.
CheckWait
(
MoveInfo
))
...
...
@@ -103,6 +103,7 @@ namespace DeviceLibrary
Lift
.
LiftDown
(
MoveInfo
);
FrontStop
(
MoveInfo
,
IO_VALUE
.
HIGH
);
ScanCode
(
100
);
isScanError
=
false
;
MoveInfo
.
log
(
"开始扫码,入口阻挡上升, 线体停止"
);
}
else
if
(
MoveInfo
.
IsTimeOut
(
10
))
...
...
@@ -226,7 +227,9 @@ namespace DeviceLibrary
Msg
.
add
(
"等待服务器返回库位"
,
MsgLevel
.
info
);
else
if
(
MoveInfo
.
IsTimeOut
(
15
))
{
//MoveInfo.NextMoveStep(MoveStep.Wait);
isScanError
=
true
;
MoveInfo
.
NextMoveStep
(
MoveStep
.
InNG1
);
Lift
.
LiftDown
(
MoveInfo
);
MoveInfo
.
log
(
$
"等待服务器返回库位超时"
);
}
break
;
...
...
@@ -272,7 +275,10 @@ namespace DeviceLibrary
MoveInfo
.
NextMoveStep
(
MoveStep
.
InNG3
);
Line
.
LineStop
(
"work"
);
MoveInfo
.
log
(
$
"料箱抵达出口"
);
Msg
.
add
(
"入库周转箱超重,已退出,请处理"
,
MsgLevel
.
alarm
);
if
(
isScanError
)
Msg
.
add
(
"入库周转箱扫码失败,请确认料箱方向后重试"
,
MsgLevel
.
alarm
);
else
Msg
.
add
(
"入库周转箱超重,已退出,请处理"
,
MsgLevel
.
alarm
);
RobotManage
.
UserPause
(
"入库周转箱超重,退出线体"
);
break
;
case
MoveStep
.
InNG3
:
...
...
LoadCVSLibrary/LoadCSVLibrary.csproj
查看文件 @
f9d3b07
...
...
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OnlineStore.LoadCSVLibrary</RootNamespace>
<AssemblyName>LoadCSVLibrary</AssemblyName>
<TargetFrameworkVersion>v4.
6.1
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.
8
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论