using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace DataLoader.Model
|
{
|
public class ViewData : INotifyPropertyChanged
|
{
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
public string Ext { set; get; }
|
|
private int _id;
|
|
public ViewData()
|
{
|
}
|
|
public int ID
|
{
|
set
|
{
|
if (_id != value)
|
{
|
_id = value;
|
ChangProperty("ID");
|
}
|
}
|
get
|
{
|
return _id;
|
}
|
}
|
|
private string _filePath;
|
|
public string FilePath
|
{
|
set
|
{
|
if (_filePath != value)
|
{
|
_filePath = value;
|
ChangProperty("FilePath");
|
}
|
}
|
get
|
{
|
return _filePath;
|
}
|
}
|
|
private string _status;
|
|
public string Status
|
{
|
set
|
{
|
if (_status != value)
|
{
|
_status = value;
|
ChangProperty("Status");
|
}
|
}
|
get
|
{
|
return _status;
|
}
|
}
|
|
private void ChangProperty(string propName)
|
{
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(propName));
|
}
|
}
|
|
public SysMeta Meta { set; get; }
|
}
|
}
|