ResInsight/ApplicationCode/GrpcInterface/Python/rips/well.py

18 lines
392 B
Python
Raw Normal View History

2020-02-11 07:52:01 -06:00
"""
ResInsight Well
"""
import rips.generated.Commands_pb2 as Cmd
from rips.pdmobject import PdmObject
class Well(PdmObject):
"""ResInsight well class
Attributes:
name(string): Name of the well.
"""
def __init__(self, name, pdm_object):
PdmObject.__init__(self, pdm_object.pb2_object(), pdm_object.channel(), pdm_object.project())
self.name = name