2013-05-10 07:43:03 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2011-2012 Statoil ASA, Ceetron AS
|
|
|
|
//
|
|
|
|
// ResInsight is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2018-02-20 01:03:37 -06:00
|
|
|
#include "../ApplicationCode/SocketInterface/RiaSocketServerDefines.h"
|
2013-05-22 02:18:57 -05:00
|
|
|
|
2013-05-13 14:15:38 -05:00
|
|
|
namespace riOctavePlugin
|
2013-05-10 07:43:03 -05:00
|
|
|
{
|
2013-10-01 04:39:46 -05:00
|
|
|
const int connectTimeOutMilliSecs = 5000;
|
2014-06-30 05:00:41 -05:00
|
|
|
const int shortTimeOutMilliSecs = 1000;
|
2013-10-01 04:39:46 -05:00
|
|
|
const int longTimeOutMilliSecs = 6000000;
|
2013-05-13 14:15:38 -05:00
|
|
|
|
2014-04-03 01:16:15 -05:00
|
|
|
const int socketMaxByteCount = 100000;
|
|
|
|
|
2013-05-15 03:44:55 -05:00
|
|
|
// Octave data structure : CaseInfo
|
2013-05-14 07:28:07 -05:00
|
|
|
char caseInfo_CaseId[] = "CaseId";
|
|
|
|
char caseInfo_CaseName[] = "CaseName";
|
|
|
|
char caseInfo_CaseType[] = "CaseType";
|
|
|
|
char caseInfo_CaseGroupId[] = "CaseGroupId";
|
2013-05-15 03:44:55 -05:00
|
|
|
|
2013-08-30 08:26:35 -05:00
|
|
|
// Octave data structure: PropertyInfo
|
|
|
|
char propertyInfo_PropName[] = "PropName";
|
|
|
|
char propertyInfo_PropType[] = "PropType";
|
|
|
|
|
2013-09-04 01:03:11 -05:00
|
|
|
// Octave data structure: WellStatus
|
|
|
|
char wellStatus_WellType[] = "WellType";
|
|
|
|
char wellStatus_WellStatus[] = "WellStatus";
|
|
|
|
|
2013-05-15 03:44:55 -05:00
|
|
|
// Octave data structure : CaseGroupInfo
|
|
|
|
char caseGroupInfo_CaseGroupId[] = "CaseGroupId";
|
2013-10-06 14:50:27 -05:00
|
|
|
char caseGroupInfo_CaseGroupName[] = "CaseGroupName";
|
2013-05-16 06:43:37 -05:00
|
|
|
|
2013-09-04 05:57:36 -05:00
|
|
|
// Octave data structure : WellCellInfo
|
|
|
|
char wellCellInfo_I[] = "I";
|
|
|
|
char wellCellInfo_J[] = "J";
|
|
|
|
char wellCellInfo_K[] = "K";
|
|
|
|
char wellCellInfo_GridIndex [] = "GridIndex";
|
|
|
|
char wellCellInfo_CellStatus[] = "CellStatus";
|
|
|
|
char wellCellInfo_BranchId[] = "BranchId";
|
|
|
|
char wellCellInfo_SegmentId[] = "SegmentId";
|
|
|
|
|
2013-05-16 06:43:37 -05:00
|
|
|
// Octave data structure : TimeStepDate
|
|
|
|
char timeStepDate_Year[] = "Year";
|
|
|
|
char timeStepDate_Month[] = "Month";
|
|
|
|
char timeStepDate_Day[] = "Day";
|
|
|
|
char timeStepDate_Hour[] = "Hour";
|
|
|
|
char timeStepDate_Minute[] = "Minute";
|
|
|
|
char timeStepDate_Second[] = "Second";
|
2017-06-29 02:07:21 -05:00
|
|
|
|
|
|
|
// Octave data structure : CellIndex
|
|
|
|
char cellIndex_gridIndex[] = "GridIndex";
|
|
|
|
char cellIndex_I[] = "I";
|
|
|
|
char cellIndex_J[] = "J";
|
|
|
|
char cellIndex_K[] = "K";
|
2013-05-14 08:14:39 -05:00
|
|
|
}
|
2013-05-14 07:28:07 -05:00
|
|
|
|