20240301_JSEQ_upperpc/JiangsuEarthquakeNow/JiangsuEarthquake/Models/FTP/FTPModel.cs
XuMin 3b6c570800 1 经过电控腔测试和升压站测试;
2 解决了后一个通信连接会影响前一个通信连接的问题;
3 测试过程中存在的问题修改;
2024-09-03 16:30:34 +08:00

72 lines
1.6 KiB
C#

using JiangsuEarthquake.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JiangsuEarthquake.Models.FTP
{
public class FTPModel : NotifyBase
{
private int index;
public int Index
{
get { return index; }
set { index = value; this.DoNotify(); }
}
private string filename;
public string FileName
{
get { return filename; }
set { filename = value; this.DoNotify(); }
}
private DateTime creatime;
public DateTime CreateTime
{
get { return creatime; }
set { creatime = value; this.DoNotify(); }
}
private string filesize;
public string FileSize
{
get { return filesize; }
set { filesize = value; this.DoNotify(); }
}
private string filepath;
public string FilePath
{
get { return filepath; }
set { filepath = value; this.DoNotify(); }
}
private bool isDirectory;
/// <summary>
/// 是否为目录
/// </summary>
public bool IsDirectory
{
get { return isDirectory; }
set { isDirectory = value; this.DoNotify(); }
}
private string filetype;
public string FileType
{
get { return IsDirectory == true ? "文件夹" : ""; }
set { filetype = value; this.DoNotify(); }
}
}
}