chr
2024-03-04 63f80f007b6b217e124a72bee63063c1868399ad
Models/Program.cs
@@ -9,14 +9,29 @@
{
    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
        {
@@ -24,6 +39,25 @@
            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; }
        }
    }
}