添加日报

This commit is contained in:
gongxh
2022-05-16 13:54:26 +08:00
parent 9dfb90f683
commit e120927df2
11 changed files with 683 additions and 9 deletions

View File

@@ -34,6 +34,7 @@ namespace CleanMachineHMI.Domain.Enums
DataSearch,
WarningLog,
Maintenance,
ShiftCountRecord
ShiftCountRecord,
DayReport
}
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace CleanMachine.Model.ZBK
{
public class DayReport
{
public DateTime Date { get; set; }
public int Cleaned { get; set; }
public int Scrap { get; set; }
public int StartValue { get; set; }
public int EndValue { get; set; }
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public DayOfWeek DayOfWeek { get => Date.DayOfWeek; }
public float MachineHours { get=>(EndValue-StartValue)/3600f; }
}
}