summaryrefslogtreecommitdiff
path: root/CommandLineWrapper/JsonResults/Implements/SheetAlignTasksResult.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CommandLineWrapper/JsonResults/Implements/SheetAlignTasksResult.cs')
-rw-r--r--CommandLineWrapper/JsonResults/Implements/SheetAlignTasksResult.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/CommandLineWrapper/JsonResults/Implements/SheetAlignTasksResult.cs b/CommandLineWrapper/JsonResults/Implements/SheetAlignTasksResult.cs
new file mode 100644
index 0000000..5539d19
--- /dev/null
+++ b/CommandLineWrapper/JsonResults/Implements/SheetAlignTasksResult.cs
@@ -0,0 +1,19 @@
+using CommandLineWrapper;
+using CommandLineWrapper.JsonResults;
+
+public class SheetAlignTasksResultGetter : JsonResultGetter<AlignJsonResult>
+{
+ protected override Task<JVCSCommandInvoker.InvokeResult> ExecCommand(JVCSWorkspace workspace)
+ => workspace.SheetAlignList();
+}
+
+public struct AlignJsonResult
+{
+ public Dictionary<string, AlignTaskMapping> AlignTasks { get; set; }
+}
+
+public struct AlignTaskMapping
+{
+ public string LocalMapping { get; set; }
+ public string RemoteMapping { get; set; }
+}