2024-08-06 16:09:46 +08:00
|
|
|
|
using Serein.NodeFlow.Model;
|
2024-10-15 21:56:09 +08:00
|
|
|
|
using Serein.Workbench.Node.View;
|
2024-08-05 10:11:58 +08:00
|
|
|
|
|
2024-10-15 21:56:09 +08:00
|
|
|
|
namespace Serein.Workbench.Node.ViewModel
|
2024-08-05 10:11:58 +08:00
|
|
|
|
{
|
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;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|