Files
lserp_cs_6.0/插件库/Lskj.AutoUpdate/Model/LocalFile.cs
T
cyf ab56a9bcf7 基线 SVN r240
SVN-Revision: r240
2025-02-06 06:46:06 +00:00

67 lines
1.7 KiB
C#

/******************************
* 说明:更新文件配置对象
* 创建人:龚宇超
* 创建日期:2018-02-09
* 修改人:
* 修改日期:
* 修改备注:
* 版本:1.0.0.0
******************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
namespace Lskj.AutoUpdate
{
/// <summary>
/// 更新文件配置对象
/// </summary>
public class LocalFile
{
private string _path;
private string _lastver;
private int _size;
private string _version;
/// <summary>
/// 路径
/// </summary>
/// <value>The path.</value>
[XmlAttribute("path")]
public string Path { get { return _path; } set { _path = value; } }
/// <summary>
/// 最新版本
/// </summary>
/// <value>The last ver.</value>
[XmlAttribute("lastver")]
public string LastVer { get { return _lastver; } set { _lastver = value; } }
/// <summary>
/// 文件大小
/// </summary>
/// <value>The size.</value>
[XmlAttribute("size")]
public int Size { get { return _size; } set { _size = value; } }
/// <summary>
/// 文件版本
/// </summary>
/// <value>The version.</value>
[XmlAttribute("version")]
public string Version { get { return _version; } set { _version = value; } }
public LocalFile(string path, string ver, int size, string versionid)
{
this._path = path;
this._lastver = ver;
this._size = size;
this._version = versionid;
}
public LocalFile()
{
}
}
}