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,71 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models.Agv
|
||||
{
|
||||
/// <summary>
|
||||
/// AGV 任务场景配置:映射"客户(甲方/MES)字符串任务类型 -> AGV 场景"
|
||||
/// 对应《平库AGV方案流程(AGV自调度版).md》5.6 / 10.2 DDL 第 3 段
|
||||
/// </summary>
|
||||
[Index(nameof(SourceTaskType), IsUnique = true)]
|
||||
[Table("AgvTaskSceneConfig")]
|
||||
public class AgvTaskSceneConfig : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上游字符串任务类型(映射主键,如 RAW_IN)
|
||||
/// </summary>
|
||||
[Display(Name = "AGV.SourceTaskType", Description = "上游任务类型(映射主键)")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public string SourceTaskType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内部业务类型(AgvTaskTypeEnum 1~6,必填)
|
||||
/// </summary>
|
||||
[Display(Name = "AGV.AgvTaskType", Description = "内部业务类型")]
|
||||
public AgvTaskTypeEnum AgvTaskType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// AGV 场景 ID(不写死,现场调整只改配置)
|
||||
/// </summary>
|
||||
[Display(Name = "AGV.SceneId", Description = "AGV场景ID")]
|
||||
[StringLength(64, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public string SceneId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// AGV 场景名称
|
||||
/// </summary>
|
||||
[Display(Name = "AGV.SceneName", Description = "AGV场景名称")]
|
||||
[StringLength(64, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string SceneName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 取货动作名(默认 Load)
|
||||
/// </summary>
|
||||
[Display(Name = "AGV.BinTaskLoad", Description = "取货动作名")]
|
||||
[StringLength(32, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string BinTaskLoad { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 放货动作名(默认 Unload)
|
||||
/// </summary>
|
||||
[Display(Name = "AGV.BinTaskUnload", Description = "放货动作名")]
|
||||
[StringLength(32, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string BinTaskUnload { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Display(Name = "AGV.Remark", Description = "备注")]
|
||||
[StringLength(255, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user