mirror of
https://gitee.com/wang-yin1/wpf-visual-process-framework
synced 2026-03-03 00:00:56 +08:00
添加项目文件。
This commit is contained in:
15
VisionFrame.Base/Models/FlowArgModel.cs
Normal file
15
VisionFrame.Base/Models/FlowArgModel.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VisionFrame.Base.Models
|
||||
{
|
||||
public class FlowArgModel
|
||||
{
|
||||
public string ArgName { get; set; }
|
||||
public string ArgType { get; set; }
|
||||
public object Value { get; set; }
|
||||
}
|
||||
}
|
||||
38
VisionFrame.Base/Models/NodeArgModel.cs
Normal file
38
VisionFrame.Base/Models/NodeArgModel.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VisionFrame.Base.Models
|
||||
{
|
||||
public class NodeArgModel : INotifyPropertyChanged
|
||||
{
|
||||
public string ArgName { get; set; }
|
||||
public string ArgType { get; set; }
|
||||
public string Direction { get; set; }
|
||||
|
||||
private object _argValue;
|
||||
|
||||
public object ArgValue
|
||||
{
|
||||
get { return _argValue; }
|
||||
set
|
||||
{
|
||||
_argValue = value;
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("ArgValue"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 数据的获取方式
|
||||
// 0:选择流程参数,下拉列表
|
||||
// 1:输入框
|
||||
// 2:选择目录
|
||||
public int ValueMode { get; set; } = 0;
|
||||
|
||||
public event PropertyChangedEventHandler? PropertyChanged;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user