File: current.py

package info (click to toggle)
python-measurement 1.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 316 kB
  • ctags: 242
  • sloc: python: 1,350; makefile: 133
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']