Board2VM.cs 1.26 KB
namespace DataAcquisition.ViewModels.Board
{
    /// <summary>
    /// 展会看板接口
    /// </summary>
    public class Board2VM
    {
        public RobotDto Robot1 { get; set; } = null!;

        public RobotDto Robot2 { get; set; } = null!;

        public RobotDto Robot3 { get; set; } = null!;

        public RobotDto Robot4 { get; set; } = null!;

        public RobotDto Robot5 { get; set; } = null!;

        public RobotDto Robot6 { get; set; } = null!;
    }

    public class RobotDto
    {
        /// <summary>
        /// 设备编号
        /// </summary>
        public string RobotCode { get; set; } = null!;

        /// <summary>
        /// 设备名称
        /// </summary>
        public string RobotName { get; set; } = null!;

        /// <summary>
        /// 本月完成件
        /// </summary>
        public int CompleteCount { get; set; }

        /// <summary>
        /// 本月工作时间
        /// </summary>
        public double WorkTime { get; set; }

        /// <summary>
        /// 本月焊丝消耗
        /// </summary>
        public double MonthWeld { get; set; }

        /// <summary>
        /// 燃弧率图表
        /// </summary>
        public List<BoardChart> Charts { get; set; } = new List<BoardChart>();
    }
}