-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for scheduling custom json missions
- Loading branch information
Showing
4 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
using Api.Database.Models; | ||
|
||
namespace Api.Controllers.Models | ||
{ | ||
public struct CustomInspectionQuery | ||
{ | ||
public InspectionType InspectionType { get; set; } | ||
|
||
public float? VideoDuration { get; set; } | ||
|
||
public string? AnalysisTypes { get; set; } | ||
} | ||
|
||
public struct CustomTaskQuery | ||
{ | ||
public int TaskOrder { get; set; } | ||
|
||
public Position InspectionTarget { get; set; } | ||
|
||
public Pose RobotPose { get; set; } | ||
|
||
public List<CustomInspectionQuery> Inspections { get; set; } | ||
} | ||
|
||
public struct CustomMissionQuery | ||
{ | ||
public string RobotId { get; set; } | ||
|
||
public DateTimeOffset DesiredStartTime { get; set; } | ||
|
||
public string AssetCode { get; set; } | ||
|
||
public string Name { get; set; } | ||
|
||
public string? Description { get; set; } | ||
|
||
public string? Comment { get; set; } | ||
|
||
public List<CustomTaskQuery> Tasks { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters