Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit f39622e9
由
LN
编写于
2021-04-08 09:09:10 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
分流横移1逻辑修改:增加新料仓19的逻辑
1 个父辈
8fe7045d
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
13 行增加
和
5 行删除
source/DeviceLibrary/assemblyLine/LineBean_Shunt.cs
source/DeviceLibrary/server/LineServer.cs
source/DeviceLibrary/assemblyLine/LineBean_Shunt.cs
查看文件 @
f39622e
...
...
@@ -368,14 +368,17 @@ namespace OnlineStore.DeviceLibrary
InOutParam
inoup
=
trayInfo
.
InoutPar
;
if
(
trayInfo
.
InOrOutStore
.
Equals
(
ReelType
.
InStore
))
{
int
storeId
=
inoup
.
GetStoreId
();
List
<
int
>
storeIdList
=
new
List
<
int
>()
{
10
,
19
,
25
};
if
(
inoup
.
InStoreNg
)
{
outMsg
=
"入料NG料"
;
return
true
;
}
else
if
(
inoup
.
GetStoreId
().
Equals
(
10
).
Equals
(
false
))
else
if
(
!
storeIdList
.
Contains
(
storeId
))
{
outMsg
=
"非10号仓入库"
;
outMsg
=
"非10
_19
号仓入库"
;
return
true
;
}
}
...
...
@@ -393,6 +396,11 @@ namespace OnlineStore.DeviceLibrary
{
return
false
;
}
MoveEquip
moveEquip19
=
LineManager
.
Line
.
GetMoveByDId
(
19
);
if
(
moveEquip19
.
IsWaitEmptyTray
())
{
return
false
;
}
FeedingEquip
feed3
=
LineManager
.
Line
.
FeedingEquipMap
[
103
];
if
(
feed3
.
WaitEmptyTray
())
{
...
...
source/DeviceLibrary/server/LineServer.cs
查看文件 @
f39622e
...
...
@@ -181,7 +181,7 @@ namespace OnlineStore.DeviceLibrary
}
}
return
false
;
}
}
public
static
string
GetAllCID
(
int
equipId
)
{
//左侧19,右侧20
...
...
@@ -233,7 +233,7 @@ namespace OnlineStore.DeviceLibrary
}
}
foreach
(
int
id
in
IdList
)
{
{
// foreach (BoxInfo box in BoxMap.Values)
//{
BoxInfo
box
=
GetBoxInfo
(
id
);
...
...
@@ -248,7 +248,7 @@ namespace OnlineStore.DeviceLibrary
}
}
}
}
}
if
(
result
.
EndsWith
(
","
))
{
result
=
result
.
Substring
(
0
,
result
.
Length
-
1
);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论