2024-08-06 16:09:46 +08:00
|
|
|
|
using Serein.NodeFlow.Model;
|
2024-08-05 10:11:58 +08:00
|
|
|
|
using Serein.WorkBench.Node.View;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Serein.WorkBench.Node.ViewModel
|
|
|
|
|
|
{
|
2024-09-12 20:32:54 +08:00
|
|
|
|
public class ExpOpNodeViewModel: NodeControlViewModelBase
|
2024-08-05 10:11:58 +08:00
|
|
|
|
{
|
|
|
|
|
|
public readonly SingleExpOpNode node;
|
|
|
|
|
|
|
|
|
|
|
|
public string Expression
|
|
|
|
|
|
{
|
|
|
|
|
|
get => node.Expression;
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
node.Expression = value;
|
|
|
|
|
|
OnPropertyChanged();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-12 20:32:54 +08:00
|
|
|
|
public ExpOpNodeViewModel(SingleExpOpNode node) : base(node)
|
2024-08-05 10:11:58 +08:00
|
|
|
|
{
|
|
|
|
|
|
this.node = node;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|