| 1 | using Core.Models.Config; |
| 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; |
| 9 | |
| 10 | namespace 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 | /// |
| 20 | ///</summary> |
| 21 | public ObservableCollection<string> TabbarData { get { return TabbarData_; } set { TabbarData_ = value; OnPropertyChanged(); } } |
| 22 | |
| 23 | private int TabbarSelectedIndex_; |
| 24 | ///<summary> |
| 25 | /// |
| 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 | } |