mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-02 15:50:47 +08:00
32 lines
674 B
C#
32 lines
674 B
C#
using Serein.DynamicFlow.NodeModel;
|
|
using Serein.WorkBench.Node.View;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Serein.WorkBench.Node.ViewModel
|
|
{
|
|
public class ExpOpNodeViewModel: NodeControlViewModel
|
|
{
|
|
public readonly SingleExpOpNode node;
|
|
|
|
public string Expression
|
|
{
|
|
get => node.Expression;
|
|
set
|
|
{
|
|
node.Expression = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
|
|
public ExpOpNodeViewModel(SingleExpOpNode node)
|
|
{
|
|
this.node = node;
|
|
}
|
|
}
|
|
}
|