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.
|
|
|
using LanShengModel;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 设备故障报表
|
|
|
|
/// </summary>
|
|
|
|
public class DeviceErrorReport
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 故障类型
|
|
|
|
/// </summary>
|
|
|
|
public IEnumerable<string>? ErrCodes { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 公司编号
|
|
|
|
/// </summary>
|
|
|
|
public IEnumerable<string>? CompanyIds { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 项目编号
|
|
|
|
/// </summary>
|
|
|
|
public IEnumerable<string>? ProjectIds { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 设备编号
|
|
|
|
/// </summary>
|
|
|
|
public IEnumerable<string>? DeviceIds { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public IEnumerable<string>? GpsIds { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 开始日期
|
|
|
|
/// </summary>
|
|
|
|
public DateTime? StartDate { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 结束日期
|
|
|
|
/// </summary>
|
|
|
|
public DateTime? EndDate { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 单元
|
|
|
|
/// </summary>
|
|
|
|
public string? Unit { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数据集
|
|
|
|
/// </summary>
|
|
|
|
public IEnumerable<DeviceErrorReportItem>? Items { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public class DeviceErrorReportItem {
|
|
|
|
public DeviceErrorReportItem() {
|
|
|
|
Code = "";
|
|
|
|
Msg = "";
|
|
|
|
Counts = new Dictionary<string, int>();
|
|
|
|
}
|
|
|
|
|
|
|
|
public string Code { get; set; }
|
|
|
|
|
|
|
|
public string Msg { get; set; }
|
|
|
|
|
|
|
|
public Dictionary<string,int> Counts { get; set; }
|
|
|
|
|
|
|
|
public int Count { get; set; }
|
|
|
|
}
|