feat(api): RobotHistoryController - сохранение истории работы робота
This commit is contained in:
@@ -87,10 +87,10 @@ namespace PARR.API.MappingProfiles
|
||||
|
||||
CreateMap<RobotHistoryLevel, RobotHistoryLevelResponse>();
|
||||
|
||||
CreateMap<RobotTemplateHistory, RobotTemplateHistoryResponse>()
|
||||
CreateMap<RobotHistory, RobotHistoryResponse>()
|
||||
.ForMember(d => d.Level, o => o.MapFrom(s => s.RobotHistoryLevel))
|
||||
.ForMember(d => d.Date, o => o.MapFrom(s => s.DateCreated))
|
||||
.ForMember(d => d.TemplateName, o => o.MapFrom(s => s.Template!.Name));
|
||||
.ForMember(d => d.TaskId, o => o.MapFrom(s => s.RobotConfigurationId));
|
||||
|
||||
|
||||
// --- RobotConfiguration ---
|
||||
|
||||
Reference in New Issue
Block a user