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
|
|
|
|
{
|
2024-10-22 00:13:13 +08:00
|
|
|
|
public new SingleExpOpNode NodeModel { get; }
|
2024-08-05 10:11:58 +08:00
|
|
|
|
|
2024-10-22 00:13:13 +08:00
|
|
|
|
//public string Expression
|
|
|
|
|
|
//{
|
|
|
|
|
|
// get => node.Expression;
|
|
|
|
|
|
// set
|
|
|
|
|
|
// {
|
|
|
|
|
|
// node.Expression = value;
|
|
|
|
|
|
// OnPropertyChanged();
|
|
|
|
|
|
// }
|
|
|
|
|
|
//}
|
2024-08-05 10:11:58 +08:00
|
|
|
|
|
|
|
|
|
|
|
2024-10-22 00:13:13 +08:00
|
|
|
|
public ExpOpNodeViewModel(SingleExpOpNode nodeModel) : base(nodeModel)
|
2024-08-05 10:11:58 +08:00
|
|
|
|
{
|
2024-10-22 00:13:13 +08:00
|
|
|
|
this.NodeModel = nodeModel;
|
2024-08-05 10:11:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|