Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSquareStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 49d836a1
由
LN
编写于
2024-07-30 17:33:11 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
出库完成调用接口
1 个父辈
bbd2fe00
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
71 行增加
和
42 行删除
source/DeviceLibrary/acSquareStore/Square_BoxBean_Partial.cs
source/DeviceLibrary/manager/HttpServer.cs
source/DeviceLibrary/acSquareStore/Square_BoxBean_Partial.cs
查看文件 @
49d836a
...
@@ -683,6 +683,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -683,6 +683,7 @@ namespace OnlineStore.DeviceLibrary
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_06_InoutToP1
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_06_InoutToP1
);
OutStoreLog
(
"出库: 叉子从库位返回,进出轴至P1(待机点)["
+
moveP
.
InOut_P1
+
"],更新状态=OutStoreBoxEnd, "
+
lastDoor
);
OutStoreLog
(
"出库: 叉子从库位返回,进出轴至P1(待机点)["
+
moveP
.
InOut_P1
+
"],更新状态=OutStoreBoxEnd, "
+
lastDoor
);
InOutBackToP1
(
moveP
.
InOut_P1
);
InOutBackToP1
(
moveP
.
InOut_P1
);
HttpServer
.
outStorageFeedback
(
posId
,
lastDoor
);
}
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_06_InoutToP1
)
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_06_InoutToP1
)
{
{
...
...
source/DeviceLibrary/manager/HttpServer.cs
查看文件 @
49d836a
...
@@ -21,51 +21,52 @@ namespace DeviceLibrary
...
@@ -21,51 +21,52 @@ namespace DeviceLibrary
private
static
string
Addr_inStorageFeedback
=
"/rest/api/v2/803/service/store/xl/inStorageFeedback"
;
//料箱放入库位完成, 通知极创
private
static
string
Addr_inStorageFeedback
=
"/rest/api/v2/803/service/store/xl/inStorageFeedback"
;
//料箱放入库位完成, 通知极创
private
static
string
Addr_outIsReady
=
"/rest/api/v2/803/service/store/xl/outIsReady"
;
//出库时查询接驳线体是否可以放料箱
private
static
string
Addr_outIsReady
=
"/rest/api/v2/803/service/store/xl/outIsReady"
;
//出库时查询接驳线体是否可以放料箱
private
static
string
Addr_ddjReleaseTheGoodsNotice
=
"/rest/api/v2/803/service/store/xl/ddjReleaseTheGoodsNotice"
;
//堆垛机放货完成反馈
private
static
string
Addr_ddjReleaseTheGoodsNotice
=
"/rest/api/v2/803/service/store/xl/ddjReleaseTheGoodsNotice"
;
//堆垛机放货完成反馈
private
static
string
Addr_outStorageFeedback
=
"/rest/api/v2/803/service/store/xl/outStorageFeedback"
;
//出仓位完成完成通知
// ## 入库:
// ## 入库:
// 1 定时通信data里面添加 boxCanPutIn1, boxCanPutIn2 字段表示箱子是否可放上入库线体, 值为字符串"TRUE"时表示可放, 其他为不可放
// 1 定时通信data里面添加 boxCanPutIn1, boxCanPutIn2 字段表示箱子是否可放上入库线体, 值为字符串"TRUE"时表示可放, 其他为不可放
// 2 堆垛机取货完成, 通知极创
// 2 堆垛机取货完成, 通知极创
// http://localhost/rest/api/v2/803/service/store/xl/ddjPickUpGoodsNotice
// http://localhost/rest/api/v2/803/service/store/xl/ddjPickUpGoodsNotice
// 请求参数:
// 请求参数:
// {
// {
// "posName": "库位号"
// "posName": "库位号"
// "door": "1或2"
// "door": "1或2"
// }
// }
// 返回结果
// 返回结果
// {"code":0,"msg":"ok","data":""}
// {"code":0,"msg":"ok","data":""}
// 3 料箱放入库位完成, 通知极创
// 3 料箱放入库位完成, 通知极创
// http://localhost/rest/api/v2/803/service/store/xl/inStorageFeedback
// http://localhost/rest/api/v2/803/service/store/xl/inStorageFeedback
// 请求参数:
// 请求参数:
// {
// {
// "posName": "库位号"
// "posName": "库位号"
// "door": "1或2"
// "door": "1或2"
// }
// }
//返回结果
//返回结果
// {"code":0,"msg":"ok","data":""}
// {"code":0,"msg":"ok","data":""}
// 4 出库时查询接驳线体是否可以放料箱
// 4 出库时查询接驳线体是否可以放料箱
// http://localhost/rest/api/v2/803/service/store/xl/outIsReady
// http://localhost/rest/api/v2/803/service/store/xl/outIsReady
// 请求参数:
// 请求参数:
// {
// {
// "cid": "001",
// "cid": "001",
// "posName": "库位号"
// "posName": "库位号"
// "door": "1或2"
// "door": "1或2"
// }
// }
// 返回结果
// 返回结果
// {"code":0,"msg":"ok","data":""}
// {"code":0,"msg":"ok","data":""}
// 5 堆垛机放货完成反馈
// 5 堆垛机放货完成反馈
// http://localhost/rest/api/v2/803/service/store/xl/ddjReleaseTheGoodsNotice
// http://localhost/rest/api/v2/803/service/store/xl/ddjReleaseTheGoodsNotice
// 请求参数:
// 请求参数:
// {
// {
// "posName": "库位号"
// "posName": "库位号"
// "door": "1或2"
// "door": "1或2"
// }
// }
// 返回结果
// 返回结果
// {"code":0,"msg":"ok","data":""}
// {"code":0,"msg":"ok","data":""}
private
static
string
GetAddr
(
string
addr
,
Dictionary
<
string
,
string
>
paramsMap
=
null
)
private
static
string
GetAddr
(
string
addr
,
Dictionary
<
string
,
string
>
paramsMap
=
null
)
...
@@ -244,6 +245,33 @@ namespace DeviceLibrary
...
@@ -244,6 +245,33 @@ namespace DeviceLibrary
paramMap
.
Add
(
"door"
,
door
.
ToString
());
paramMap
.
Add
(
"door"
,
door
.
ToString
());
return
PostJson
(
paramMap
,
Addr_ddjReleaseTheGoodsNotice
,
"ddjReleaseTheGoodsNotice"
,
true
);
return
PostJson
(
paramMap
,
Addr_ddjReleaseTheGoodsNotice
,
"ddjReleaseTheGoodsNotice"
,
true
);
}
}
/// <summary>
/// 出仓位完成通知
/// </summary>
/// <param name="posName"></param>
/// <returns></returns>
public
static
string
outStorageFeedback
(
string
posName
,
int
door
)
{
//5 堆垛机放货完成反馈
//http://localhost/rest/api/v2/803/service/store/xl/outStorageFeedback
//请求参数:
//{
//"posName":"CB001"
//door
//}
//返回结果
//{"code":0,"msg":"ok","data":""}
Dictionary
<
string
,
string
>
paramMap
=
new
Dictionary
<
string
,
string
>();
paramMap
.
Add
(
"posName"
,
posName
);
paramMap
.
Add
(
"door"
,
door
.
ToString
());
return
PostJson
(
paramMap
,
Addr_outStorageFeedback
,
"outStorageFeedback"
,
true
);
}
}
}
public
class
ResultData
public
class
ResultData
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论