fix(API,DAL): Восстановлена работа контроллеров RobotTask, TemplateActivator, Template
This commit is contained in:
@@ -394,9 +394,9 @@
|
||||
/// </summary>
|
||||
public static class TemplateActivator
|
||||
{
|
||||
public const string SendRequest = Base + "/jobs/" + appInWorkId + "/template-activator";
|
||||
public const string SendRequest = Base + "/jobs/" + jobId + "/template-activator";
|
||||
|
||||
public const string appInWorkId = "{applicationInWorkId}";
|
||||
public const string jobId = "{jobId}";
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
//public int? StatusCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Поиск по маске. Например: "*-ДВС"
|
||||
/// Поиск по маске. Например: "ДВС-*"
|
||||
/// </summary>
|
||||
public string? Mask { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Поиск по ИД Задания (ApplicationInWorkId)
|
||||
/// Поиск по ИД Задания (JobGroupId)
|
||||
/// </summary>
|
||||
public Guid? AppInWorkId { get; set; }
|
||||
public Guid? JobGroupId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,36 +3,43 @@
|
||||
public class TemplateResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public required string Name { get; set; }
|
||||
|
||||
public bool IsActiveTemplate { get; set; }
|
||||
|
||||
public bool IsActiveSchedule { get; set; }
|
||||
|
||||
public Guid ApplicationInWorkId { get; set; }
|
||||
|
||||
public required string Category { get; set; }
|
||||
|
||||
public required string Initiator { get; set; }
|
||||
|
||||
public required string ClosingCode { get; set; }
|
||||
|
||||
public required string ShortDescription { get; set; }
|
||||
|
||||
public required string FullDescription { get; set; }
|
||||
|
||||
public required string Solution { get; set; }
|
||||
|
||||
public required string TemplateDuration { get; set; }
|
||||
|
||||
public TemplateAgentResponse? Agent { get; set; }
|
||||
|
||||
public DateTimeOffset? LastRun { get; set; }
|
||||
|
||||
public DateTimeOffset NextRun { get; set; }
|
||||
|
||||
public bool IsAutoDistributionEnabled { get; set; }
|
||||
|
||||
//public HostTemplateResponse? Host { get; set; }
|
||||
public UnitBaseResponse? Unit { get; set; }
|
||||
|
||||
public JobBaseResponse? Job { get; set; }
|
||||
|
||||
//public WorkResponse? Work { get; set; }
|
||||
public ProcessResponse? Process { get; set; }
|
||||
|
||||
public SubprocessResponse? Subprocess { get; set; }
|
||||
|
||||
public TnkResponse? Tnk { get; set; }
|
||||
|
||||
public List<RobotConfigurationResponse>? SyncStatus { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user