meb_debugging #8
|
@ -46,7 +46,7 @@ class Fuel:
|
||||||
return self._fixed_power
|
return self._fixed_power
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def variable(self) -> Union[(None, None), (float, str)]:
|
def variable(self) -> Union[tuple[None, None], tuple[float, str]]:
|
||||||
"""
|
"""
|
||||||
Get variable costs in given units
|
Get variable costs in given units
|
||||||
:return: None, None or float, str
|
:return: None, None or float, str
|
||||||
|
|
|
@ -36,7 +36,7 @@ class ItemDescription:
|
||||||
return self._item_type
|
return self._item_type
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def initial_investment(self) -> Union[(None, None), (float, str)]:
|
def initial_investment(self) -> Union[tuple[None, None], tuple[float, str]]:
|
||||||
"""
|
"""
|
||||||
Get initial investment of the specific item in given units
|
Get initial investment of the specific item in given units
|
||||||
:return: None, None or float, str
|
:return: None, None or float, str
|
||||||
|
@ -44,7 +44,7 @@ class ItemDescription:
|
||||||
return self._initial_investment, self._initial_investment_unit
|
return self._initial_investment, self._initial_investment_unit
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def refurbishment(self) -> Union[(None, None), (float, str)]:
|
def refurbishment(self) -> Union[tuple[None, None], tuple[float, str]]:
|
||||||
"""
|
"""
|
||||||
Get refurbishment costs of the specific item in given units
|
Get refurbishment costs of the specific item in given units
|
||||||
:return: None, None or float, str
|
:return: None, None or float, str
|
||||||
|
@ -52,7 +52,7 @@ class ItemDescription:
|
||||||
return self._refurbishment, self._refurbishment_unit
|
return self._refurbishment, self._refurbishment_unit
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def reposition(self) -> Union[(None, None), (float, str)]:
|
def reposition(self) -> Union[tuple[None, None], tuple[float, str]]:
|
||||||
"""
|
"""
|
||||||
Get reposition costs of the specific item in given units
|
Get reposition costs of the specific item in given units
|
||||||
:return: None, None or float, str
|
:return: None, None or float, str
|
||||||
|
|
Loading…
Reference in New Issue
Block a user