aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/ModuleWindowVM.cs
blob: a5b737b5919e0986ed4d6ac8a6a41339158fe53d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using Tango.MachineStudio.Common;
using Tango.SharedUI;

namespace Tango.MachineStudio.UI.ViewModels
{
    public class ModuleWindowVM : ViewModel
    {
        private IStudioModule _module;

        public IStudioModule Module
        {
            get { return _module; }
            set { _module = value; RaisePropertyChangedAuto(); }
        }

        public Grid Parent { get; set; }

        public ModuleWindowVM(IStudioModule module, Grid parent)
        {
            Parent = parent;
            Module = module;
        }
    }
}