This commit is contained in:
gongxh
2022-05-17 09:53:25 +08:00
parent d14b2ac45f
commit 2bc18cb082
6 changed files with 55 additions and 8 deletions

View File

@@ -10,8 +10,7 @@ namespace CleanMachine.Model.ZBK
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; }
@@ -19,7 +18,7 @@ namespace CleanMachine.Model.ZBK
public DayOfWeek DayOfWeek { get => Date.DayOfWeek; }
public float MachineHours { get=>(EndValue-StartValue)/3600f; }
public float MachineHours { get; set; }
}