feat(api): Логика смены статусов для заданий робота. RobotTaskController

This commit is contained in:
Mikhail Trubnikov
2023-10-05 16:56:02 +10:00
parent 4679994600
commit af4a0b60b8
26 changed files with 2779 additions and 126 deletions

View File

@@ -97,6 +97,14 @@
public const string GetAll = Base + "/robot-history-levels/";
}
public static class RobotTask
{
public const string GetByRobotAndStatusTask = Base + "/robot-tasks/" + robotCode + "/statuses/" + taskStatusCode;
public const string robotCode = "{robotCode}";
public const string taskStatusCode = "{taskStatusCode}";
}
//public static class Layer
//{

View File

@@ -0,0 +1,7 @@
namespace PARR.API.Contracts.V1.Responses
{
public class RobotConfigurationResponse
{
}
}

View File

@@ -0,0 +1,7 @@
namespace PARR.API.Contracts.V1.Responses
{
public class RobotTaskScheduleResponse
{
//TODO:
}
}

View File

@@ -0,0 +1,31 @@
namespace PARR.API.Contracts.V1.Responses
{
public class RobotTaskTemplateResponse
{
public bool IsActive { get; set; }
public required string ClosingCode { get; set; }
public required string FullDescription { get; set; }
public required string ShortDescription { get; set; }
public required string Solution { get; set; }
public required string ResponseArea { get; set; }
public required string TemplateDuration { get; set; }
public required string Initiator { get; set; }
public required string WorkGroup { get; set; }
public required string Ek { get; set; }
public required string Name { get; set; }
public required string Category { get; set; }
public required string ProcessName { get; set; }
public required string ProcessEsppId { get; set; }
public required string SubprocessName { get; set; }
public required string SubprocessEsppId { get; set; }
public required string TnkName { get; set; }
public required string TnkEsppId { get; set; }
public required string WorkName { get; set; }
public required string WorkEsppId { get; set; }
}
}