using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace ProductionLineMonitor.Core.Models { [Table("MachineRuns")] public class MachineRun : Base { public string Topic { get; set; } public DateTime Date { get; set; } /// /// 平均TT /// public int TT { get; set; } /// /// 当前用户 /// public string CurrentUser { get; set; } /// /// 0:机台通信异常, /// 1:正常生产 /// 2:机台报警 /// 3:机台待料 /// 4:机台维修 /// 5:机台离线 /// 6:搬运模式 /// public int EquipmentState { get; set; } /// /// 配方 /// public string RecipeNo { get; set; } /// /// 能耗(kW·h) /// public uint EnergyConsumption { get; set; } } }