def __str__(self) -> str:
     text = "[{}] Well ({}: {})\n" \
         .format(self.id, self.well.id, self.well.name)
     text += "DBObject: {}".format(AbstractDBObject.__str__(self))
     for assoc in self.log_values:
         text += "{}".format(str(assoc))
     return text
Beispiel #2
0
    def __str__(self) -> str:
        text = "[{}] {} - {}\n".format(self.id, "closed" if self.closed else "not closed", str(self.horizon))
        text += AbstractDBObject.__str__(self)
        text += "\npoints:\n"

        for point in self.points:
            text += "\n{}".format(str(point))

        return text
 def __str__(self):
     text = "{} [{}]\n".format(self.property_name, self.property_unit)
     text += AbstractDBObject.__str__(self)
     return text
 def __str__(self) -> str:
     text = "[{}] {}: {} (well_log.id: {})\n" \
         .format(self.id, self.depth, self.value, self.log_id)
     text += "DBObject: {}".format(AbstractDBObject.__str__(self))
     return text
 def __str__(self) -> str:
     text = "{} [{}]: {} - ".format(self.property_name, self.property_unit,
                                    self.prop_value)
     text += AbstractDBObject.__str__(self)
     return text
Beispiel #6
0
 def __str__(self) -> str:
     text = "{} - {} - {} - ".format(self.easting, self.northing, self.altitude)
     text += AbstractDBObject.__str__(self)
     return text
Beispiel #7
0
 def __str__(self) -> str:
     return "[{}] {}: {} - {}".format(self.id, self.depth, self.horizon, AbstractDBObject.__str__(self))