2023-05-26 12:31:24 -07:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class UnitCurrent(str, Enum):
|
2023-11-27 16:01:20 -08:00
|
|
|
"""The valid types of current units.""" # noqa: E501
|
2023-05-26 12:31:24 -07:00
|
|
|
|
2023-11-27 16:01:20 -08:00
|
|
|
"""# Amperes <https://en.wikipedia.org/wiki/Ampere> """ # noqa: E501
|
|
|
|
AMPERES = "amperes"
|
|
|
|
"""# Microamperes <https://en.wikipedia.org/wiki/Microampere> """ # noqa: E501
|
|
|
|
MICROAMPERES = "microamperes"
|
|
|
|
"""# Milliamperes <https://en.wikipedia.org/wiki/Milliampere> """ # noqa: E501
|
|
|
|
MILLIAMPERES = "milliamperes"
|
|
|
|
"""# Nanoamperes <https://en.wikipedia.org/wiki/Nanoampere> """ # noqa: E501
|
|
|
|
NANOAMPERES = "nanoamperes"
|
|
|
|
|
|
|
|
def __str__(self) -> str:
|
|
|
|
return str(self.value)
|