MachinePowerConsumption.cs 803 B

12345678910111213141516171819202122232425262728293031
  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. /// <summary>
  8. /// 机台能耗表
  9. /// </summary>
  10. [Table("MachinePowerConsumptions")]
  11. public class MachinePowerConsumption : Base
  12. {
  13. /// <summary>
  14. /// 机台Id
  15. /// </summary>
  16. public string MachineId { get; set; }
  17. /// <summary>
  18. /// 数据时间
  19. /// </summary>
  20. public DateTime DataTime { get; set; }
  21. /// <summary>
  22. /// 耗电量 kW·h 简称 度
  23. /// </summary>
  24. public float PowerConsumption { get; set; }
  25. /// <summary>
  26. /// 产能
  27. /// </summary>
  28. public int Capacity { get; set; }
  29. }
  30. }