using System;

namespace Siger.Middlelayer.Dapper.ResultData
{
    public class CncSliceSate: ResultEntityBase
    {
        public int MachineID { get; set; }

        public DateTime StartTime { get; set; }

        public DateTime EndTime { get; set; }

        /// <summary>
        /// //0 关机 1 运行 2 调试 3 空闲 4 故障
        /// </summary>
        public int Status { get; set; }

        public DateTime UpdateTime { get; set; }

        public int WordingModeId { get; set; }

        public string WordingName { get; set; }

        public int IsException { get; set; }

        public string UserName { get; set; }

        public string Remark { get; set; }

        public int GroupBy { get; set; }

        public int Seconds { get; set; }
    }

    public enum StatusCategory
    {
        Default, // 0：关机 1：运行 2：调试 3：空闲 4：报警

        HasChangeLine, // 5：换线调试 

        HasGrinding, // 6：磨削 7：整修 8：非磨削
    }
}
