using System.Text.Json.Serialization;
namespace Txgy.RBS.Framework
{
public class ProcessInfo
{
private string proName;
///
/// 程序路径
///
public string ProName
{
get { return proName; }
set { proName = value; }
}
private string proTitle;
///
/// 程序路径
///
public string ProTitle
{
get { return proTitle; }
set { proTitle = value; }
}
private bool isEnable;
public bool IsEnable
{
get { return isEnable; }
set { isEnable = value; }
}
private string proPath;
///
/// 程序路径
///
public string ProPath
{
get { return proPath; }
set { proPath = value; }
}
private string proParams;
///
/// 启动参数
///
public string ProParams
{
get { return proParams; }
set { proParams = value; }
}
///
/// 配置文件路径
///
public string JsonPath { get; set; }
private int pid;
public int Pid
{
get { return pid; }
set { pid = value; }
}
private string operationStr = "open";
///
/// 操作,open=打开;edit=编辑;find=搜寻
///
public string OperationStr
{
get { return operationStr; }
set { operationStr = value; }
}
[JsonIgnore]
public DateTime StartTime { set; get; }
[JsonIgnore]
public bool State { set; get; }
}
}