Log_AgvErrMsg.cs 1.44 KB
using RCS.Model.Comm;
using RCS.Model.Entity.PrimaryKey;
using System.ComponentModel.DataAnnotations.Schema;

namespace RCS.Model.Entity
{
    [Table("t_log_agverrmsg")]
    public class Log_AgvErrMsg : IdEntity
    {
        /// <summary>
        /// 异常任务号
        /// </summary>
        public string? TaskNo { get; set; }
        public uint? SubTaskNo { get; set; }

        /// <summary>
        /// 异常AGV编号
        /// </summary>
        public string AgvNo { get; set; }

        /// <summary>
        /// 异常时agv状态
        /// </summary>
        public EnumMsg.AGVState AgvState { get; set; }
        /// <summary>
        /// 异常码值
        /// </summary>
        public string? Barcode { get; set; }

        /// <summary>
        /// 异常信息
        /// </summary>
        public string ErrorMsg { get; set; }

        /// <summary>
        /// 异常开始时间
        /// </summary>
        public DateTime? StartErrTime { get; set; }

        /// <summary>
        /// 异常更新时间
        /// </summary>
        public DateTime? UpdateErrTime { get; set; }

        /// <summary>
        /// 异常结束时间
        /// </summary>
        public DateTime? EndErrTime { get; set; }

        /// <summary>
        /// 数据是否已经插入
        /// </summary>
        [NotMapped]
        public bool IsInsert { get; set; }
        [NotMapped]

        public Base_Agv? ErrorAGV { get; set; }
    }
}