跳到主要内容

github/tai

公开

Tai · Windows 软件与网站使用时长统计。上游 Planshit/Tai 的源码镜像,非灵栈原创;MIT 许可。来源:https://github.com/Planshit/Tai 。本次为手动同步,暂不提供安装包。

提交记录
修改UI/Controls/Charts/Model/ChartsDataModel.cs+5 −0看文件
@@ -38,5 +38,10 @@ namespace UI.Controls.Charts.Model
3838 /// 时间(仅在类型为Month样式时有效)
3939 /// </summary>
4040 public DateTime DateTime { get; set; }
41新增:
42新增: /// <summary>
43新增: /// 数据模型
44新增: /// </summary>
45新增: public object Data { get; set; }
4146 }
4247}
修改UI/ViewModels/DataPageVM.cs+1 −0看文件
@@ -174,6 +174,7 @@ namespace UI.ViewModels
174174 foreach (var item in list)
175175 {
176176 var bindModel = new ChartsDataModel();
177新增: bindModel.Data = item;
177178 bindModel.Name = string.IsNullOrEmpty(item.ProcessDescription) ? item.ProcessName : item.ProcessDescription;
178179 bindModel.Value = item.Time;
179180 bindModel.Tag = Timer.Fromat(item.Time);
修改UI/ViewModels/IndexPageVM.cs+1 −0看文件
@@ -129,6 +129,7 @@ namespace UI.ViewModels
129129 foreach (var item in list)
130130 {
131131 var bindModel = new ChartsDataModel();
132新增: bindModel.Data = item;
132133 bindModel.Name = string.IsNullOrEmpty(item.ProcessDescription) ? item.ProcessName : item.ProcessDescription;
133134 bindModel.Value = item.Time;
134135 bindModel.Tag = Timer.Fromat(item.Time);