using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Waste.Domain; namespace Waste.Application { /// /// 统计列表 /// public class ReportList : W_DeviceStatistics { /// /// 商户名称 /// public string BusinessName { get; set; } = ""; /// /// 设备名称 /// public string DevName { get; set; } = ""; /// /// 设备地址 /// public string DevAddress { get; set; } = ""; /// /// 设备编号 /// public string DevCode { get; set; } = ""; /// /// 合计测量次数 /// public int TotalDayCount { get; set; } = 0; /// /// 合计测量净重 /// public decimal TotalDayPureWeight { get; set; } = 0; /// /// 合计测量重量 /// public decimal TotalDayWeight { get; set; } = 0; } public class ApiReportBaseData { public List list { get; set; } /// /// 总条数 /// public int totalcount { get; set; } } public class ApiReportBaseData { /// /// 点位地址,包含省市区县详细地址 /// public string address { get; set; } /// /// 设备唯一编号 /// public string devcode { get; set; } /// /// 设备名称 /// public string devname { get; set; } /// /// 总毛重,精确到小数点后两位,单位为KG /// public string weight { get; set; } /// /// 总净重,精确到小数点后两位,单位为KG /// public string pweight { get; set; } /// /// 垃圾类型 /// public string type { get; set; } /// /// 统计时间,时间格式 /// public string time { get; set; } } public class ApiReportBaseDataItem : W_DeviceStatistics { /// /// 点位地址,包含省市区县详细地址 /// public string address { get; set; } /// /// 设备唯一编号 /// public string devcode { get; set; } /// /// 设备名称 /// public string devname { get; set; } } /// /// 获取统计结果请求数据 /// public class ApiReportRequestData { /// /// 开始时间 /// public DateTime begindate { get; set; } /// /// 结束时间 /// public DateTime enddate { get; set; } } }