1、所有工具参数以Job分隔进行保存到本地

2、PMA工具修改
This commit is contained in:
liu.wenjie
2022-05-11 08:21:47 +08:00
parent 9dcba19b67
commit 900ea68f69
15 changed files with 71 additions and 97 deletions

View File

@@ -29,7 +29,8 @@ namespace CommonMethods
/// <summary>
/// 工具窗体,由于无法对Form进行序列化所以作为静态变量
/// </summary>
public static Form FormTool { get; set; }
[NonSerialized]
public Form FormTool = new Form();
/// <summary>
/// 工具窗体名
/// </summary>
@@ -54,11 +55,16 @@ namespace CommonMethods
/// 工具运行结果
/// </summary>
public ToolRunStatu toolRunStatu { get; set; }
/// <summary>
/// 绑定的JOB名称
/// </summary>
public string bingingJobName { get; set; }
public IToolInfo()
{
enable = true;
toolType = ToolType.None;
toolName = string.Empty;
bingingJobName = string.Empty;
tool = new object();
toolInput = new List<ToolIO>();
toolOutput = new List<ToolIO>();