2025-01-01 17:49:48 +08:00
|
|
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
|
|
|
|
using Serein.Library;
|
|
|
|
|
|
using Serein.NodeFlow.Model;
|
|
|
|
|
|
using Serein.Workbench.Avalonia.ViewModels;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Serein.Workbench.Avalonia.Custom.Node.ViewModels
|
|
|
|
|
|
{
|
|
|
|
|
|
internal partial class ActionNodeViewModel : NodeViewModelBase
|
|
|
|
|
|
{
|
|
|
|
|
|
[ObservableProperty]
|
|
|
|
|
|
private SingleActionNode? nodeMoel;
|
|
|
|
|
|
|
2025-01-04 22:25:42 +08:00
|
|
|
|
|
2025-01-01 17:49:48 +08:00
|
|
|
|
internal override NodeModelBase NodeModelBase
|
|
|
|
|
|
{ get => NodeMoel ?? throw new NotImplementedException(); set => NodeMoel = (SingleActionNode)value; }
|
|
|
|
|
|
|
|
|
|
|
|
public ActionNodeViewModel()
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|