aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SQLExaminer/ExaminerSequenceItem.cs
blob: 57c85023fa1524c757118eddbbc9db2fad7c7442 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Tango.SQLExaminer
{
    public class ExaminerSequenceItem
    {
        [XmlAttribute("type")]
        public ExaminerSequenceItemType Type { get; set; }

        [XmlAttribute("direction")]
        public ExaminerSequenceItemDirection Direction { get; set; }

        [XmlAttribute("requires-sn")]
        public bool RequiresSerialNumber { get; set; }

        [XmlAttribute("name")]
        public String Name { get; set; }

        [XmlAttribute("index")]
        public int Index { get; set; }

        [XmlAttribute("file")]
        public String FileName { get; set; }

        public override string ToString()
        {
            return $"Name: {Name}, Type: {Type}, Direction: {Direction}";
        }
    }
}