Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KWH40
fml40-reference-implementation
Commits
e0dc2e00
Commit
e0dc2e00
authored
Dec 02, 2020
by
GromeTT
Browse files
ENH: Added documentation for AcceptsLogMeasurements
parent
09f28cb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ml/fml40/features/functionalities/accepts_log_measurements.py
View file @
e0dc2e00
"""This module implements the class AcceptsLogMeasurements."""
from
ml.ml40.features.functionalities.functionality
import
Functionality
from
ml.fml40.features.properties.values.documents.reports.log_measurement
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
"""
super
().
__init__
(
name
=
name
,
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
"""
pass
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment