Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 5550ee11
由
LN
编写于
2020-02-23 10:13:11 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
流水线去掉NextStopCheck的验证
1 个父辈
a153e9f2
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
33 行增加
和
23 行删除
source/AssemblyLineClient/记录.txt
source/DeviceLibrary/agvClient/AgvClient.cs
source/DeviceLibrary/assemblyLine/FeedingEquip_InStore.cs
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
source/DeviceLibrary/assemblyLine/ProvidingEquip_Partial.cs
source/LoadCVSLibrary/storeConfig/config/DeviceConfig.cs
source/LoadCVSLibrary/storeConfig/config/IO_Type.cs
source/AssemblyLineClient/记录.txt
查看文件 @
5550ee1
...
...
@@ -137,6 +137,12 @@ DI,17,17NSC-进仓18阻挡1检测,NextStopCheck,10,PRO_AOI_IP_35,0,17NSC-进仓1
DI,18,18NSC-出料4阻挡1检测,NextStopCheck,4,PRO_AOI_IP_36,0,18NSC-出料4阻挡1检测,X555,X555
20200220
agvclien增加cancelState的参数设置.
去掉功能:阻挡2下降的时候需要验证下一个阻挡1检测无信号
20200221
agv客户端启动时需要设置状态为none
...
...
source/DeviceLibrary/agvClient/AgvClient.cs
查看文件 @
5550ee1
...
...
@@ -32,10 +32,10 @@ namespace OnlineStore.DeviceLibrary
agvClient
.
CloseDoor
+=
AgvClient_CloseDoor
;
}
actionMap
=
new
Dictionary
<
string
,
Asa
.
ClientAction
>();
foreach
(
string
key
in
NodeList
)
{
actionMap
.
Add
(
key
,
Asa
.
ClientAction
.
None
);
}
//
foreach (string key in NodeList)
//
{
//
actionMap.Add(key, Asa.ClientAction.None);
//
}
if
(!
LineManager
.
Line
.
UseAgvClient
)
{
LogUtil
.
info
(
"LineManager.Line.UseAgvClient 未启用,直接返回"
);
...
...
@@ -65,12 +65,16 @@ namespace OnlineStore.DeviceLibrary
}
public
static
void
SetStatus
(
string
id
,
string
shelfId
=
""
,
ClientAction
action
=
ClientAction
.
None
,
ClientLevel
level
=
ClientLevel
.
Low
)
{
ClientAction
currA
=
GetAction
(
id
);
//相同状态就设置一次
if
(
currA
.
Equals
(
action
))
// ClientAction currA = GetAction(id);
if
(
actionMap
.
ContainsKey
(
id
))
{
return
;
ClientAction
currA
=
actionMap
[
id
];
//相同状态就设置一次
if
(
currA
.
Equals
(
action
))
{
return
;
}
}
agvClient
.
SetStatus
(
id
,
""
,
shelfId
,
action
,
level
);
UpdateAction
(
id
,
action
);
}
...
...
source/DeviceLibrary/assemblyLine/FeedingEquip_InStore.cs
查看文件 @
5550ee1
...
...
@@ -246,7 +246,7 @@ namespace OnlineStore.DeviceLibrary
LogInfo
(
SecondMoveInfo
.
MoveNum
+
"***************上个托盘号【"
+
preTrayNum
+
"】,当前 【"
+
tray
.
ToStr
()
+
"】没有出入料任务,放盘通过~"
);
//CheckLog("托盘放行 " + SecondMoveInfo.SLog + " ,移栽2,需要判断是否可以放盘通过,最多等待10000)");
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,等待 NextStopCheck=0"
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
NextStopCheck
,
IO_VALUE
.
LOW
));
//
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.NextStopCheck, IO_VALUE.LOW));
}
else
{
...
...
@@ -331,7 +331,7 @@ namespace OnlineStore.DeviceLibrary
else
{
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,等待 NextStopCheck=0"
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
NextStopCheck
,
IO_VALUE
.
LOW
));
//
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.NextStopCheck, IO_VALUE.LOW));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_15_WaitCanGo
))
...
...
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
查看文件 @
5550ee1
...
...
@@ -516,7 +516,7 @@ namespace OnlineStore.DeviceLibrary
}
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_15_WaitCanGo
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,等待 NextStopCheck=0"
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
NextStopCheck
,
IO_VALUE
.
LOW
));
//
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.NextStopCheck, IO_VALUE.LOW));
}
}
catch
(
Exception
ex
)
...
...
@@ -583,7 +583,7 @@ namespace OnlineStore.DeviceLibrary
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_15_WaitCanGo
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,等待 NextStopCheck=0"
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
NextStopCheck
,
IO_VALUE
.
LOW
));
//
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.NextStopCheck, IO_VALUE.LOW));
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_15_WaitCanGo
))
...
...
source/DeviceLibrary/assemblyLine/ProvidingEquip_Partial.cs
查看文件 @
5550ee1
...
...
@@ -313,7 +313,7 @@ namespace OnlineStore.DeviceLibrary
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_15_WaitCanGo
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,等待 NextStopCheck=0"
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
NextStopCheck
,
IO_VALUE
.
LOW
));
//
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.NextStopCheck, IO_VALUE.LOW));
}
}
...
...
source/LoadCVSLibrary/storeConfig/config/DeviceConfig.cs
查看文件 @
5550ee1
...
...
@@ -300,11 +300,11 @@ namespace OnlineStore.LoadCSVLibrary
ConfigIO
nsc
=
null
;
foreach
(
string
key
in
diList
.
Keys
)
{
if
(
key
.
Equals
(
IO_Type
.
NextStopCheck
))
{
nsc
=
diList
[
key
];
continue
;
}
//
if (key.Equals(IO_Type.NextStopCheck))
//
{
//
nsc = diList[key];
//
continue;
//
}
DIList
.
Add
(
key
,
diList
[
key
]);
if
(!
IOIPList
.
Contains
(
diList
[
key
].
IO_IP
))
{
...
...
@@ -321,10 +321,10 @@ namespace OnlineStore.LoadCSVLibrary
}
}
if
(
nsc
!=
null
)
{
DIList
.
Add
(
IO_Type
.
NextStopCheck
,
nsc
);
}
//
if (nsc!=null)
//
{
//
DIList.Add(IO_Type.NextStopCheck, nsc);
//
}
}
public
ConfigIO
getWaitIO
(
string
ioType
)
{
...
...
source/LoadCVSLibrary/storeConfig/config/IO_Type.cs
查看文件 @
5550ee1
...
...
@@ -660,7 +660,7 @@ namespace OnlineStore.LoadCSVLibrary
#
endregion
public
static
string
NextStopCheck
=
"NextStopCheck"
;
//
public static string NextStopCheck = "NextStopCheck";
}
public
enum
IO_VALUE
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论