using System.ComponentModel.DataAnnotations;
using Siger.Middlelayer.Repository.Request;

namespace Siger.Middlelayer.CncRepository.Request
{
    public class RequestWorkingModeList : RequestPageBase
    {
        public string machineFtype1 { get; set; }

        public string machineCtype1 { get; set; }
    }

    public class RequestWorkingModeAnalysis
    {
        public string xID { get; set; }

        public string yID { get; set; }

        public string errType { get; set; }

        public string patchID { get; set; }

        public string sectionID { get; set; }

        [Required(ErrorMessage = "StartTimeIsEmpty")]
        public string startTime { get; set; }

        [Required(ErrorMessage = "EndTimeIsEmpty")]
        public string endTime { get; set; }

        public int toexcel { get; set; } = 0;

        public string parent_mode { get; set; }

        public string working_mode { get; set; }
    }

    public class RequestWorkingModeAnalysisTwo
    {
        public string xID { get; set; }

        public string yID { get; set; }

        public string errType { get; set; }

        public string patchID { get; set; }

        public string sectionID { get; set; }

        public string startTime { get; set; }

        public string endTime { get; set; }

        public int toexcel { get; set; } = 0;

        public string parent_mode { get; set; }

        public string working_mode { get; set; }
        public int frequency { get; set; }
    }
    public class RequestGetModesByParents
    {
        public string parentIds { get; set; }
    }
}
