Add Log Source Identification to determine if a log has been created/updated from the UI/Other Applications

#29
This commit is contained in:
Watts 2017-04-12 22:00:08 +01:00
parent a3432e0281
commit 4f4d247dc6
2 changed files with 19 additions and 0 deletions

View File

@ -11,6 +11,7 @@ namespace Interfaces
public DateTimeOffset EventTime { get; set; } public DateTimeOffset EventTime { get; set; }
public int CalendarWeek { get; set; } public int CalendarWeek { get; set; }
public int Year { get; set; } public int Year { get; set; }
public LogSource Source { get; set; }
} }
public enum LogDirection public enum LogDirection
@ -19,4 +20,12 @@ namespace Interfaces
IN = 1, IN = 1,
OUT = 2 OUT = 2
} }
public enum LogSource
{
UNKNOWN=0,
IDENTIFIER=1,
UI=2,
TRAYAPP=3
}
} }

View File

@ -0,0 +1,10 @@
namespace SQLiteRepository
{
public enum LogSourceDb
{
UNKNOWN=0,
IDENTIFIER = 1,
UI = 2,
TRAYAPP = 3
}
}