1、任务执行新增,更具目标库位判断是否为电梯库位进行呼梯操作

2、放货确认接口新增代码逻辑
This commit is contained in:
alex
2023-09-27 17:58:13 +08:00
parent c34762b0b3
commit 471d614cf2
12 changed files with 489 additions and 166 deletions

View File

@@ -1,4 +1,5 @@
using JNPF.Common.Contracts;
using System.Security.Principal;
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
@@ -88,5 +89,13 @@ public partial class WmsElevatorH : BaseEntity<string>
/// 时间戳(用于并发控制)
/// </summary>
public DateTime? timestamp { get; set; }
/// <summary>
/// 门状态
/// </summary>
public int door_status { get; set; }
/// <summary>
/// 当前电梯所在楼层
/// </summary>
public int current_floor { get; set; }
}

View File

@@ -0,0 +1,47 @@
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.WarehouseMgr.Entities;
/// <summary>
///
/// </summary>
[SugarTable("wms_elevator_unexecute")]
public partial class WmsElevatorUnexecute : BaseEntity<string>
{
public WmsElevatorUnexecute()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 电梯Id
/// </summary>
public string? elevator_id { get; set; }
/// <summary>
/// 电梯编号
/// </summary>
public string? elevator_code { get; set; }
/// <summary>
/// 目标楼层
/// </summary>
public int? floor { get; set; }
/// <summary>
/// 任务状态
/// </summary>
public string? task_status { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string? create_id { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? create_time { get; set; }
}