ShineInLightSourceControllerSerialPortInni 方法 |
名称 | 说明 | |
---|---|---|
SerialPortInni(String) |
初始化串口信息,57600波特率,8位数据位,1位停止位,偶校验 (重写 SerialBaseSerialPortInni(String).)Initial serial port information, 57600 baud rate, 8 data bits, 1 stop bit, even parity | |
SerialPortInni(ActionSerialPort) |
根据自定义初始化方法进行初始化串口信息 (继承自 SerialBase。)Initialize the serial port information according to the custom initialization method | |
SerialPortInni(String, Int32) |
初始化串口信息,波特率,8位数据位,1位停止位,偶校验 (重写 SerialBaseSerialPortInni(String, Int32).)Initializes serial port information, baud rate, 8-bit data bit, 1-bit stop bit, even parity | |
SerialPortInni(String, Int32, Int32, StopBits, Parity) |
初始化串口信息,波特率,数据位,停止位,奇偶校验需要全部自己来指定 (继承自 SerialBase。)Start serial port information, baud rate, data bit, stop bit, parity all need to be specified |