using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Siger.ApiCNC.Result
{
    public class MachineAlarmDetailResult
    {
        public Dictionary<int, object> ProductionParameterLis { get; set; }

        public int exceptionCount { get; set; }

        public int normalCount { get; set; }

        public MachineAlarmDetailResult()
        {
            ProductionParameterLis = new Dictionary<int, object>();
        }
    }

    public class MachineAlarmDetailInfo
    {
        public string AlarmCode { get; set; }

        public string AlarmContent { get; set; }

        public string EndTime { get; set; }

        public string FaultType { get; set; }

        public int MachineId { get; set; }

        public string StartTime { get; set; }

        public string active { get; set; }

        public string fault_content { get; set; }

        public string fault_reason { get; set; }

        public string fault_solution { get; set; }

        public int row_count { get; set; }

        public int section_id { get; set; }

        public string section_name { get; set; }

        public string station_name { get; set; }

        public string time_span { get; set; }

        public int isfault { get; set; }
    }

    public class AllMachine
    {

        public int id { get; set; }

        public int mid { get; set; }

        public int pid { get; set; }

        public string pname { get; set; }
        public int cid { get; set; }
        public string cname { get; set; }
        public string code { get; set; }
        /// <summary>
        /// 设备型号
        /// </summary>
        public string model { get; set; }

    
    }

   
}
