using System;

namespace CncModels.Dto.Dashboard
{
    /// <summary>
    /// 仪表盘总览数据
    /// </summary>
    public class DashboardSummaryResponse
    {
        /// <summary>在线机床数量</summary>
        public int OnlineCount { get; set; }

        /// <summary>总机床数量</summary>
        public int TotalMachines { get; set; }

        /// <summary>今日产量（件）</summary>
        public int TodayProduction { get; set; }

        /// <summary>活跃告警数量</summary>
        public int ActiveAlerts { get; set; }

        /// <summary>采集成功率（百分比，小数不放大）</summary>
        public decimal CollectSuccessRate { get; set; }

        /// <summary>正在运行的机床数量</summary>
        public int RunningMachines { get; set; }

        /// <summary>数据缺失机床数量</summary>
        public int DataMissingMachines { get; set; }
    }
}
