12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- using System;
- using System.Text.RegularExpressions;
- namespace ProductionLineMonitor.Web.Services.LineService
- {
- public class Statistic
- {
- /// <summary>
- /// 机种
- /// </summary>
- public string ModuleType { get; set; } = string.Empty;
- /// <summary>
- /// Capa
- /// </summary>
- public int Capa { get; set; }
- /// <summary>
- /// 计划产能
- /// </summary>
- public int PlanCapacity { get; set; }
- /// <summary>
- /// TT
- /// </summary>
- public double TT { get; set; }
- /// <summary>
- /// 产能
- /// </summary>
- public int Capacity { get; set; }
- /// <summary>
- /// 早班产能
- /// </summary>
- public int MorningShiftCapacity { get; set; }
- /// <summary>
- /// 夜班产能
- /// </summary>
- public int NightShiftCapacity { get; set; }
- /// <summary>
- /// 时间稼动率
- /// </summary>
- public double Availability { get; set; }
- /// <summary>
- /// 性能稼动率
- /// </summary>
- public double Performance { get; set; }
- /// <summary>
- /// 良率
- /// </summary>
- public double Quality { get; set; }
- /// <summary>
- /// 设备综合效率
- /// </summary>
- public double OEE { get; set; }
- /// <summary>
- /// 运行时间
- /// </summary>
- public double RunTime { get; set; }
- /// <summary>
- /// 待料时间
- /// </summary>
- public double IdelTime { get; set; }
- /// <summary>
- /// 宕机时间
- /// </summary>
- public double DownTime { get; set; }
- /// <summary>
- /// 负荷时间
- /// </summary>
- public double LoadTime { get; set; }
- public double Reload { get; set; }
- public double AchievementRate
- {
- get
- {
- if (PlanCapacity == 0)
- {
- return 0;
- }
- return Math.Round((float)Capacity / PlanCapacity * 100, 0);
- }
- }
- }
- }
|