namespace Haoliang.Models.Device { public class DeviceData { public int DeviceId { get; set; } public string DeviceCode { get; set; } public string Status { get; set; } public string NCProgram { get; set; } public int CumulativeCount { get; set; } public string OperatingMode { get; set; } public List Tags { get; set; } public DateTime CollectionTime { get; set; } } public class MappedTag { public string TagId { get; set; } public string TagName { get; set; } public object Value { get; set; } public string Quality { get; set; } public DateTime Timestamp { get; set; } } } namespace Haoliang.Models.Production { public class ProductionData { public int Id { get; set; } public int DeviceId { get; set; } public string DeviceCode { get; set; } public string ProgramName { get; set; } public int OutputCount { get; set; } public DateTime StartTime { get; set; } public DateTime? EndTime { get; set; } public string Operator { get; set; } public bool IsCompleted { get; set; } } }