|
|
@ -222,7 +222,7 @@ namespace Aucma.Core.DoorFoam.ViewModels
|
|
|
|
{
|
|
|
|
{
|
|
|
|
LastShotRecordDataGrid.Clear();
|
|
|
|
LastShotRecordDataGrid.Clear();
|
|
|
|
|
|
|
|
|
|
|
|
int i = 1;
|
|
|
|
|
|
|
|
// var list = await _boxLastShotRecordServices.QueryAsync();
|
|
|
|
// var list = await _boxLastShotRecordServices.QueryAsync();
|
|
|
|
|
|
|
|
|
|
|
|
// list.OrderByDescending(d => d.CreateTime).Take(30);
|
|
|
|
// list.OrderByDescending(d => d.CreateTime).Take(30);
|
|
|
@ -232,15 +232,10 @@ namespace Aucma.Core.DoorFoam.ViewModels
|
|
|
|
if (item.System == "1") { system = "1系统"; }
|
|
|
|
if (item.System == "1") { system = "1系统"; }
|
|
|
|
if (item.System == "2") { system = "2系统"; }
|
|
|
|
if (item.System == "2") { system = "2系统"; }
|
|
|
|
LastShotRecordModel model = new LastShotRecordModel();
|
|
|
|
LastShotRecordModel model = new LastShotRecordModel();
|
|
|
|
if (LastShotRecordDataGrid.Count() == 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
model.No = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
model.No = LastShotRecordDataGrid.Count() + 1;
|
|
|
|
model.No = LastShotRecordDataGrid.Count() + 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
model.No = i;
|
|
|
|
|
|
|
|
model.System = system;
|
|
|
|
model.System = system;
|
|
|
|
model.GunHead = item.GunCode;
|
|
|
|
model.GunHead = item.GunCode;
|
|
|
|
model.PolInjectionpressure = item.PolHp;
|
|
|
|
model.PolInjectionpressure = item.PolHp;
|
|
|
|