Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-ACPackingStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit df032424
由
LN
编写于
2020-12-04 14:29:45 +0800
浏览文件
选项
浏览文件
标签
下载
差异文件
Merge branch 'master' of
http://106.15.194.121:8083/sunke/RC1250-ACPackingStore
2 个父辈
16d7267e
d0da9c58
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
19 行增加
和
10 行删除
dll/Asa.AgvClient.dll
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Shelf.cs
source/DeviceLibrary/DeviceLibrary.csproj
source/DeviceLibrary/agvClient/AgvClient.cs
source/LoadCVSLibrary/CSVReaderBase.cs
dll/Asa.AgvClient.dll
0 → 100644
查看文件 @
df03242
此文件类型无法预览
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Shelf.cs
查看文件 @
df03242
...
...
@@ -408,7 +408,12 @@ namespace OnlineStore.DeviceLibrary
{
string
mark
=
GetMarkInfo
();
LogUtil
.
error
(
Name
+
logN
+
" 当前 BS_03_WaitEmptyAgv,RFID["
+
rfid
+
"]不是空车,不处理agv,重发 NeedLeave ["
+
mark
+
"]["
+
CurrShelfID
+
"]"
);
AgvClient
.
SetStatus
(
Config
.
AgvNodeName
,
mark
,
CurrShelfID
,
ClientAction
.
NeedLeave
,
ClientLevel
.
High
,
true
);
Task
.
Factory
.
StartNew
(
new
Action
(()=>
{
AgvClient
.
SetStatus
(
Config
.
AgvNodeName
,
mark
,
CurrShelfID
,
ClientAction
.
MayNot
,
ClientLevel
.
High
,
true
);
Thread
.
Sleep
(
10000
);
AgvClient
.
SetStatus
(
Config
.
AgvNodeName
,
mark
,
CurrShelfID
,
ClientAction
.
NeedLeave
,
ClientLevel
.
High
,
true
);
}));
return
false
;
}
...
...
@@ -425,7 +430,12 @@ namespace OnlineStore.DeviceLibrary
{
string
mark
=
GetMarkInfo
();
LogUtil
.
error
(
Name
+
logN
+
" 当前出库中 BI_00_ReadyShelf,RFID无效,不处理agv,重发 NeedEnter ["
+
mark
+
"]["
+
MoveInfo
.
MoveParam
.
rfid
+
"]"
);
AgvClient
.
SetStatus
(
Config
.
AgvNodeName
,
mark
,
MoveInfo
.
MoveParam
.
rfid
,
ClientAction
.
NeedEnter
,
ClientLevel
.
High
,
true
);
Task
.
Factory
.
StartNew
(
new
Action
(()
=>
{
AgvClient
.
SetStatus
(
Config
.
AgvNodeName
,
mark
,
CurrShelfID
,
ClientAction
.
MayNot
,
ClientLevel
.
High
,
true
);
Thread
.
Sleep
(
10000
);
AgvClient
.
SetStatus
(
Config
.
AgvNodeName
,
mark
,
MoveInfo
.
MoveParam
.
rfid
,
ClientAction
.
NeedEnter
,
ClientLevel
.
High
,
true
);
}));
return
false
;
}
...
...
source/DeviceLibrary/DeviceLibrary.csproj
查看文件 @
df03242
...
...
@@ -36,16 +36,15 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Asa.AgvClient">
<HintPath>..\..\dll\Asa.AgvClient.dll</HintPath>
</Reference>
<Reference Include="Asa.IOModule.AIOBOX">
<HintPath>..\..\dll\Asa.IOModule.AIOBOX.dll</HintPath>
</Reference>
<Reference Include="Asa.RFID">
<HintPath>..\..\dll\Asa.RFID.dll</HintPath>
</Reference>
<Reference Include="Client, Version=1.0.0.1, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll\Client.dll</HintPath>
</Reference>
<Reference Include="CodeLibrary">
<HintPath>..\..\dll\CodeLibrary.dll</HintPath>
</Reference>
...
...
source/DeviceLibrary/agvClient/AgvClient.cs
查看文件 @
df03242
...
...
@@ -55,13 +55,13 @@ namespace OnlineStore.DeviceLibrary
}
private
static
void
AgvClient_EnterShelf
(
string
id
,
string
rfid
)
{
LogUtil
.
info
(
"收到 AgvClient_EnterShelf ["
+
id
+
"] ["
+
rfid
+
"] "
);
{
LogUtil
.
info
(
"收到 AgvClient_EnterShelf ["
+
id
+
"] ["
+
rfid
+
"] "
);
foreach
(
AC_BOX_Bean
box
in
StoreManager
.
Store
.
BoxMap
.
Values
)
{
if
(
box
.
Config
.
AgvNodeName
.
Equals
(
id
))
{
LogUtil
.
info
(
"收到 AgvClient_EnterShelf ["
+
id
+
"] ["
+
rfid
+
"] ,设置 ["
+
box
.
Name
+
"] WaitShelfEnter = true"
);
LogUtil
.
info
(
"收到 AgvClient_EnterShelf ["
+
id
+
"] ["
+
rfid
+
"] ,设置 ["
+
box
.
Name
+
"] WaitShelfEnter = true"
);
box
.
WaitShelfEnter
=
true
;
break
;
}
...
...
source/LoadCVSLibrary/CSVReaderBase.cs
查看文件 @
df03242
...
...
@@ -149,7 +149,7 @@ namespace OnlineStore.LoadCSVLibrary
if
(
titleIndex
.
Count
<
cvsTitleList
.
Count
)
{
foreach
(
string
str
in
cvsTitleList
)
{
{
if
(!
titleIndex
.
ContainsKey
(
str
))
{
LogUtil
.
error
(
filename
+
":未找到必须列:"
+
str
+
",加载数据失败!"
);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论