添加日报
This commit is contained in:
25
CleanMachine.Model/ZBK/DayReport.cs
Normal file
25
CleanMachine.Model/ZBK/DayReport.cs
Normal 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; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user