灭菌线、信号变更

This commit is contained in:
2024-07-16 12:45:35 +08:00
parent 1f5dfa5a2e
commit bfc22c7326
5 changed files with 265 additions and 24 deletions

View File

@@ -0,0 +1,52 @@
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.WarehouseMgr.Entities.Entity;
/// <summary>
/// 四楼静置仓配置
/// </summary>
[SugarTable("wms_floor4stewing_config")]
public partial class WmsFloor4stewingConfig : BaseEntity<string>
{
public WmsFloor4stewingConfig()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 配置项
/// </summary>
public string? name { get; set; }
/// <summary>
/// 值
/// </summary>
public string? value { get; set; }
/// <summary>
/// 创建用户
/// </summary>
public string? create_id { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? create_time { get; set; }
/// <summary>
/// 修改用户
/// </summary>
public string? modify_id { get; set; }
/// <summary>
/// 修改时间
/// </summary>
public DateTime? modify_time { get; set; }
/// <summary>
/// 所属组织
/// </summary>
public string? org_id { get; set; }
}

View File

@@ -0,0 +1,92 @@
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.WarehouseMgr.Entities.Entity;
/// <summary>
/// 灭菌入库记录
/// </summary>
[SugarTable("wms_sterilization_instock_h")]
public partial class WmsSterilizationInstockH : BaseEntity<string>
{
public WmsSterilizationInstockH()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 创建用户
/// </summary>
public string? create_id { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? create_time { get; set; }
/// <summary>
/// 所属组织
/// </summary>
public string? org_id { get; set; }
/// <summary>
/// 载具id
/// </summary>
public string? carry_id { get; set; }
/// <summary>
/// 载具编码
/// </summary>
public string? carry_code { get; set; }
/// <summary>
/// 入库时间
/// </summary>
public DateTime? instock_time { get; set; }
/// <summary>
/// 入库库位id
/// </summary>
public string? location_id { get; set; }
/// <summary>
/// 入库库位编码
/// </summary>
public string? location_code { get; set; }
/// <summary>
/// 修改用户
/// </summary>
public string? modify_id { get; set; }
/// <summary>
/// 修改时间
/// </summary>
public DateTime? modify_time { get; set; }
/// <summary>
/// 下料库位id
/// </summary>
public string? xl_location_id { get; set; }
/// <summary>
/// 下料库位编码
/// </summary>
public string? xl_location_code { get; set; }
/// <summary>
/// 成品仓库位id
/// </summary>
public string? cp_location_id { get; set; }
/// <summary>
/// 成品仓库位编码
/// </summary>
public string? cp_location_code { get; set; }
/// <summary>
/// 状态
/// </summary>
public string? status { get; set; }
}

View File

@@ -657,10 +657,11 @@ namespace Tnb.WarehouseMgr
Logger.Information($"【Check】 判断KIVA是否可以{action} {code}");
Dictionary<string, string[]> putdic = new Dictionary<string, string[]>();
Dictionary<string, string[]> getdic = new Dictionary<string, string[]>();
putdic.Add("ZSSSXCTU02", new string[] { "YTCS", "右输送线下层允许入箱4", });
putdic.Add("ZSSSXCTU01", new string[] { "YTCS", "左输送线下层允许入箱2", });
getdic.Add("ZSSSXCTU01", new string[] { "YTCS", "左输送线上层允许出箱1" });
getdic.Add("ZSSSXCTU02", new string[] { "YTCS", "右输送线上层允许出箱3" });
putdic.Add("ZSSSXCTU02", new string[] { "YTCS", "AllowAgvFullIn_CS04", });
putdic.Add("ZSSSXCTU01", new string[] { "YTCS", "AllowAgvFullIn_CS02", });
getdic.Add("ZSSSXCTU01", new string[] { "YTCS", "AllowAgvEmptyOut_CS01" });
getdic.Add("ZSSSXCTU02", new string[] { "YTCS", "AllowAgvEmptyOut_CS03" });
#region
putdic.Add("ZS-C01-1", new string[] { "hxjC", "A2允许入空箱", });