init
This commit is contained in:
23
lib/enums/serial_parity.dart
Normal file
23
lib/enums/serial_parity.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
/// 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);
|
||||
}
|
||||
Reference in New Issue
Block a user