|
|
|
@ -234,9 +234,9 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
MonitorDataGridView.DataSource = _monitorDataSources;
|
|
|
|
MonitorDataGridView.DataSource = _monitorDataSources;
|
|
|
|
MonitorDataGridView.CellFormatting += MonitorDataGridView_CellFormatting;
|
|
|
|
MonitorDataGridView.CellFormatting += MonitorDataGridView_CellFormatting;
|
|
|
|
|
|
|
|
|
|
|
|
int daycount = dailyEntity.Count(x => x.StartTime >= DayStartTime && x.StartTime <= DayEndTine && x.IsDone == 1);
|
|
|
|
int daycount = dailyEntity.Count(x => x.StartTime >= DayStartTime && x.StartTime <= DayEndTine);
|
|
|
|
DayProductNumTextBox.Text = daycount.ToString();
|
|
|
|
DayProductNumTextBox.Text = daycount.ToString();
|
|
|
|
int nightcount = dailyEntity.Count(x => x.StartTime >= NightStartTime && x.StartTime <= NightEndTime && x.IsDone == 1);
|
|
|
|
int nightcount = dailyEntity.Count(x => x.StartTime >= NightStartTime && x.StartTime <= NightEndTime);
|
|
|
|
NightProductNumTextBox.Text = nightcount.ToString();
|
|
|
|
NightProductNumTextBox.Text = nightcount.ToString();
|
|
|
|
NowDateProductNumTextBox.Text = dailyEntity.Count(x => x.StartTime >= LastDayStartTime && x.StartTime <= LastNightEndTime).ToString();
|
|
|
|
NowDateProductNumTextBox.Text = dailyEntity.Count(x => x.StartTime >= LastDayStartTime && x.StartTime <= LastNightEndTime).ToString();
|
|
|
|
|
|
|
|
|
|
|
|
|