Files
printer/lib/enums/serial_parity.dart
Developer cae04eead5 init
2026-05-18 17:52:16 +08:00

24 lines
389 B
Dart

/// Parity setting for serial port communication.
///
/// Maps to the autoreplyprint AAR SDK parity constants.
enum SerialParity {
/// No parity
none(0),
/// Odd parity
odd(1),
/// Even parity
even(2),
/// Mark parity
mark(3),
/// Space parity
space(4);
/// The integer value matching the AAR SDK constant.
final int value;
const SerialParity(this.value);
}