mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 07:03:25 -06:00
61 lines
1.1 KiB
Protocol Buffer
61 lines
1.1 KiB
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
import "Empty.proto";
|
||
|
|
||
|
package rips;
|
||
|
|
||
|
service Commands
|
||
|
{
|
||
|
rpc Execute(CommandParams) returns(Empty) {}
|
||
|
}
|
||
|
|
||
|
message SetTimeStepParams
|
||
|
{
|
||
|
int32 caseId = 1;
|
||
|
int32 timeStep = 2;
|
||
|
}
|
||
|
|
||
|
message SetMainWindowSizeParams
|
||
|
{
|
||
|
int32 height = 1;
|
||
|
int32 width = 2;
|
||
|
}
|
||
|
|
||
|
message FilePathRequest
|
||
|
{
|
||
|
string path = 1;
|
||
|
}
|
||
|
|
||
|
message ReplaceCaseRequest
|
||
|
{
|
||
|
string newGridFile = 1;
|
||
|
int32 caseId = 2;
|
||
|
}
|
||
|
|
||
|
message ReplaceSourceCasesRequest
|
||
|
{
|
||
|
string gridListFile = 1;
|
||
|
}
|
||
|
|
||
|
message ExportMultiCaseRequest
|
||
|
{
|
||
|
string gridListFile = 1;
|
||
|
}
|
||
|
|
||
|
message CommandParams
|
||
|
{
|
||
|
oneof params
|
||
|
{
|
||
|
SetTimeStepParams setTimeStep = 1;
|
||
|
SetMainWindowSizeParams setMainWindowSize = 2;
|
||
|
FilePathRequest openProject = 3;
|
||
|
Empty closeProject = 4;
|
||
|
FilePathRequest setStartDir = 5;
|
||
|
FilePathRequest loadCase = 6;
|
||
|
ReplaceCaseRequest replaceCase = 7;
|
||
|
ReplaceSourceCasesRequest replaceSourceCases = 8;
|
||
|
ExportMultiCaseRequest exportMultiCaseSnapshots = 9;
|
||
|
}
|
||
|
}
|
||
|
|