2024-09-16 21:38:34 +08:00
|
|
|
|
using Serein.Library.Api;
|
|
|
|
|
|
using Serein.Library.Attributes;
|
2024-09-15 12:15:32 +08:00
|
|
|
|
using Serein.Library.Entity;
|
|
|
|
|
|
using Serein.Library.Utils;
|
|
|
|
|
|
using Serein.NodeFlow;
|
|
|
|
|
|
using Serein.NodeFlow.Tool;
|
2024-10-15 21:56:09 +08:00
|
|
|
|
using Serein.Workbench.Node.View;
|
2024-09-15 12:15:32 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Concurrent;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using System.Windows;
|
|
|
|
|
|
|
2024-10-15 21:56:09 +08:00
|
|
|
|
namespace Serein.Workbench
|
2024-09-15 12:15:32 +08:00
|
|
|
|
{
|
2024-10-15 21:56:09 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工作台数据视图
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="window"></param>
|
2024-09-15 12:15:32 +08:00
|
|
|
|
public class MainWindowViewModel
|
|
|
|
|
|
{
|
|
|
|
|
|
private readonly MainWindow window ;
|
2024-10-15 21:56:09 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 运行环境
|
|
|
|
|
|
/// </summary>
|
2024-09-16 21:38:34 +08:00
|
|
|
|
public IFlowEnvironment FlowEnvironment { get; set; }
|
2024-10-15 21:56:09 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工作台数据视图
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="window"></param>
|
2024-09-15 12:15:32 +08:00
|
|
|
|
public MainWindowViewModel(MainWindow window)
|
|
|
|
|
|
{
|
|
|
|
|
|
FlowEnvironment = new FlowEnvironment();
|
|
|
|
|
|
this.window = window;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|