| 1 | using Core.Models.Db; |
| 2 | using System; |
| 3 | using System.Collections.Generic; |
| 4 | using System.Collections.ObjectModel; |
| 5 | using System.Linq; |
| 6 | using System.Text; |
| 7 | using System.Threading.Tasks; |
| 8 | using System.Windows.Controls; |
| 9 | using UI.Controls.Charts.Model; |
| 10 | using UI.Controls.Select; |
| 11 | |
| 12 | namespace UI.Models |
| 13 | { |
| 14 | public class WebSiteDetailPageModel : UINotifyPropertyChanged |
| 15 | { |
| 16 | public WebSiteModel WebSite_; |
| 17 | ///<summary> |
| 18 | /// |
| 19 | ///</summary> |
| 20 | public WebSiteModel WebSite { get { return WebSite_; } set { WebSite_ = value; OnPropertyChanged(); } } |
| 21 | |
| 22 | |
| 23 | private List<ChartsDataModel> ChartData_; |
| 24 | |
| 25 | public List<ChartsDataModel> ChartData |
| 26 | { |
| 27 | get |
| 28 | { |
| 29 | return ChartData_; |
| 30 | } |
| 31 | set |
| 32 | { |
| 33 | ChartData_ = value; |
| 34 | OnPropertyChanged(); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | private ObservableCollection<string> TabbarData_; |
| 39 | public ObservableCollection<string> TabbarData { get { return TabbarData_; } set { TabbarData_ = value; OnPropertyChanged(); } } |
| 40 | |
| 41 | private int TabbarSelectedIndex_; |
| 42 | public int TabbarSelectedIndex { get { return TabbarSelectedIndex_; } set { TabbarSelectedIndex_ = value; OnPropertyChanged(); } } |
| 43 | private string WeekDateStr_; |
| 44 | public string WeekDateStr { get { return WeekDateStr_; } set { WeekDateStr_ = value; OnPropertyChanged(); } } |
| 45 | private DateTime ChartDate_; |
| 46 | public DateTime ChartDate { get { return ChartDate_; } set { ChartDate_ = value; OnPropertyChanged(); } } |
| 47 | |
| 48 | private List<SelectItemModel> WeekOptions_; |
| 49 | public List<SelectItemModel> WeekOptions { get { return WeekOptions_; } set { WeekOptions_ = value; OnPropertyChanged(); } } |
| 50 | |
| 51 | private SelectItemModel SelectedWeek_; |
| 52 | |
| 53 | public SelectItemModel SelectedWeek { get { return SelectedWeek_; } set { SelectedWeek_ = value; OnPropertyChanged(); } } |
| 54 | |
| 55 | private DateTime MonthDate_; |
| 56 | public DateTime MonthDate { get { return MonthDate_; } set { MonthDate_ = value; OnPropertyChanged(); } } |
| 57 | |
| 58 | private DateTime YearDate_; |
| 59 | public DateTime YearDate { get { return YearDate_; } set { YearDate_ = value; OnPropertyChanged(); } } |
| 60 | private int NameIndexStart_ = 0; |
| 61 | public int NameIndexStart { get { return NameIndexStart_; } set { NameIndexStart_ = value; OnPropertyChanged(); } } |
| 62 | |
| 63 | private List<WebBrowseLogModel> WebPageData_; |
| 64 | public List<WebBrowseLogModel> WebPageData { get { return WebPageData_; } set { WebPageData_ = value; OnPropertyChanged(); } } |
| 65 | private WebBrowseLogModel WebPageSelectedItem_; |
| 66 | public WebBrowseLogModel WebPageSelectedItem { get { return WebPageSelectedItem_; } set { WebPageSelectedItem_ = value; OnPropertyChanged(); } } |
| 67 | |
| 68 | private List<SelectItemModel> Categories_; |
| 69 | ///<summary> |
| 70 | /// |
| 71 | ///</summary> |
| 72 | public List<SelectItemModel> Categories { get { return Categories_; } set { Categories_ = value; OnPropertyChanged(); } } |
| 73 | |
| 74 | private SelectItemModel Category_; |
| 75 | ///<summary> |
| 76 | /// |
| 77 | ///</summary> |
| 78 | public SelectItemModel Category { get { return Category_; } set { Category_ = value; OnPropertyChanged(); } } |
| 79 | |
| 80 | private ContextMenu WebSiteContextMenu_; |
| 81 | ///<summary> |
| 82 | /// |
| 83 | ///</summary> |
| 84 | public ContextMenu WebSiteContextMenu { get { return WebSiteContextMenu_; } set { WebSiteContextMenu_ = value; OnPropertyChanged(); } } |
| 85 | |
| 86 | public bool IsIgnore_; |
| 87 | ///<summary> |
| 88 | /// |
| 89 | ///</summary> |
| 90 | public bool IsIgnore { get { return IsIgnore_; } set { IsIgnore_ = value; OnPropertyChanged(); } } |
| 91 | } |
| 92 | } |