Rogii Solo.Calculations.Enums

EMeasureUnits

attribute METER_FOOT

Mixed unit system using both meters and feet.

attribute FOOT

Imperial unit system using feet.

attribute METER

Metric unit system using meters.

method includes(value)

Check if a value is a valid member of the EMeasureUnits enumeration.

ELogMeasureUnits

attribute METER

Metric unit using meters (m).

attribute FOOT

Imperial unit using feet (ft).

method convert_from_measure_units(value)

Convert a measure unit value to the corresponding log measure unit.

Module Contents

class EMeasureUnits

Bases: str, enum.Enum

An enumeration representing the measurement unit systems used in the Solo system.

METER_FOOT = 'METER_FOOT'

Mixed unit system using both meters and feet.

FOOT = 'FOOT'

Imperial unit system using feet.

METER = 'METER'

Metric unit system using meters.

classmethod includes(value)

Check if a value is a valid member of the EMeasureUnits enumeration.

Parameters:

value – The value to check.

Returns:

True if the value is a valid member, False otherwise.

class ELogMeasureUnits

Bases: str, enum.Enum

An enumeration representing the measurement units used in log data.

METER = 'm'

Metric unit using meters (m).

FOOT = 'ft'

Imperial unit using feet (ft).

classmethod convert_from_measure_units(value: EMeasureUnits)

Convert a measure unit value to the corresponding log measure unit.

Parameters:

value – The measure unit value to convert.

Returns:

The corresponding log measure unit.