ResInsight/GrpcInterface/GrpcProtos/SimulationWell.proto
2021-01-11 15:27:45 +01:00

38 lines
702 B
Protocol Buffer

syntax = "proto3";
import "Definitions.proto";
package rips;
service SimulationWell
{
rpc GetSimulationWellStatus(SimulationWellRequest) returns (SimulationWellStatus) {}
rpc GetSimulationWellCells(SimulationWellRequest) returns (SimulationWellCellInfoArray) {}
}
message SimulationWellRequest {
int32 case_id = 1;
string well_name = 2;
int32 timestep = 3;
}
message SimulationWellStatus
{
string well_type = 1;
bool is_open = 2;
}
message SimulationWellCellInfo {
Vec3i ijk = 1;
int32 grid_index = 2;
bool is_open = 3;
int32 branch_id = 4;
int32 segment_id = 5;
}
message SimulationWellCellInfoArray
{
repeated SimulationWellCellInfo data = 1;
}