collectionStore
liuwf 8 months ago
parent f58e78893a
commit f07f30d147

@ -217,6 +217,11 @@ namespace Aucma.Scada.UI.viewModel.InStoreInfo
{
listItems.Add($"{DateTime.Now.ToString("HH:mm:ss")}==>{message}");
while (listItems.Count > 120)
{
listItems.RemoveAt(0);
}
LogInfoListBox = listItems.OrderByDescending(x => x);
}
catch (Exception ex)

@ -184,7 +184,14 @@ namespace Aucma.Scada.UI.viewModel.OutStoreInfo
{
listItems.Add($"{DateTime.Now.ToString("HH:mm:ss.ss")}==>{message}");
while (listItems.Count > 120)
{
listItems.RemoveAt(0);
}
LogInfoListBox = listItems.OrderByDescending(x => x);
}
catch (Exception ex)
{

Loading…
Cancel
Save