using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.CncRepository.Response
{
    public class ResponseMachineBeatAnalysis
    {
        public int id { get; set; }

        public int machine_id { get; set; }

        public string machine_name { get; set; }

        public int state { get; set; }

        public string state_name { get; set; } = string.Empty;

        public string product_name { get; set; } = string.Empty;

        public string drawcode { get; set; } = string.Empty;

        public string route_name { get; set; } = string.Empty;

        public int section_id { get; set; }

        public string section_name { get; set; } = string.Empty;

        public int workgroup_id { get; set; }

        public string workgroup_name { get; set; } = string.Empty;

        public int user_mid { get; set; }

        public string user_name { get; set; } = string.Empty;

        public DateTime start { get; set; }

        public DateTime? end { get; set; }

        public string start_time { get; set; } = string.Empty;

        public string end_time { get; set; } = string.Empty;

        public double seconds { get; set; } = 0;
    }

    public class MachineBeatAnalysis
    {
        public string machine_name { get; set; }

        public string location { get; set; } = string.Empty;

        public string user_name { get; set; } = string.Empty;

        public string product_name { get; set; } = string.Empty;

        public string route_name { get; set; } = string.Empty;

        public string drawcode { get; set; } = string.Empty;

        public double actual_beat { get; set; } = 0;

        public double actual_updown { get; set; } = 0;

        public string start_time { get; set; } = string.Empty;

        public string end_time { get; set; } = string.Empty;
    }
}
