,--------------------------------------. | | ,---------------------------------------. |--------------------------------------| |SerialPort | |Skinparam classBorderColor LightYellow| |---------------------------------------| |hide circle | |+Baud : int | |class Nmea0183Device { | |+Parity : ParityTypes | | {static} @SerialPort(9600,N,8,1) |--|+DataBits: int | |} | |+StopBits: StopBitTypes | |}} | |+ctor(Baud, Parity, DataBits, StopBits)| | | `---------------------------------------' `--------------------------------------' ,-----------. ,------------------. |ParityTypes| |StopBitTypes | |-----------| |------------------| |None {N} | |None {0} | |Odd {O} | |One {1} | |Even {E} | |Two {2} | |Mark {M} | |OnePointFive {1.5}| |Space {S} | `------------------' `-----------'