fix:永丰售后修复BUG,
1,物料库存获取不到ERP:重新调整触发查询逻辑 2,工序变更导致物料无法出库:配置旧工序 3,测试出库订单ERP推送,任务下发
This commit is contained in:
1 parent
b2a9a38f38
commit
c76e7bb681
69 files changed
+5510
-157
No files matched your search
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
|
||||
namespace HHWMS.Web.Models.Agv
|
||||
{
|
||||
/// <summary>
|
||||
/// AGV 平库任务配置项(对应 appsettings.json 顶层 AgvOption 节点)
|
||||
/// 参考《平库AGV方案流程(AGV自调度版).md》10.5
|
||||
/// </summary>
|
||||
public class AgvOption
|
||||
{
|
||||
/// <summary>
|
||||
/// 模块总开关:false 时接单/回调接口统一拒绝并提示(灰度/紧急停用,不影响立库)
|
||||
/// </summary>
|
||||
public bool Enabled { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Mock 模式:不联网、直接返回约定成功报文,开发/联调用(无 AGV 可用)
|
||||
/// </summary>
|
||||
public bool MockEnabled { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 对外调用超时(秒),默认 15s
|
||||
/// </summary>
|
||||
public int CallTimeoutSeconds { get; set; } = 15;
|
||||
|
||||
/// <summary>
|
||||
/// 锁持有告警阈值(分钟):超时任务页面标红,由人工决定取消/继续等待
|
||||
/// </summary>
|
||||
public int LockTimeoutMinutes { get; set; } = 60;
|
||||
|
||||
/// <summary>
|
||||
/// 超时监控阈值(分钟):超时监控 Job 周期扫描的判定线
|
||||
/// </summary>
|
||||
public int TimeoutMonitorMinutes { get; set; } = 30;
|
||||
|
||||
/// <summary>
|
||||
/// 对账 Job 开关(默认关闭;开启后周期扫描已下发/执行中超时任务并查询 AGV 状态)
|
||||
/// </summary>
|
||||
public bool ReconcileEnabled { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 对账周期(分钟)
|
||||
/// </summary>
|
||||
public int ReconcileMinutes { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// AGV 联动写库存的系统账号(必须是真实存在的 FrameworkUser.ITCode,见方案 8.3)
|
||||
/// </summary>
|
||||
public string SysUser { get; set; } = "system";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user