aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Common/Insights/InsightsReadyEvent.cs
blob: 30241f270a6c86412596cf4b9e9026097ae041db (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;

namespace Tango.FSE.Common.Insights
{
    public class InsightsReadyEvent : InsightReadyBase
    {
        public EventType EventType { get; set; }
        public String Description { get; set; }
        public String JobDescription { get; set; }

        public bool HasDescription
        {
            get { return Description != null; }
        }

        public override string ToString()
        {
            return $"{Time}: {EventType.Name}";
        }
    }
}