a05c3aeb85
Added signalR auth
34 lines
1.0 KiB
C#
34 lines
1.0 KiB
C#
|
|
namespace Step.Config
|
|
{
|
|
public static class Constants
|
|
{
|
|
public enum ACTIONS
|
|
{
|
|
READ,
|
|
WRITE
|
|
}
|
|
|
|
// Token fields Keys
|
|
public const string ROLE_LEVEL_KEY = "roleLevel";
|
|
public const string USERNAME_KEY = "username";
|
|
public const string ID_KEY = "id";
|
|
|
|
// Names in the xml file
|
|
public const string SERVER_CONFIG_KEY = "serverConfig";
|
|
public const string NC_CONFIG_KEY = "ncConfig";
|
|
public const string AREAS_CONFIG_KEY = "areasConfig";
|
|
|
|
public static class AREAS
|
|
{
|
|
public const string PRODUCTION_KEY = "production";
|
|
public const string TOOLING_KEY = "tooling";
|
|
public const string REPORT_KEY = "report";
|
|
public const string ALARMS_KEY = "alarms";
|
|
public const string MAINTENANCE_KEY = "maintenance";
|
|
public const string UTILITIES_KEY = "utilities";
|
|
public const string SCADA_KEY = "scada";
|
|
}
|
|
}
|
|
}
|