Use enum instead of string

This commit is contained in:
Magne Sjaastad committed 2023-11-17 09:53:30 +01:00
1 parent 82e0866f00
commit a78f8f8982
2 files changed
+14 -6

No files matched your search

@@ -31,6 +31,7 @@ class RicSaveEclipseInputVisibleCellsUi : public caf::PdmObject
CAF_PDM_HEADER_INIT;
public:
// Values are exposed in gRPC .proto. Do not change without also changing .proto
enum ExportKeyword
{
FLUXNUM,
+13 -6
View File
@@ -144,14 +144,21 @@ message ExportWellPathRequest
double mdStepSize = 2;
}
enum ExportVisibleCellsKeywordType
{
FLUXNUM = 0;
MULTNUM = 1;
ACTNUM = 2;
}
message ExportVisibleCellsRequest
{
int32 caseId = 1;
int32 viewId = 2;
string exportKeyword = 3;
int32 visibleActiveCellsValue = 4;
int32 hiddenActiveCellsValue = 5;
int32 inactiveCellsValue = 6;
int32 caseId = 1;
int32 viewId = 2;
ExportVisibleCellsKeywordType exportKeyword = 3;
int32 visibleActiveCellsValue = 4;
int32 hiddenActiveCellsValue = 5;
int32 inactiveCellsValue = 6;
}
enum ExportFolderType {