feat(api): Логика смены статусов для заданий робота. RobotTaskController
This commit is contained in:
@@ -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
|
||||
//{
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class RobotConfigurationResponse
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class RobotTaskScheduleResponse
|
||||
{
|
||||
//TODO:
|
||||
}
|
||||
}
|
||||
31
PARR.API/Contracts/V1/Responses/RobotTaskTemplateResponse.cs
Normal file
31
PARR.API/Contracts/V1/Responses/RobotTaskTemplateResponse.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user