diff --git a/Event Recorder/Event Recorder.csproj b/Event Recorder/Event Recorder.csproj index 5c79835..48e155b 100644 --- a/Event Recorder/Event Recorder.csproj +++ b/Event Recorder/Event Recorder.csproj @@ -81,7 +81,6 @@ App.xaml Code - JsonViewerWindow.xaml diff --git a/Event Recorder/EventData.cs b/Event Recorder/EventData.cs deleted file mode 100644 index 500c451..0000000 --- a/Event Recorder/EventData.cs +++ /dev/null @@ -1,34 +0,0 @@ -using LCU.NET.WAMP; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Event_Recorder -{ - public struct EventData - { - public DateTime Time { get; } - public DateTime RecordingStartTime { get; } - public JsonApiEvent JsonEvent { get; } - - [JsonIgnore] - public TimeSpan TimeSinceStart => Time.Subtract(RecordingStartTime); - - [JsonConstructor] - public EventData(DateTime time, DateTime recordingStartTime, JsonApiEvent jsonEvent) - { - this.Time = time; - this.RecordingStartTime = recordingStartTime; - this.JsonEvent = jsonEvent; - } - - public EventData(DateTime recordingStartTime, JsonApiEvent jsonEvent) - : this(DateTime.Now, recordingStartTime, jsonEvent) - { - } - } -}