using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.ToolRepository.Request
{
    public class RequestGetToolAlarmStatisticsInfo
    {
        [Required(ErrorMessage = "EmailIsEmpty")]
        public int sectionid { get; set; }
        [Required(ErrorMessage = "TimeSpanNotNull")]
        public string time_span { get; set; }

        public int alarm_grade { get; set; }
    }
    public class RequestToolalarm
    {
        public int machine { get; set; }
        public string spindle { get; set; }
        public string toolno { get; set; }
        public string program { get; set; }
        /// <summary>
        /// 报警实际
        /// </summary>
        public string time { get; set; }
        /// <summary>
        /// 刀具实际状态
        /// </summary>
        public int tool_state { get; set; }
    }
}
