hat.drivers.iec60870.link

IEC 60870-5 link layer

1"""IEC 60870-5 link layer"""
2
3from hat.drivers.iec60870.link.common import Address, AddressSize
4
5
6__all__ = ['Address',
7           'AddressSize']
Address = int | None
class AddressSize(enum.Enum):
17class AddressSize(enum.Enum):
18    ZERO = 0
19    ONE = 1
20    TWO = 2

An enumeration.

ZERO = <AddressSize.ZERO: 0>
ONE = <AddressSize.ONE: 1>
TWO = <AddressSize.TWO: 2>