using PLCSharp.Core.Prism;
using PLCSharp.Models;
using Prism.Dialogs;
using Prism.Events;
using Prism.Ioc;
namespace PLCSharp.VVMs.Recipe
{
///
/// Recipe编辑视图模型
///
public class RecipeEditViewModel : DialogAwareBase
{
///
/// Recipe编辑视图模型
///
public RecipeEditViewModel(IContainerExtension container, IEventAggregator ea, IDialogService dialogService) : base(container, ea, dialogService)
{
Model = container.Resolve();
}
///
/// 模型
///
public GlobalModel Model { get; set; }
}
}