Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-ACPackingStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 0f6cde8a
由
LN
编写于
2020-04-10 16:30:31 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
AgvClient_EnterShelf bug修改
1 个父辈
58423824
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
0 行增加
和
9 行删除
source/ACPackingStore/FrmStore.Designer.cs
source/DeviceLibrary/agvClient/AgvClient.cs
source/ACPackingStore/FrmStore.Designer.cs
查看文件 @
0f6cde8
...
...
@@ -130,8 +130,6 @@
// chbAGV
//
this
.
chbAGV
.
AutoSize
=
true
;
this
.
chbAGV
.
Checked
=
true
;
this
.
chbAGV
.
CheckState
=
System
.
Windows
.
Forms
.
CheckState
.
Checked
;
this
.
chbAGV
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbAGV
.
Location
=
new
System
.
Drawing
.
Point
(
36
,
470
);
this
.
chbAGV
.
Name
=
"chbAGV"
;
...
...
source/DeviceLibrary/agvClient/AgvClient.cs
查看文件 @
0f6cde8
...
...
@@ -56,9 +56,7 @@ namespace OnlineStore.DeviceLibrary
private
static
void
AgvClient_EnterShelf
(
string
id
,
string
rfid
)
{
// RFIDData data = new RFIDData(content);
LogUtil
.
info
(
"收到 AgvClient_EnterShelf ["
+
id
+
"] ["
+
rfid
+
"] "
);
StoreManager
.
Store
.
AGVProcess
(
id
,
rfid
,
ClientAction
.
Arrive
);
foreach
(
AC_BOX_Bean
box
in
StoreManager
.
Store
.
BoxMap
.
Values
)
{
if
(
box
.
Config
.
AgvNodeName
.
Equals
(
id
))
...
...
@@ -77,7 +75,6 @@ namespace OnlineStore.DeviceLibrary
public
static
Dictionary
<
string
,
DateTime
>
closeDoorTimeMap
=
new
Dictionary
<
string
,
DateTime
>();
private
static
void
AgvClient_CloseDoor
(
string
id
,
string
rfid
)
{
// RFIDData data = new RFIDData(content);
LogUtil
.
info
(
"收到 AgvClient_CloseDoor ["
+
id
+
"] ["
+
rfid
+
"] "
);
if
(
closeDoorTimeMap
.
ContainsKey
(
id
))
...
...
@@ -89,7 +86,6 @@ namespace OnlineStore.DeviceLibrary
public
static
void
SetStatus
(
string
id
,
string
mark
=
""
,
string
shelfId
=
""
,
ClientAction
action
=
ClientAction
.
None
,
ClientLevel
level
=
ClientLevel
.
Low
,
bool
isMust
=
false
)
{
// ClientAction currA = GetAction(id);
if
(!
isMust
)
{
if
(
actionMap
.
ContainsKey
(
id
))
...
...
@@ -112,7 +108,6 @@ namespace OnlineStore.DeviceLibrary
private
static
void
AgvClient_Ready
(
string
id
,
string
rfid
)
{
UpdateAction
(
id
,
ClientAction
.
Ready
);
// RFIDData data = new RFIDData(content);
LogUtil
.
info
(
"收到 AgvClient_Ready ["
+
id
+
"] ["
+
rfid
+
"] "
);
StoreManager
.
Store
.
AGVProcess
(
id
,
rfid
,
ClientAction
.
Ready
);
}
...
...
@@ -121,9 +116,7 @@ namespace OnlineStore.DeviceLibrary
private
static
void
AgvClient_Arrive
(
string
id
,
string
rfid
)
{
UpdateAction
(
id
,
ClientAction
.
Arrive
);
// RFIDData data = new RFIDData(content);
LogUtil
.
info
(
"收到 AgvClient_Arrive ["
+
id
+
"] ["
+
rfid
+
"] "
);
StoreManager
.
Store
.
AGVProcess
(
id
,
rfid
,
ClientAction
.
Arrive
);
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论