2023-05-11 15:46:04 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Security.Cryptography.X509Certificates;
|
|
|
|
|
|
|
|
|
|
namespace FrontendWebApi.Models
|
|
|
|
|
{
|
|
|
|
|
public class HydroMeter
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class HydroMeterInput
|
|
|
|
|
{
|
2023-05-15 13:27:13 +08:00
|
|
|
|
public string tableType { get; set; } //day, week, month, year
|
2023-05-11 15:46:04 +08:00
|
|
|
|
public string building_tag { get; set; }
|
2023-05-12 11:06:55 +08:00
|
|
|
|
public List<string> floor_tag { get; set; }
|
2023-05-11 18:25:44 +08:00
|
|
|
|
public string startTime { get; set; }
|
2023-05-12 11:06:55 +08:00
|
|
|
|
public string endTime { get; set; }
|
2023-05-12 13:02:24 +08:00
|
|
|
|
public decimal? price { get; set; }
|
2023-05-11 15:46:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class HydroMeterOutput
|
|
|
|
|
{
|
2023-05-11 17:57:45 +08:00
|
|
|
|
public string building_name { get; set; }
|
2023-05-11 15:46:04 +08:00
|
|
|
|
public string building_tag { get; set; }
|
|
|
|
|
public string floor_tag { get; set; }
|
|
|
|
|
public string device_serial_tag { get; set; }
|
|
|
|
|
public string total { get; set; }
|
|
|
|
|
public string price { get; set; }
|
|
|
|
|
public string total_price { get; set; }
|
|
|
|
|
public List<HydroMeterRawDataOutput> rawData { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class HydroMeterRawDataOutput
|
|
|
|
|
{
|
|
|
|
|
public string timeStamp { get; set; }
|
|
|
|
|
public string device_number { get; set; }
|
|
|
|
|
public decimal avg_rawdata { get; set; }
|
|
|
|
|
}
|
2023-05-12 18:42:22 +08:00
|
|
|
|
|
|
|
|
|
public class HydroMeterPriceInput
|
|
|
|
|
{
|
|
|
|
|
public string type { get; set; }
|
|
|
|
|
}
|
2023-06-12 16:02:18 +08:00
|
|
|
|
|
|
|
|
|
public class HydroMeterCompareOutput
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class HydroMeterCompareExportInput
|
|
|
|
|
{
|
|
|
|
|
public List<HydroMeterCompareOutput> exportList { get; set; }
|
|
|
|
|
}
|
2023-05-11 15:46:04 +08:00
|
|
|
|
}
|