aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Common/Diagnostics/DiagnosticsFrame.cs
blob: 88139d628233335397f8b08f901497ec7aaf2a8f (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PMR.Diagnostics;

namespace Tango.FSE.Common.Diagnostics
{
    public class DiagnosticsFrame
    {
        /// <summary>
        /// Diagnostics frame data.
        /// </summary>
        public StartDiagnosticsResponse Data { get; set; }

        /// <summary>
        /// The calculated local date and time by the first diagnostics response and elapsed Milli.
        /// </summary>
        public DateTime DiagnosticsTime { get; set; }

        /// <summary>
        /// The reported elapsed time from the previous diagnostics frame (reported by the embedded device).
        /// </summary>
        public TimeSpan Delta { get; set; }

        /// <summary>
        /// The average interval of diagnostics frame rate reported by the embedded device.
        /// </summary>
        public uint Interval { get; set; }
    }
}