using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime;
using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.CncRepository.Response
{
    public class ReponseRecord
    {
        /// <summary>
        /// 设备位置
        /// </summary>
        public string machinesolution { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string work_code { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public int name { get; set; }
        public int machine { get; set; }
        public string named { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int section { get; set; }
        public int station { get; set; }
        public string sectioned { get; set; }
        /// <summary>
        /// 岗位
        /// </summary>
        public string usergroup { get; set; }
        /// <summary>
        /// 班别
        /// </summary>
        public string shift { get; set; }
        public int shiftid { get; set; }
        /// <summary>
        /// 上工时间
        /// </summary>
        public DateTime starttime { get; set; }
        /// <summary>
        /// 下班时间
        /// </summary>
        public DateTime endtime { get; set; }
        /// <summary>
        /// 作业工时 秒
        /// </summary>
        public double workinghour { get; set; }
        /// <summary>
        /// 产线层级
        /// </summary>
        public string stationLine { get; set; }

        public string clockin { get; set; }
        public string clockout { get; set; }
    }


    public class ResponseClockDets
    {
        public string location { get; set; }
        public int machine { get; set; }
        public DateTime startime { get; set; }
        public DateTime endtime { get; set; }

        public string clockin { get; set; }
        public string clockout { get; set; }
        public double wrokhours { get; set; }
        public int uid { get; set; }
        public int shift { get; set; }
    }
}
