aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Modules/Tango.FSE.Procedures/ProcedureInput.cs
blob: 6ddc5d4bb0e5d4d3f03e5629f361e9d4417a6b65 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;

namespace Tango.FSE.Procedures
{
    public class ProcedureInput : ExtendedObject
    {
        private ProcedureInputType _type;
        public ProcedureInputType Type
        {
            get { return _type; }
            set { _type = value; RaisePropertyChangedAuto(); }
        }

        private ObservableCollection<ProcedureInputSelection> _selectionInputs;
        public ObservableCollection<ProcedureInputSelection> SelectionInputs
        {
            get { return _selectionInputs; }
            set { _selectionInputs = value; RaisePropertyChangedAuto(); }
        }

        public String DisplayName { get; set; }
        public String Description { get; set; }
        public String Key { get; set; }

        private Object _value;
        public Object Value
        {
            get { return _value; }
            set { _value = value; RaisePropertyChangedAuto(); }
        }

        public ProcedureInput()
        {
            SelectionInputs = new ObservableCollection<ProcedureInputSelection>();
        }
    }
}