Files
CleanMachine/CleanMachine.Model/ZBK/DayReport.cs
2022-05-16 13:54:26 +08:00

26 lines
590 B
C#

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; }
}
}