diff --git a/DataCenter_Windows/WindowsDataCenter/Interfaces/TimeLog.cs b/DataCenter_Windows/WindowsDataCenter/Interfaces/TimeLog.cs index 416fb4a..57cedae 100644 --- a/DataCenter_Windows/WindowsDataCenter/Interfaces/TimeLog.cs +++ b/DataCenter_Windows/WindowsDataCenter/Interfaces/TimeLog.cs @@ -11,6 +11,7 @@ namespace Interfaces public DateTimeOffset EventTime { get; set; } public int CalendarWeek { get; set; } public int Year { get; set; } + public LogSource Source { get; set; } } public enum LogDirection @@ -19,4 +20,12 @@ namespace Interfaces IN = 1, OUT = 2 } + + public enum LogSource + { + UNKNOWN=0, + IDENTIFIER=1, + UI=2, + TRAYAPP=3 + } } \ No newline at end of file diff --git a/DataCenter_Windows/WindowsDataCenter/SQLiteRepository/LogSourceDb.cs b/DataCenter_Windows/WindowsDataCenter/SQLiteRepository/LogSourceDb.cs new file mode 100644 index 0000000..8cf1ed5 --- /dev/null +++ b/DataCenter_Windows/WindowsDataCenter/SQLiteRepository/LogSourceDb.cs @@ -0,0 +1,10 @@ +namespace SQLiteRepository +{ + public enum LogSourceDb + { + UNKNOWN=0, + IDENTIFIER = 1, + UI = 2, + TRAYAPP = 3 + } +} \ No newline at end of file