| 1 | using System; |
| 2 | using System.Collections.Generic; |
| 3 | using System.Collections.ObjectModel; |
| 4 | using System.Linq; |
| 5 | using System.Text; |
| 6 | using System.Threading.Tasks; |
| 7 | using System.Windows.Controls; |
| 8 | using UI.Controls.Charts.Model; |
| 9 | using UI.Controls.Select; |
| 10 | |
| 11 | namespace UI.Models |
| 12 | { |
| 13 | public class IndexPageModel : ModelBase |
| 14 | { |
| 15 | private ObservableCollection<string> TabbarData_; |
| 16 | ///<summary> |
| 17 | /// |
| 18 | ///</summary> |
| 19 | public ObservableCollection<string> TabbarData |
| 20 | { |
| 21 | get { return TabbarData_; } |
| 22 | set { TabbarData_ = value; OnPropertyChanged(); } |
| 23 | } |
| 24 | |
| 25 | private int TabbarSelectedIndex_; |
| 26 | ///<summary> |
| 27 | /// |
| 28 | ///</summary> |
| 29 | public int TabbarSelectedIndex |
| 30 | { |
| 31 | get { return TabbarSelectedIndex_; } |
| 32 | set |
| 33 | { |
| 34 | TabbarSelectedIndex_ = value; |
| 35 | OnPropertyChanged(); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | |
| 40 | private List<ChartsDataModel> WeekData_; |
| 41 | ///<summary> |
| 42 | /// |
| 43 | ///</summary> |
| 44 | public List<ChartsDataModel> WeekData |
| 45 | { |
| 46 | get { return WeekData_; } |
| 47 | set { WeekData_ = value; OnPropertyChanged(); } |
| 48 | } |
| 49 | |
| 50 | private bool IsLoading_; |
| 51 | public bool IsLoading { get { return IsLoading_; } set { IsLoading_ = value; OnPropertyChanged(); } } |
| 52 | |
| 53 | private ContextMenu AppContextMenu_; |
| 54 | public ContextMenu AppContextMenu { get { return AppContextMenu_; } set { AppContextMenu_ = value; OnPropertyChanged(); } } |
| 55 | |
| 56 | private int FrequentUseNum_; |
| 57 | ///<summary> |
| 58 | /// |
| 59 | ///</summary> |
| 60 | public int FrequentUseNum { get { return FrequentUseNum_; } set { FrequentUseNum_ = value; OnPropertyChanged(); } } |
| 61 | private int MoreNum_; |
| 62 | ///<summary> |
| 63 | /// |
| 64 | ///</summary> |
| 65 | public int MoreNum { get { return MoreNum_; } set { MoreNum_ = value; OnPropertyChanged(); } } |
| 66 | |
| 67 | private List<ChartsDataModel> WebFrequentUseData_; |
| 68 | ///<summary> |
| 69 | /// |
| 70 | ///</summary> |
| 71 | public List<ChartsDataModel> WebFrequentUseData |
| 72 | { |
| 73 | get { return WebFrequentUseData_; } |
| 74 | set { WebFrequentUseData_ = value; OnPropertyChanged(); } |
| 75 | } |
| 76 | private SelectItemModel MoreType_; |
| 77 | ///<summary> |
| 78 | /// |
| 79 | ///</summary> |
| 80 | public SelectItemModel MoreType { get { return MoreType_; } set { MoreType_ = value; OnPropertyChanged(); } } |
| 81 | |
| 82 | private List<ChartsDataModel> AppMoreData_; |
| 83 | ///<summary> |
| 84 | /// |
| 85 | ///</summary> |
| 86 | public List<ChartsDataModel> AppMoreData |
| 87 | { |
| 88 | get { return AppMoreData_; } |
| 89 | set { AppMoreData_ = value; OnPropertyChanged(); } |
| 90 | } |
| 91 | private List<ChartsDataModel> WebMoreData_; |
| 92 | ///<summary> |
| 93 | /// |
| 94 | ///</summary> |
| 95 | public List<ChartsDataModel> WebMoreData |
| 96 | { |
| 97 | get { return WebMoreData_; } |
| 98 | set { WebMoreData_ = value; OnPropertyChanged(); } |
| 99 | } |
| 100 | private ContextMenu WebSiteContextMenu_; |
| 101 | ///<summary> |
| 102 | /// |
| 103 | ///</summary> |
| 104 | public ContextMenu WebSiteContextMenu { get { return WebSiteContextMenu_; } set { WebSiteContextMenu_ = value; OnPropertyChanged(); } } |
| 105 | } |
| 106 | } |