init
This commit is contained in:
17
lib/enums/serial_stop_bits.dart
Normal file
17
lib/enums/serial_stop_bits.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
/// Stop bits setting for serial port communication.
|
||||
///
|
||||
/// Maps to the autoreplyprint AAR SDK stop bits constants.
|
||||
enum SerialStopBits {
|
||||
/// 1 stop bit
|
||||
one(0),
|
||||
|
||||
/// 1.5 stop bits
|
||||
onePointFive(1),
|
||||
|
||||
/// 2 stop bits
|
||||
two(2);
|
||||
|
||||
/// The integer value matching the AAR SDK constant.
|
||||
final int value;
|
||||
const SerialStopBits(this.value);
|
||||
}
|
||||
Reference in New Issue
Block a user