using PLCSharp.VVMs.GlobalVariables;
using Prism.Commands;
using Prism.Dialogs;
using System.Collections.ObjectModel;
using System.Windows;
namespace PLCSharp.VVMs.Vision;
///
/// 视觉流程配置界面 —— 局部变量表和系统变量管理
///
public partial class VisionConfigViewModel
{
#region 全局变量
///
/// 系统全局变量集合
///
public ObservableCollection SystemVariables { get; set; }
private SystemVariable _SelectedSystemVariable;
///
/// 选中的全局变量
///
public SystemVariable SelectedSystemVariable
{
get { return _SelectedSystemVariable; }
set
{
SetProperty(ref _SelectedSystemVariable, value);
}
}
private DelegateCommand