From 58814389fac0ecf0f12e2509f3bf522082ed9f0f Mon Sep 17 00:00:00 2001
From: chr <chrry550@163.com>
Date: 星期二, 05 三月 2024 12:01:45 +0800
Subject: [PATCH] 优化输出目录结构;
---
Models/Program.cs | 92 +++++++++++++++++++++++++++++++--------------
1 files changed, 63 insertions(+), 29 deletions(-)
diff --git a/Models/Program.cs b/Models/Program.cs
index e73900f..9e0f86c 100644
--- a/Models/Program.cs
+++ b/Models/Program.cs
@@ -1,29 +1,63 @@
-锘縰sing 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<Sequence> _Sequences;
- public ObservableCollection<Sequence> Sequences
- {
- get { return _Sequences; }
- set => RaiseAndSetIfChanged(ref _Sequences, value);
- }
-
-
- }
-}
+锘縰sing 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; }
+ }
+
+ }
+}
--
Gitblit v1.9.1