ibms-dome/FrontendWebApi/Models/HydroMeter.cs

38 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
namespace FrontendWebApi.Models
{
public class HydroMeter
{
}
public class HydroMeterInput
{
public string tableType { get; set; } //day, week, month
public string building_tag { get; set; }
public string floor_tag { get; set; }
public DateTime startTime { get; set; }
public DateTime endTime { get; set; }
}
public class HydroMeterOutput
{
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; }
}
}