You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2 KiB
C#

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<TagData> 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; }
}
}