mirror of
https://gitee.com/wang-yin1/wpf-visual-process-framework
synced 2026-03-02 15:50:51 +08:00
39 lines
933 B
C#
39 lines
933 B
C#
|
|
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;
|
|||
|
|
}
|
|||
|
|
}
|