using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//----------------------------------------------------------------
//Module Name: $safeprojectname$
//Purpose:
//CopyRight: Muchinfo
//History:
//----------------------------------------------------------------
//DateTime 2015/12/29 17:19:57
//Author
//Description Create
//----------------------------------------------------------------
using System.Xml.Serialization;
namespace Muchinfo.MTPClient.Update
{
public class UpdateInfo
{
public string Version { get; set; }////版本号
///
/// 最近更新时间
///
public DateTime LastModifyTime { get; set; }
///
/// 更新URL
///
public string UpdateUrl { get; set; }
///
/// 更新完成后是否重启交易端
///
public bool ReStart { get; set; }
///
/// 要启动的APP程序
///
public string StartAppName { get; set; }
///
/// 是否压缩
///
public bool IsCompress { get; set; }
///
/// 会员资源文件夹
///
public string ResourceDir { get; set; }
///
/// 更新的文件列表
///
public List UpdateFiles { get; set; }
}
///
/// 更新文件名
///
public class UpdateFile
{
public UpdateFile()
{
}
public UpdateFile(string filePath, string extension, string md5Code)
{
FilePath = filePath;
MD5Code = md5Code;
Extension = extension;
}
///
/// 文件名相对取主程序的路径
///
public string FilePath { get; set; }
///
/// 文件的扩展名
///
public string Extension { get; set; }
///
/// 文件MD5
///
public string MD5Code { get; set; }
///
/// 当前文件夹
///
// public string Directory { get; set; }
///
/// 是否为更新配置文件
///
public bool IsConfig { get; set; }
}
}