mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-20 00:06:45 +08:00
脚本节点能够自定义变量名
This commit is contained in:
@@ -110,7 +110,9 @@ namespace Serein.Library
|
||||
SourceNodeGuid = it.ArgDataSourceNodeGuid,
|
||||
SourceType = it.ArgDataSourceType.ToString(),
|
||||
State = it.IsExplicitData,
|
||||
ArgName = it.Name,
|
||||
Value = it.DataValue,
|
||||
|
||||
})
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace Serein.Library
|
||||
/// <summary>
|
||||
/// 方法入参参数名称
|
||||
/// </summary>
|
||||
[PropertyInfo]
|
||||
[PropertyInfo(IsNotification = true)]
|
||||
private string _name ;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -277,11 +277,13 @@ namespace Serein.Library
|
||||
/// </summary>
|
||||
public class ParameterData
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 参数类型,true时使用自定义的入参,false时由运行环境自动传参
|
||||
/// </summary>
|
||||
public bool State { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 参数来源节点
|
||||
/// </summary>
|
||||
@@ -292,16 +294,17 @@ namespace Serein.Library
|
||||
/// </summary>
|
||||
public string SourceType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 参数名称
|
||||
/// </summary>
|
||||
public string ArgName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自定义入参
|
||||
/// </summary>
|
||||
public string Value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表达式相关节点的表达式内容
|
||||
/// </summary>
|
||||
// public string Expression { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user