aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Telemetry/ITelemetry.cs
blob: 4dc1aa3e6c7bbecaac11de70691fdfe0c70d9c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using LiteDB;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Telemetry
{
    public interface ITelemetry
    {
        String ID { get; set; }
        DateTime Time { get; set; }
        String ToJson(Formatting format = Formatting.None, bool flatten = true);
        byte[] ToBytes(Formatting format = Formatting.None, bool flatten = true);
    }
}