64 lines
1.4 KiB
C#
64 lines
1.4 KiB
C#
|
|
using DataCheck;
|
|||
|
|
using System.Text.Json.Serialization;
|
|||
|
|
|
|||
|
|
namespace WcsMain.ApiServe.Controllers.Dto.WcsDto.Stacker;
|
|||
|
|
|
|||
|
|
|
|||
|
|
public class EditStackerRequest
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 设备编号
|
|||
|
|
/// </summary>
|
|||
|
|
[DataRules]
|
|||
|
|
[JsonPropertyName("stackerId")]
|
|||
|
|
public int? StackerId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 堆垛机名称
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("stackerName")]
|
|||
|
|
public string? StackerName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 堆垛机状态
|
|||
|
|
/// </summary>
|
|||
|
|
/// <remarks>
|
|||
|
|
/// 0 - 禁用
|
|||
|
|
/// 1 - 启用
|
|||
|
|
/// </remarks>
|
|||
|
|
[DataRules]
|
|||
|
|
[JsonPropertyName("stackerStatus")]
|
|||
|
|
public int? StackerStatus { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 货叉状态
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("forkStatus")]
|
|||
|
|
public string? ForkStatus { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 控制该堆垛机的PLC
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("actionPlc")]
|
|||
|
|
public int? ActionPlc { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 入库站台,格式 : 101-102-103
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("inStand")]
|
|||
|
|
public string? InStand { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库站台,格式 : 101-102-103
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("outStand")]
|
|||
|
|
public string? OutStand { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 备注
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("remark")]
|
|||
|
|
public string? Remark { get; set; }
|
|||
|
|
}
|