feat(api,templateActivator): обновлена логика templateActivator
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
namespace PARR.Constants
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PARR.Constants
|
||||
{
|
||||
/// <summary>
|
||||
/// Компоненты ПАРР
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public enum ParrComponentsEnum
|
||||
{
|
||||
// Тут указываем только Worker`ы
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
namespace PARR.Constants
|
||||
{
|
||||
//todo: удалить!!!
|
||||
|
||||
/// <summary>
|
||||
/// Действия с шаблонами/расписаниями для TemplateActivator
|
||||
/// </summary>
|
||||
|
||||
21
PARR.Constants/TemplateActivatorEsppObjectTypesEnum.cs
Normal file
21
PARR.Constants/TemplateActivatorEsppObjectTypesEnum.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PARR.Constants
|
||||
{
|
||||
/// <summary>
|
||||
/// Объект воздействия активатора
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public enum TemplateActivatorEsppObjectTypesEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// Шаблон
|
||||
/// </summary>
|
||||
Template=0,
|
||||
|
||||
/// <summary>
|
||||
/// Расписание
|
||||
/// </summary>
|
||||
Schedule =1,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user