using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using HHWMS.Web.Models;
namespace HHWMS.Web
{
///
/// AGV 平库任务搜索条件(任务列表页:任务号/起终点/容器模糊,来源/状态精确)
///
public partial class AgvTaskSearcher : BaseSearcher
{
/// 来源系统下拉选项(WMS / THIRD_PARTY)
public List 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
{
new ComboSelectListItem { Value = "WMS", Text = "WMS" },
new ComboSelectListItem { Value = "THIRD_PARTY", Text = "THIRD_PARTY" }
};
}
}
}