Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-VMILineClient
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 6f3cdfc5
由
LN
编写于
2020-02-27 11:13:00 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
agv客户端启动时需要设置状态为none
1 个父辈
8feaf907
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
26 行增加
和
9 行删除
dll/Client.dll
dll/Client.xml
source/DeviceLibrary/agvClient/AgvClient.cs
source/VMILineClient/记录.txt
dll/Client.dll
查看文件 @
6f3cdfc
此文件类型无法预览
dll/Client.xml
查看文件 @
6f3cdfc
...
...
@@ -242,7 +242,12 @@
</member>
<member
name=
"E:Asa.Client2.CloseDoor"
>
<summary>
关门
关门,仅包装料仓
</summary>
</member>
<member
name=
"E:Asa.Client2.EnterShelf"
>
<summary>
准备进入料架不能出料,仅包装料仓
</summary>
</member>
<member
name=
"E:Asa.Client2.Log"
>
...
...
@@ -431,6 +436,11 @@
小车已准备,已对接上流水线
</summary>
</member>
<member
name=
"F:Asa.ClientAction.EnterShelf"
>
<summary>
包装料仓只能入料不能出料
</summary>
</member>
<member
name=
"T:Asa.ClientLevel"
>
<summary>
客户端的优先级
...
...
source/DeviceLibrary/agvClient/AgvClient.cs
查看文件 @
6f3cdfc
...
...
@@ -34,15 +34,16 @@ 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);
//
}
agvClient
.
Connect
();
foreach
(
string
str
in
NodeList
)
{
SetStatus
(
str
);
LogUtil
.
info
(
"agv init ,SetStatus["
+
str
+
"]=none "
);
}
}
...
...
@@ -64,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/VMILineClient/记录.txt
查看文件 @
6f3cdfc
...
...
@@ -7,3 +7,5 @@ Mayleave、MayEnter是包装料仓的,开了门后发,环形线和VMI是不
20200220
agvclien增加cancelState的参数设置
20200221
agv客户端启动时需要设置状态为none
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论