feat(api): статистика по регламентным работам по ЗО, РГ, РР
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class ApplicationInWorkResponse
|
||||
public class ApplicationInWorkBaseResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
@@ -14,16 +12,18 @@ namespace PARR.API.Contracts.V1.Responses
|
||||
|
||||
public required string Solution { get; set; }
|
||||
|
||||
//public DateTimeOffset? LastRun { get; set; }
|
||||
|
||||
//public DateTimeOffset NextRun { get; set; }
|
||||
|
||||
public DateTimeOffset ReferenceDate { get; set; }
|
||||
|
||||
public bool IsAutoDistributionEnabled { get; set; }
|
||||
|
||||
public bool IsAgent { get; set; }
|
||||
|
||||
public ApplicationResponse? Application { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class ApplicationInWorkResponse : ApplicationInWorkBaseResponse
|
||||
{
|
||||
public string? AgentName { get; set; }
|
||||
|
||||
public int? AgentTimeOutSec { get; set; }
|
||||
@@ -32,8 +32,6 @@ namespace PARR.API.Contracts.V1.Responses
|
||||
|
||||
public WorkResponse? Work { get; set; }
|
||||
|
||||
public ApplicationResponse? Application { get; set; }
|
||||
|
||||
public int TemplatesCount { get; set; }
|
||||
|
||||
|
||||
@@ -77,7 +75,7 @@ namespace PARR.API.Contracts.V1.Responses
|
||||
/// <summary>
|
||||
/// Ошибок синхронизации (RobotStatus = 33/Error)
|
||||
/// </summary>
|
||||
public int Errors { get; set; }
|
||||
public int Errors { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user