45 lines
1.4 KiB
C#
45 lines
1.4 KiB
C#
using System.Collections.Generic;
|
||
using System.ComponentModel.DataAnnotations;
|
||
using WalkingTec.Mvvm.Core;
|
||
using HHWMS.Web.Models;
|
||
|
||
namespace HHWMS.Web
|
||
{
|
||
/// <summary>
|
||
/// AGV 平库任务搜索条件(任务列表页:任务号/起终点/容器模糊,来源/状态精确)
|
||
/// </summary>
|
||
public partial class AgvTaskSearcher : BaseSearcher
|
||
{
|
||
/// <summary>来源系统下拉选项(WMS / THIRD_PARTY)</summary>
|
||
public List<ComboSelectListItem> AllSourceSystems { get; set; }
|
||
|
||
[Display(Name = "AGV.TaskNo")]
|
||
public string TaskNo { get; set; }
|
||
|
||
[Display(Name = "AGV.FromLocation")]
|
||
public string FromLocation { get; set; }
|
||
|
||
[Display(Name = "AGV.ToLocation")]
|
||
public string ToLocation { get; set; }
|
||
|
||
[Display(Name = "AGV.ContainerCode")]
|
||
public string ContainerCode { get; set; }
|
||
|
||
[Display(Name = "AGV.SourceSystem")]
|
||
public string SourceSystem { get; set; }
|
||
|
||
[Display(Name = "AGV.AgvStatus")]
|
||
public AgvTaskStatusEnum? AgvStatus { get; set; }
|
||
|
||
protected override void InitVM()
|
||
{
|
||
// 来源系统固定枚举下拉
|
||
AllSourceSystems = new List<ComboSelectListItem>
|
||
{
|
||
new ComboSelectListItem { Value = "WMS", Text = "WMS" },
|
||
new ComboSelectListItem { Value = "THIRD_PARTY", Text = "THIRD_PARTY" }
|
||
};
|
||
}
|
||
}
|
||
}
|