跳到主要内容

github/tai

公开

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

浏览文件

SettingPageModel.cs

51 行 · 2.2 KB历史下载
1using Core.Models.Config;
2using System;
3using System.Collections.Generic;
4using System.Collections.ObjectModel;
5using System.Linq;
6using System.Text;
7using System.Threading.Tasks;
8using System.Windows;
9
10namespace UI.Models
11{
12 public class SettingPageModel : UINotifyPropertyChanged
13 {
14 private object data;
15 public object Data { get { return data; } set { data = value; OnPropertyChanged(); } }
16
17 private ObservableCollection<string> TabbarData_;
18 /// <summary>
19 /// tabbar data
20 /// </summary>
21 public ObservableCollection<string> TabbarData { get { return TabbarData_; } set { TabbarData_ = value; OnPropertyChanged(); } }
22
23 private int TabbarSelectedIndex_;
24 /// <summary>
25 /// tabbar selected item index
26 /// </summary>
27 public int TabbarSelectedIndex { get { return TabbarSelectedIndex_; } set { TabbarSelectedIndex_ = value; OnPropertyChanged(); } }
28
29 private string version;
30 /// <summary>
31 /// 软件版本号
32 /// </summary>
33 public string Version { get { return version; } set { version = value; OnPropertyChanged(); } }
34
35 private Visibility CheckUpdateBtnVisibility_ = Visibility.Visible;
36 public Visibility CheckUpdateBtnVisibility { get { return CheckUpdateBtnVisibility_; } set { CheckUpdateBtnVisibility_ = value; OnPropertyChanged(); } }
37
38
39 private DateTime DelDataStartMonthDate_;
40 public DateTime DelDataStartMonthDate { get { return DelDataStartMonthDate_; } set { DelDataStartMonthDate_ = value; OnPropertyChanged(); } }
41
42 private DateTime DelDataEndMonthDate_;
43 public DateTime DelDataEndMonthDate { get { return DelDataEndMonthDate_; } set { DelDataEndMonthDate_ = value; OnPropertyChanged(); } }
44
45 private DateTime ExportDataStartMonthDate_;
46 public DateTime ExportDataStartMonthDate { get { return ExportDataStartMonthDate_; } set { ExportDataStartMonthDate_ = value; OnPropertyChanged(); } }
47
48 private DateTime ExportDataEndMonthDate_;
49 public DateTime ExportDataEndMonthDate { get { return ExportDataEndMonthDate_; } set { ExportDataEndMonthDate_ = value; OnPropertyChanged(); } }
50 }
51}