Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-ACPackingStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 66de4f21
由
LN
编写于
2020-04-23 15:00:39 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
bug修改
1 个父辈
dd216c24
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
12 行增加
和
22 行删除
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Partial.cs
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Shelf.cs
source/DeviceLibrary/agvClient/AgvClient.cs
source/DeviceLibrary/store/InOutParam.cs
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Partial.cs
查看文件 @
66de4f2
...
...
@@ -262,8 +262,6 @@ namespace OnlineStore.DeviceLibrary
LogUtil
.
error
(
Name
+
" 启动入库【"
+
param
.
ToStr
()
+
"】出错,找不到库位信息"
);
return
;
}
//param.NeedEnterShelf = false;
//param.NeedOutShelf = false;
LogInfo
(
" 启动入库【"
+
param
.
ToStr
()
+
"】,压紧点P2【"
+
param
.
MoveP
.
ComPress_P2
+
"】压紧前点P3【"
+
param
.
MoveP
.
ComPress_P3
+
"】"
);
storeRunStatus
=
StoreRunStatus
.
Busy
;
storeStatus
=
StoreStatus
.
InStoreExecute
;
...
...
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Shelf.cs
查看文件 @
66de4f2
...
...
@@ -112,7 +112,7 @@ namespace OnlineStore.DeviceLibrary
if
(
CurrShelfID
.
EndsWith
(
"00"
)
&&
MoveInfo
.
MoveType
.
Equals
(
StoreMoveType
.
OutStore
))
{
LogInfo
(
" 执行出库【"
+
MoveInfo
.
MoveParam
.
ToStr
()
+
"】失败,料架号["
+
CurrShelfID
+
"]无效,加入等待队列"
);
waitOutStoreList
.
Enqueue
(
MoveInfo
.
MoveParam
);
waitOutStoreList
.
Enqueue
(
MoveInfo
.
MoveParam
.
NewParam
()
);
LogUtil
.
error
(
Name
+
"出库 料架号["
+
CurrShelfID
+
"]无效,送出料架,稍后重新出库"
);
MoveInfo
.
MoveParam
.
rfid
=
CurrShelfID
;
...
...
source/DeviceLibrary/agvClient/AgvClient.cs
查看文件 @
66de4f2
...
...
@@ -73,9 +73,13 @@ namespace OnlineStore.DeviceLibrary
agvClient
.
CancelState
=
isCancel
;
LogUtil
.
info
(
"设置 agvClient.CancelState = "
+
isCancel
);
}
public
static
bool
getState
()
public
static
string
getState
()
{
return
agvClient
.
CancelState
;
if
(
agvClient
==
null
)
{
return
""
;
}
return
agvClient
.
CancelState
.
ToString
();
}
public
static
Dictionary
<
string
,
DateTime
>
closeDoorTimeMap
=
new
Dictionary
<
string
,
DateTime
>();
private
static
void
AgvClient_CloseDoor
(
string
id
,
string
rfid
)
...
...
source/DeviceLibrary/store/InOutParam.cs
查看文件 @
66de4f2
...
...
@@ -15,12 +15,6 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
public
class
InOutParam
{
// public static readonly ILog log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
//public InOutParam()
//{
// this.WareCode = "";
// MoveP = null;
//}
public
InOutParam
(
string
wareNo
=
""
,
string
posId
=
""
,
string
ShelfPosID
=
""
,
string
platew
=
""
,
string
plateh
=
""
,
bool
urgentReel
=
false
,
bool
cutReel
=
false
,
bool
smallReel
=
false
,
string
rfid
=
""
,
int
rfidLoc
=
0
,
int
taskCount
=
0
,
string
realRfid
=
""
)
{
this
.
ShelfPosID
=
ShelfPosID
;
...
...
@@ -54,6 +48,11 @@ namespace OnlineStore.DeviceLibrary
this
.
realRfid
=
""
;
}
public
InOutParam
NewParam
()
{
InOutParam
newp
=
new
InOutParam
(
WareCode
,
PosID
,
ShelfPosID
,
PlateW
,
PlateH
,
urgentReel
,
cutReel
,
smallReel
,
rfid
,
rfidLoc
,
taskCount
,
realRfid
);
return
newp
;
}
/// <summary>
/// 物品二维码信息
/// </summary>
...
...
@@ -76,15 +75,6 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
public
string
PlateW
{
get
;
set
;
}
///// <summary>
///// 出入库时需要进入新料架
///// </summary>
//public bool NeedEnterShelf = true;
///// <summary>
///// 出入库结束后需要将料架送出
///// </summary>
//public bool NeedOutShelf = true;
/// <summary>
/// urgentReel: true 表示紧急料,需要出到料串上
/// </summary>
...
...
@@ -156,7 +146,6 @@ namespace OnlineStore.DeviceLibrary
public
string
ToStr
()
{
return
" 库位 ["
+
PosID
+
"] ["
+
ShelfPosID
+
"], ["
+
WareCode
+
"], ["
+
PlateW
+
"x"
+
PlateH
+
"] ,"
+
// "NeedEnterShelf【" + NeedEnterShelf + "】NeedOutShelf【" + NeedOutShelf + "】"+
"urgentReel ["
+
urgentReel
+
"],cutReel ["
+
cutReel
+
"],smallReel ["
+
smallReel
+
"],rfid ["
+
rfid
+
"],rfidLoc ["
+
rfidLoc
+
"],taskCount ["
+
taskCount
+
"]"
;
}
public
string
ToShortStr
()
...
...
@@ -193,7 +182,6 @@ namespace OnlineStore.DeviceLibrary
LogUtil
.
error
(
"GetPositon["
+
posId
+
"] =null,没有库位不能执行出入库"
);
}
// MoveP.InOut_P11= position.InOutAxis_P11;
MoveP
.
ComPress_P2
=
comP2
;
MoveP
.
ComPress_P3
=
comP3
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论