Files
CleanMachine/CleanMachine.Model/ZBK/DayReport.cs

27 lines
637 B
C#
Raw Normal View History

2022-05-16 13:54:26 +08:00
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; }
2022-05-16 16:06:44 +08:00
public string Operators { get; set; }
2022-05-16 13:54:26 +08:00
public DayOfWeek DayOfWeek { get => Date.DayOfWeek; }
public float MachineHours { get=>(EndValue-StartValue)/3600f; }
}
}