MachineRun.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using System.Text;
  5. namespace ProductionLineMonitor.Core.Models
  6. {
  7. [Table("MachineRuns")]
  8. public class MachineRun : Base
  9. {
  10. public string Topic { get; set; }
  11. public DateTime Date { get; set; }
  12. /// <summary>
  13. /// 平均TT
  14. /// </summary>
  15. public int TT { get; set; }
  16. /// <summary>
  17. /// 当前用户
  18. /// </summary>
  19. public string CurrentUser { get; set; }
  20. /// <summary>
  21. /// 0:机台通信异常,
  22. /// 1:正常生产
  23. /// 2:机台报警
  24. /// 3:机台待料
  25. /// 4:机台维修
  26. /// 5:机台离线
  27. /// 6:搬运模式
  28. /// </summary>
  29. public int EquipmentState { get; set; }
  30. /// <summary>
  31. /// 配方
  32. /// </summary>
  33. public string RecipeNo { get; set; }
  34. /// <summary>
  35. /// 能耗(kW·h)
  36. /// </summary>
  37. public uint EnergyConsumption { get; set; }
  38. }
  39. }