Known
NamespaceΒΆ
Namespace: Known
.
- class zlogging.enum.known.ModbusDeviceType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
IntFlag
Enum:
Known::ModbusDeviceType
.- MODBUS_MASTER = 1
- MODBUS_SLAVE = 2
- static _generate_next_value_(name, start, count, last_values)
Generate the next value when not given.
name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None