mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
Use enum instead of string
This commit is contained in:
parent
82e0866f00
commit
a78f8f8982
@ -31,6 +31,7 @@ class RicSaveEclipseInputVisibleCellsUi : public caf::PdmObject
|
|||||||
CAF_PDM_HEADER_INIT;
|
CAF_PDM_HEADER_INIT;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
// Values are exposed in gRPC .proto. Do not change without also changing .proto
|
||||||
enum ExportKeyword
|
enum ExportKeyword
|
||||||
{
|
{
|
||||||
FLUXNUM,
|
FLUXNUM,
|
||||||
|
@ -144,11 +144,18 @@ message ExportWellPathRequest
|
|||||||
double mdStepSize = 2;
|
double mdStepSize = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum ExportVisibleCellsKeywordType
|
||||||
|
{
|
||||||
|
FLUXNUM = 0;
|
||||||
|
MULTNUM = 1;
|
||||||
|
ACTNUM = 2;
|
||||||
|
}
|
||||||
|
|
||||||
message ExportVisibleCellsRequest
|
message ExportVisibleCellsRequest
|
||||||
{
|
{
|
||||||
int32 caseId = 1;
|
int32 caseId = 1;
|
||||||
int32 viewId = 2;
|
int32 viewId = 2;
|
||||||
string exportKeyword = 3;
|
ExportVisibleCellsKeywordType exportKeyword = 3;
|
||||||
int32 visibleActiveCellsValue = 4;
|
int32 visibleActiveCellsValue = 4;
|
||||||
int32 hiddenActiveCellsValue = 5;
|
int32 hiddenActiveCellsValue = 5;
|
||||||
int32 inactiveCellsValue = 6;
|
int32 inactiveCellsValue = 6;
|
||||||
|
Loading…
Reference in New Issue
Block a user