using Newtonsoft.Json; namespace Txgy.RBS.Framework { public class ProcessInfo { private string proName; /// /// 程序路径 /// [JsonProperty] public string ProName { get { return proName; } set { proName = value; } } private string proTitle; /// /// 程序路径 /// [JsonProperty] public string ProTitle { get { return proTitle; } set { proTitle = value; } } private bool isEnable; public bool IsEnable { get { return isEnable; } set { isEnable = value; } } private string proPath; /// /// 程序路径 /// [JsonProperty] public string ProPath { get { return proPath; } set { proPath = value; } } private string proParams; /// /// 启动参数 /// [JsonProperty] public string ProParams { get { return proParams; } set { proParams = value; } } /// /// 配置文件路径 /// [JsonProperty] 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; } } } }