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

namespace Siger.Middlelayer.Share.Models
{
    public class MachineState
    {
        public double FeedRatio { get; set; } = 0;

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

        public int MachineId { get; set; }

        public int section_id { get; set; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public int HoldTime { get; set; }

        public int x { get; set; }

        public int y { get; set; }

        public List<MachineStatusSummarys> machinestatus { get; set; }
    }
    public class MachineStatusSummarys
    {
        public int status { get; set; }

        public double time { get; set; }

        public string percent { get; set; }
    }
    public class RequestSectionList
    {
        public List<MachineState> listmst { get; set; }

        public List<int> sectionIds { get; set; }
    }

    public class MachineIdList
    {
        public int MachineId { get; set; }

        public int section_id { get; set; }
    }
}
