59 lines
1.0 KiB
C#
59 lines
1.0 KiB
C#
///
|
|
/// Copyright (c) 2020 Sensus Slovensko a.s.
|
|
///
|
|
namespace Events.Entities
|
|
{
|
|
/// <summary>
|
|
/// Identifies the type of a database
|
|
/// </summary>
|
|
public enum DBType
|
|
{
|
|
None, /// Database disabled
|
|
MySql, /// MySQL database
|
|
SQLite, /// SQLite
|
|
Count
|
|
}
|
|
|
|
|
|
public enum Severity
|
|
{
|
|
Undefined,
|
|
Notification,
|
|
Warning,
|
|
Error,
|
|
FatalError,
|
|
Count
|
|
}
|
|
|
|
public enum EventClass
|
|
{
|
|
Undefined,
|
|
EquipmentHW,
|
|
Metrology,
|
|
TestingProcess,
|
|
BadResults,
|
|
ComputerResources,
|
|
Network,
|
|
Other,
|
|
Count
|
|
}
|
|
|
|
public enum SubscriberGroup : long
|
|
{
|
|
None = 0,
|
|
Metrology = 1,
|
|
Maintenance = 2,
|
|
Production = 4,
|
|
Management = 8,
|
|
Finish = 16,
|
|
}
|
|
|
|
public enum EViewerOption
|
|
{
|
|
Undefined,
|
|
AllEvents,
|
|
RecentEvents,
|
|
UnreadEvents,
|
|
}
|
|
}
|