ibms-MCUT/Backend/Models/Archive.cs
jiahao 48a90ece43 1.debug: 水電表歸檔機制,結構調整
2.儲存於水電歸檔table 時需要先 四捨五入
3.報表匯出時,增加 join device 以過濾 deleted 的設備
2023-09-18 01:49:00 +08:00

27 lines
801 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Backend.Models
{
public class ArchiveElectricMeter
{
public string Device_number { get; set; }
public string Point { get; set; }
public string Start_timestamp { get; set; }
public string End_timestamp { get; set; }
public int Count_rawdata { get; set; }
public double Min_rawdata { get; set; }
public double Max_rawdata { get; set; }
public double Avg_rawdata { get; set; }
public double Sum_rawdata { get; set; }
public byte Is_complete { get; set; }
public double Repeat_times { get; set; }
}
public class archiveTable
{
public string archive_yyyymm { get; set; }
}
}