下班 还有一些小问题 1.0版本就可以发布了

This commit is contained in:
liufei
2021-06-17 17:28:04 +08:00
parent 7246687de0
commit 2ed8bd8148
40 changed files with 1265 additions and 184 deletions

35
Task/BacklogTask.cs Normal file
View File

@@ -0,0 +1,35 @@
using GeekDesk.Control;
using GeekDesk.Control.Other;
using GeekDesk.ViewModel;
using HandyControl.Controls;
using HandyControl.Data;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeekDesk.Task
{
class BacklogTask
{
private static void BackLogCheck()
{
while (true)
{
string nowTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
ObservableCollection<BacklogInfo> exeBacklogList = MainWindow.appData.ExeBacklogList;
foreach (BacklogInfo info in exeBacklogList)
{
if (info.ExeTime.CompareTo(nowTime) == -1)
{
Notification.Show(new BacklogNotificatin(info), ShowAnimation.Fade, true);
}
}
}
}
}
}