diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Telemetry/TelemetryBase.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Telemetry/TelemetryBase.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Telemetry/TelemetryBase.cs b/Software/Visual_Studio/Tango.Telemetry/TelemetryBase.cs index 133409ff9..20d5211e7 100644 --- a/Software/Visual_Studio/Tango.Telemetry/TelemetryBase.cs +++ b/Software/Visual_Studio/Tango.Telemetry/TelemetryBase.cs @@ -1,4 +1,5 @@ -using Newtonsoft.Json; +using LiteDB; +using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; @@ -9,6 +10,12 @@ namespace Tango.Telemetry { public class TelemetryBase : ITelemetry { + [BsonIgnore] //This will be used for column mapping in ADX + public String Type + { + get { return this.ToTelemetryName(); } + } + public DateTime Time { get; set; } public byte[] ToBytes(Formatting format = Formatting.None, bool flatten = true) |
