aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/DTO/MachineDTO.cs
blob: 4b8dcbeeee2ba24d1cbfe717e4b1a5f00ca80b88 (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;

namespace Tango.BL.DTO
{
    public class MachineDTO : MachineDTOBase
    {
        public ConfigurationDTO Configuration { get; set; }

        public OrganizationDTO Organization { get; set; }

        public MachineVersionDTO MachineVersion { get; set; }

        public List<SpoolDTO> Spools { get; set; }

        public MachineDTO()
        {
            Spools = new List<SpoolDTO>();
        }

        protected override string OnGetActionLogName()
        {
            return $"Machine '{SerialNumber}'";
        }
    }
}