using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AwInitilizer.Model { public class UpdateData : INotifyPropertyChanged { private SystemID _SystemID; public SystemID SystemID { get => _SystemID; set { if(_SystemID!=value) { _SystemID = value; RaisePropertyChanged("SystemID"); } } } private string _ModelName; public string ModelName { get => _ModelName; set { if(_ModelName!=value) { _ModelName = value; RaisePropertyChanged("ModelName"); } } } private string _SerialNumber; public string SerialNumber { get => _SerialNumber; set { if (_SerialNumber != value) { _SerialNumber = value; RaisePropertyChanged("SerialNumber"); } } } private string _FourGenModuleVersion; public string FourGenModuleVersion { get => _FourGenModuleVersion; set { if (_FourGenModuleVersion != value) { _FourGenModuleVersion = value; RaisePropertyChanged("FourGenModuleVersion"); } } } private bool _IsSimInsert; public bool IsSimInsert { get => _IsSimInsert; set { if(_IsSimInsert != value) { _IsSimInsert = value; RaisePropertyChanged("IsSimInsert"); } } } private string _ICCID; public string ICCID { get => _ICCID; set { if (_ICCID != value) { _ICCID = value; RaisePropertyChanged("ICCID"); } } } private string _IMSI; public string IMSI { get => _IMSI; set { if (_IMSI != value) { _IMSI = value; RaisePropertyChanged("IMSI"); } } } private List _FirmwareUpdateModels; public List FirmwareUpdateModels { get => _FirmwareUpdateModels; set { if (_FirmwareUpdateModels != value) { _FirmwareUpdateModels = value; RaisePropertyChanged("FirmwareUpdateModels"); } } } public event PropertyChangedEventHandler PropertyChanged; internal void RaisePropertyChanged(string name) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name)); } } }