EquipmentHealthVM.cs 1.39 KB
using System;

namespace Hh.Mes.POJO.ViewModel.Equipment
{
    /// <summary>
    /// 设备健康
    /// </summary>
    public class EquipmentHealthVM
    {
        public EquipmentStatusDto EquipmentStatus { get; set; }
    }

    public class EquipmentStatusDto
    {
		/// <summary>
		/// 当天开机时间【秒】
		/// </summary>
		public double TodayPowerTime { get; set; }

		/// <summary>
		/// 本月开机时间 【秒】
		/// </summary>
		public double CurrentMonthPowerTime { get; set; }

        /// <summary> 
        /// 空闲时间 秒
        /// </summary>
        public double FreeTime { get; set; }

        /// <summary>
        /// 空闲占比
        /// </summary>
        public double FreeProportion { get; set; }

        /// <summary>
        /// 运行时间 秒
        /// </summary>
        public double RunTime { get; set; }

        public double RunProportion { get; set; }

        /// <summary>
        /// 故障时间 秒
        /// </summary>
        public double AlarmTime { get; set; }

        /// <summary>
        /// 故障占比
        /// </summary>
        public double AlarmProportion { get; set; }

        /// <summary>
        /// 离线时间 秒
        /// </summary>
        public double OfflineTime { get; set; }

        /// <summary>
        /// 离线占比
        /// </summary>
        public double OfflineProportion { get; set; }
    }
}