com.pax.dal.entity
Class UartParam
- java.lang.Object
-
- com.pax.dal.entity.UartParam
-
public class UartParam extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description UartParam()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetAttr()通信速度和格式attributeEUartPortgetPort()voidsetAttr(java.lang.String attr)设置通信速度和格式 。set Communication attributionvoidsetPort(EUartPort port)
-
-
-
Constructor Detail
-
UartParam
public UartParam()
-
-
Method Detail
-
getAttr
public java.lang.String getAttr()
通信速度和格式attribute- Returns:
-
setAttr
public void setAttr(java.lang.String attr)
设置通信速度和格式 。set Communication attribution- Parameters:
attr-通信速度和格式。格式例如:“9600,8,N,1”表示波特率9600bps;数据位8;无奇偶校验;1位停止位。”,“将用于分割字符。不支持{"115200,7,o,1","115200,7,e,1" ,"115200,7,e,2","115200,8,o,1","115200,8,e,1","115200,8,e,2"}Communication speed
format For example: "9600,8,n,1" represents that the baud rate is 9600bps;
8 data bits; no parity; 1 stop bit."," will be used to separating characters. not support{"115200,7,o,1","115200,7,e,1","115200,7,e,2","115200,8,o,1","115200,8,e,1","115200,8,e,2"}
-
-