using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Editors;
using Tango.SharedUI;
namespace Tango.MachineStudio.Technician.ViewModels
{
public class MachineTechTabVM : ViewModel
{
private ElementsEditor _editor;
public ElementsEditor Editor
{
get { return _editor; }
set { _editor = value; RaisePropertyChangedAuto(); }
}
private String _name;
///
/// Gets or sets the name.
///
public String Name
{
get { return _name; }
set { _name = value; RaisePropertyChangedAuto(); }
}
private bool _isSelected;
///
/// Gets or sets a value indicating whether this instance is selected.
///
public bool IsSelected
{
get { return _isSelected; }
set { _isSelected = value; RaisePropertyChangedAuto(); }
}
private ObservableCollection _elements;
///
/// Gets or sets the visual elements.
///
public ObservableCollection Elements
{
get { return _elements; }
set { _elements = value; RaisePropertyChangedAuto(); }
}
///
/// Initializes a new instance of the class.
///
public MachineTechTabVM()
{
Name = "untitled";
Elements = new ObservableCollection();
}
}
}