blob: 1fa9f0bccc8c34ef0938d1a64e665b8c3f719746 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using CommandLineWrapper;
using CommandLineWrapper.JsonResults;
public class SheetListResultGetter : JsonResultGetter<SheetListResult>
{
protected override Task<JVCSCommandInvoker.InvokeResult> ExecCommand(JVCSWorkspace workspace)
=> workspace.SheetList();
}
public struct SheetListResult
{
public SheetListJsonResult Result { get; set; }
}
public struct SheetListJsonResult
{
public List<SheetItem> MySheets { get; set; }
public List<SheetItem> ReferenceSheets { get; set; }
public List<SheetItem> OtherSheets { get; set; }
}
public struct SheetItem
{
public string Name { get; set; }
public string Holder { get; set; }
}
|