using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace WCS_Client.Models
{
public enum AGVWKSTATUSEnum
{
未执行 = 0,
已下发 = 2,
AGV接货后输送中 = 3,
AGV到达输送线终点 = 4,
AGV滚筒转动 = 5,
输送线滚筒线转动 = 6,
AGV到达输送线终点地址 = 7,
输送线滚筒已经转动 = 8,
立体库输送线接货完成 = 9,
任务完成 = 99,
取消任务 = 106
}
public class WCS_AGVTASKS
{
///
/// 任务号
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public string TASKNO { get; set; }
///
/// WMS任务号
///
public string WMSTASKNO { get; set; }
///
/// 任务类型(2.入库 1.出库)
///
public string TASKTYPE { get; set; }
///
/// ID
///
public int ID { get; set; }
///
/// 目标车间
///
public int Workshop { get; set; }
///
/// 料车条码
///
public string MATCARCODE { get; set; }
///
/// 料箱条码(最多三个料箱)
///
public string GOODSCODE { get; set; }
///
/// 起点地址(上料)
///
public string STARTPOS { get; set; }
///
/// 终点地址(下料)
///
public string ENDPOS { get; set; }
///
/// 优先级
///
public int PRIORITY { get; set; }
///
/// 状态(0.未执行;2.已下发;3.AGV接货后输送中;4.AGV到达输送线终点;5.AGV滚筒转动;6.输送线滚筒线转动;7.AGV到达输送线终点地址;
/// 8.输送线滚筒已经转动;9.立体库输送线接货完成;99.任务完成;106.取消任务)
///
public int WKSTATUS { get; set; }
///
/// 任务生成系统(WCS)
///
public string CREATESYSTEM { get; set; }
///
/// 创建人
///
public string CREATEUSER { get; set; }
///
/// 创建时间
///
public DateTime CREATEDATE { get; set; }
///
/// 任务更新系统
///
public string UPDATESYSTEM { get; set; }
///
/// 任务更新人
///
public string UPDATEUSER { get; set; }
///
/// 任务更新时间
///
public DateTime UPDATEDATE { get; set; }
public string NOTES { get; set; }
}
}