|
|
|
@ -143,6 +143,7 @@ namespace SlnMesnac.WPF.ViewModel
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 扫描记录
|
|
|
|
|
/// </summary>
|
|
|
|
|
private List<ScanLogModel> scanLogModelsItems = new List<ScanLogModel>();
|
|
|
|
|
private ObservableCollection<ScanLogModel> _scanItems = new ObservableCollection<ScanLogModel>();
|
|
|
|
|
public ObservableCollection<ScanLogModel> ScanItems
|
|
|
|
|
{
|
|
|
|
@ -162,7 +163,9 @@ namespace SlnMesnac.WPF.ViewModel
|
|
|
|
|
TagCode = info.Rfid;
|
|
|
|
|
ImagePath = info.Url;
|
|
|
|
|
|
|
|
|
|
ScanItems.Add(info);
|
|
|
|
|
scanLogModelsItems.Add(info);
|
|
|
|
|
|
|
|
|
|
ScanItems = new ObservableCollection<ScanLogModel>(scanLogModelsItems.OrderByDescending(x=>x.CreateTime).ToList());
|
|
|
|
|
|
|
|
|
|
TagAmount++;
|
|
|
|
|
|
|
|
|
|