using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WPFProject.Models { public class Program : NotifyBase { /// /// 程序名 /// private string _Name; public string Name { get { return _Name; } set => RaiseAndSetIfChanged(ref _Name, value); } /// /// 程序所需参数 /// private ObservableCollection _Variables; public ObservableCollection Variables { get { return _Variables; } set => RaiseAndSetIfChanged(ref _Variables, value); } /// /// 序列集合 /// private ObservableCollection _Sequences; public ObservableCollection Sequences { get { return _Sequences; } set => RaiseAndSetIfChanged(ref _Sequences, value); } /// /// 所需参数 /// private Dictionary _Vars; public Dictionary Vars { get { return _Vars; } set { _Vars = value; } } /// /// 计算临时参数 /// private Dictionary _TempVars; public Dictionary TempVars { get { return _TempVars; } set { _TempVars = value; } } } }