| 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.DatePickerBar; |
| 10 | |
| 11 | namespace UI.Models |
| 12 | { |
| 13 | public class DataPageModel : 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 | private List<ChartsDataModel> Data_; |
| 40 | ///<summary> |
| 41 | /// |
| 42 | ///</summary> |
| 43 | public List<ChartsDataModel> Data |
| 44 | { |
| 45 | get { return Data_; } |
| 46 | set { Data_ = value; OnPropertyChanged(); } |
| 47 | } |
| 48 | |
| 49 | private List<ChartsDataModel> MonthData_; |
| 50 | ///<summary> |
| 51 | /// |
| 52 | ///</summary> |
| 53 | public List<ChartsDataModel> MonthData |
| 54 | { |
| 55 | get { return MonthData_; } |
| 56 | set { MonthData_ = value; OnPropertyChanged(); } |
| 57 | } |
| 58 | |
| 59 | private List<ChartsDataModel> YearData_; |
| 60 | ///<summary> |
| 61 | /// |
| 62 | ///</summary> |
| 63 | public List<ChartsDataModel> YearData |
| 64 | { |
| 65 | get { return YearData_; } |
| 66 | set { YearData_ = value; OnPropertyChanged(); } |
| 67 | } |
| 68 | |
| 69 | private DateTime DayDate_; |
| 70 | ///<summary> |
| 71 | /// |
| 72 | ///</summary> |
| 73 | public DateTime DayDate |
| 74 | { |
| 75 | get { return DayDate_; } |
| 76 | set { DayDate_ = value; OnPropertyChanged(); } |
| 77 | } |
| 78 | |
| 79 | private DateTime MonthDate_; |
| 80 | ///<summary> |
| 81 | /// |
| 82 | ///</summary> |
| 83 | public DateTime MonthDate |
| 84 | { |
| 85 | get { return MonthDate_; } |
| 86 | set { MonthDate_ = value; OnPropertyChanged(); } |
| 87 | } |
| 88 | |
| 89 | private DateTime YearDate_; |
| 90 | ///<summary> |
| 91 | /// |
| 92 | ///</summary> |
| 93 | public DateTime YearDate |
| 94 | { |
| 95 | get { return YearDate_; } |
| 96 | set { YearDate_ = value; OnPropertyChanged(); } |
| 97 | } |
| 98 | |
| 99 | private ContextMenu AppContextMenu_; |
| 100 | public ContextMenu AppContextMenu { get { return AppContextMenu_; } set { AppContextMenu_ = value; OnPropertyChanged(); } } |
| 101 | } |
| 102 | } |