File: current.py

package info (click to toggle)
python-measurement 2.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 332 kB
  • sloc: python: 1,327; makefile: 137
file content (18 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from measurement.base import MeasureBase


__all__ = [
    'Current'
]


class Current(MeasureBase):
    STANDARD_UNIT = 'A'
    UNITS = {
        'A': 1.0,
    }
    ALIAS = {
        'amp': 'A',
        'ampere': 'A',
    }
    SI_UNITS = ['A']