Commit e0dc2e00 authored by GromeTT's avatar GromeTT
Browse files

ENH: Added documentation for AcceptsLogMeasurements

parent 09f28cb9
"""This module implements the class AcceptsLogMeasurements."""
from ml.ml40.features.functionalities.functionality import Functionality
from import LogMeasurement
class AcceptsLogMeasurements(Functionality):
"""This functionality signalizes that LogMeasurements can be processed."""
def __init__(self, name="", identifier=""):
"""Initializes the object.
:param name: Object name
:param identifier: Identifier
def acceptLogMeasurement(self, log_measurement: LogMeasurement) -> bool:
"""Accepts the given LogMeasurement. Returns true if the job has been
accepted, otherwise returns false.
:param job: FellingJob to be accepted
:rtype: bool
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment