跳到主要内容

github/tai

公开

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

浏览文件

NotifyWeb.cs

25 行 · 667 B历史下载
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace Core.Models.WebPage
8{
9 public class NotifyWeb
10 {
11 public string Url { get; set; }
12 public string Title { get; set; }
13 public string Icon { get; set; }
14 public int ActiveTime { get; set; }
15 public int Duration { get; set; }
16 public DateTime ActiveDateTime
17 {
18 get
19 {
20 DateTime dateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);
21 return dateTime.AddSeconds(ActiveTime).ToLocalTime();
22 }
23 }
24 }
25}