31 lines
663 B
C#
31 lines
663 B
C#
|
|
using System.Text.Json.Serialization;
|
|||
|
|
using DataCheck;
|
|||
|
|
|
|||
|
|
namespace WcsMain.ApiServe.Controllers.Dto.WcsDto.WcsTask;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新 wcs 任务状态请求类
|
|||
|
|
/// </summary>
|
|||
|
|
public class UpdateWcsTaskStatusRequest
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// plc任务号
|
|||
|
|
/// </summary>
|
|||
|
|
[DataRules]
|
|||
|
|
[JsonPropertyName("plcId")]
|
|||
|
|
public int? PlcId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 状态
|
|||
|
|
/// </summary>
|
|||
|
|
[DataRules]
|
|||
|
|
[JsonPropertyName("taskStatus")]
|
|||
|
|
public int? TaskStatus { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 优先级
|
|||
|
|
/// </summary>
|
|||
|
|
[DataRules]
|
|||
|
|
[JsonPropertyName("priority")]
|
|||
|
|
public int? Priority { get; set; }
|
|||
|
|
}
|