コード例 #1
0
ファイル: gridcasegroup.py プロジェクト: ysx1993/ResInsight
def create_statistics_case(self):
    """Create a Statistics case in the Grid Case Group

    Returns:
        :class:`rips.generated.resinsight_classes.EclipseCase`
    """
    command_reply = self._execute_command(
        createStatisticsCase=Commands_pb2.CreateStatisticsCaseRequest(
            caseGroupId=self.group_id))
    return Case(self.channel, command_reply.createStatisticsCaseResult.caseId)
コード例 #2
0
ファイル: Commands.py プロジェクト: cxz/ResInsight
 def createStatisticsCase(self, caseGroupId):
     commandReply = self.__execute(createStatisticsCase=Cmd.CreateStatisticsCaseRequest(caseGroupId=caseGroupId))
     return commandReply.createStatisticsCaseResult.caseId;