标签:system ase text 开始时间 rtti rac mod soft practice
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Practices.Prism.Mvvm; using System.Collections; using FileDownload.Common; namespace FileDownload.Models { public class DownloadInfo:BindableBase { public IDictionary<string, object> Extra { get; set; } = new Dictionary<string, object>(); private string url; public string Url { get { return Url; } set { if(url != value) SetProperty(ref url, value); } } private string fileName; public string FileName { get { return fileName; } set { if (fileName != value) SetProperty(ref fileName, value); } } private DataLength totalSize; public DataLength TotalSize { get { return totalSize; } set { if (totalSize != value) SetProperty(ref totalSize, value); } } private DataLength speed; public DataLength Speed { get { return speed; } set { if (speed != value) SetProperty(ref speed, value); } } private double progress; public double Progress { get { return progress; } set { SetProperty(ref progress, value); } } private Common.DownloadState state; public Common.DownloadState State { get { return state; } set { if (state != value) SetProperty(ref state, value); } } private string timeNeed; /// <summary> /// 预计用时 /// </summary> public string TimeNeed { get { return timeNeed; } set { if (timeNeed != value) SetProperty(ref timeNeed, value); } } private string startTime; /// <summary> /// 开始时间 /// </summary> public string StartTime { get { return startTime; } set { if (startTime != value) SetProperty(ref startTime, value); } } private string completeTime; /// <summary> /// 完成时间 /// </summary> public string CompleteTime { get { return completeTime; } set { if (completeTime != value) SetProperty(ref completeTime, value); } } private string totalTime; /// <summary> /// 已用时 /// </summary> public string TotalTime { get { return totalTime; } set { if (totalTime != value) SetProperty(ref totalTime, value); } } } }
标签:system ase text 开始时间 rtti rac mod soft practice
原文地址:http://www.cnblogs.com/RedSky/p/7717022.html