feat: 重构 AGV 对接与在制品查询,新增 PLC 手动监控功能
This commit is contained in:
@@ -75,15 +75,14 @@ type PlcConf struct {
|
||||
DoneBit int `json:",default=-1"`
|
||||
}
|
||||
|
||||
// AgvConf 海康 AGV(RCS-2000) 调度系统对接(2026-10-14 由 WMS 迁至 MES 为唯一真源)。
|
||||
// 未配置 appKey/appSecret/RCS 地址 或 EnableMock=true 时,使用 mock 客户端(模拟下发成功/到位),便于离线联调。
|
||||
// AgvConf 海康 AGV(RCS-Lite V1.5) 调度系统对接(2026-10-17 由 RCS-2000 改为 RCS-Lite 1.5)。
|
||||
// RCS-Lite 无签名鉴权;未配置 BaseURL 或 EnableMock=true 时,使用 mock 客户端(模拟下发成功/到位),便于离线联调。
|
||||
type AgvConf struct {
|
||||
EnableMock bool `json:",default=true"` // 是否模拟(未接真实 RCS 前保持 true)
|
||||
BaseURL string `json:",default=http://127.0.0.1:1010/rcs/rtas"` // RCS 服务前缀,如 http://10.10.10.10:1010/rcs/rtas
|
||||
AppKey string `json:",default=unset"` // RCS 颁发给业务系统的应用标识
|
||||
AppSecret string `json:",default=unset"` // RCS 应用私钥
|
||||
CarrierCode string `json:",default=DEFAULT"` // 默认载具/托盘编号(选填)
|
||||
PollInterval int `json:",default=10"` // 任务状态轮询间隔(秒)
|
||||
EnableMock bool `json:",default=true"` // 是否模拟(未接真实 RCS-Lite 前保持 true)
|
||||
BaseURL string `json:",default=http://127.0.0.1:8182/rCMS/services/rest/hikRpcService"` // RCS-Lite 服务地址(含 /rCMS/services/rest/hikRpcService,默认端口 8182)
|
||||
CarrierCode string `json:",default=DEFAULT"` // 默认载具/托盘编号(选填,下发时作为 podCode)
|
||||
MapCode string `json:",default="` // 地图编号(选填,RCS-Lite 多地图场景使用)
|
||||
Priority string `json:",default=1"` // 任务优先级(字符串 1-127,默认 1)
|
||||
}
|
||||
|
||||
// UploadConf 附件统一存储配置。
|
||||
|
||||
Reference in New Issue
Block a user