Skip to content

Measurand¤

Represents the measurand element in an equipment register.

Parameters:

Name Type Description Default
quantity str

The kind of quantity that is measured.

required
calibration_interval float

The number of years that may pass between a calibration or a performance check. For equipment that do not have a required and periodic interval, but are calibrated on demand, use the value 0.

required
components tuple[Component, ...]

The components of the equipment that measures the quantity.

()

calibration_interval instance-attribute ¤

calibration_interval: float

The number of years that may pass between a calibration or a performance check.

For equipment that do not have a required and periodic interval, but are calibrated on demand, the value is 0.

components class-attribute instance-attribute ¤

components: tuple[Component, ...] = ()

The components of the equipment that measures the quantity.

quantity instance-attribute ¤

quantity: str

The kind of quantity that is measured.

from_xml classmethod ¤

from_xml(element: Element[str]) -> Measurand

Convert an XML element into a Measurand instance.

Parameters:

Name Type Description Default
element Element[str]

A measurand XML element from an equipment register.

required

Returns:

Type Description
Measurand

The Measurand instance.

to_xml ¤

to_xml() -> Element[str]

Convert the Measurand class into an XML element.

Returns:

Type Description
Element[str]

The Measurand as an XML element.