27 lines
637 B
C#
27 lines
637 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 string Operators { get; set; }
|
|
|
|
public DayOfWeek DayOfWeek { get => Date.DayOfWeek; }
|
|
|
|
public float MachineHours { get=>(EndValue-StartValue)/3600f; }
|
|
|
|
|
|
}
|
|
}
|