Machine.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System.ComponentModel.DataAnnotations.Schema;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace ProductionLineMonitor.Core.Models
  6. {
  7. /// <summary>
  8. /// 机台表
  9. /// </summary>
  10. [Table("Machines")]
  11. public class Machine : Base
  12. {
  13. /// <summary>
  14. /// 产线Id
  15. /// </summary>
  16. public string ProductionLineId { get; set; }
  17. /// <summary>
  18. /// 产线顺序
  19. /// </summary>
  20. public int? ProductionLineOrder { get; set; }
  21. /// <summary>
  22. /// 是否计入线统计
  23. /// </summary>
  24. public bool? IsInclusionLineStatistics { get; set; }
  25. /// <summary>
  26. /// 机台名称
  27. /// </summary>
  28. public string Name { get; set; }
  29. /// <summary>
  30. /// 类型
  31. /// </summary>
  32. public string Type { get; set; }
  33. /// <summary>
  34. /// Topic
  35. /// </summary>
  36. public string Topic { get; set; }
  37. /// <summary>
  38. /// 故障Topic
  39. /// </summary>
  40. public string FaultTopic { get; set; }
  41. }
  42. }