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
|
{
|
/// <summary>
|
/// 程序名
|
/// </summary>
|
private string _Name;
|
public string Name
|
{
|
get { return _Name; }
|
set => RaiseAndSetIfChanged(ref _Name, value);
|
}
|
|
/// <summary>
|
/// 程序所需参数
|
/// </summary>
|
private ObservableCollection<Variable> _Variables;
|
public ObservableCollection<Variable> Variables
|
{
|
get { return _Variables; }
|
set => RaiseAndSetIfChanged(ref _Variables, value);
|
}
|
|
/// <summary>
|
/// 序列集合
|
/// </summary>
|
private ObservableCollection<Sequence> _Sequences;
|
public ObservableCollection<Sequence> Sequences
|
{
|
get { return _Sequences; }
|
set => RaiseAndSetIfChanged(ref _Sequences, value);
|
}
|
|
/// <summary>
|
/// 所需参数
|
/// </summary>
|
private Dictionary<string, Variable> _Vars;
|
public Dictionary<string, Variable> Vars
|
{
|
get { return _Vars; }
|
set { _Vars = value; }
|
}
|
|
/// <summary>
|
/// 计算临时参数
|
/// </summary>
|
private Dictionary<string, Variable> _TempVars;
|
public Dictionary<string, Variable> TempVars
|
{
|
get { return _TempVars; }
|
set { _TempVars = value; }
|
}
|
|
}
|
}
|