コード例 #1
0
 public SerialReaderWriter(SerialSettings settings)
 {
     _statistics = new Statistics();
     spManager.CurrentSerialSettings = settings;
 }
コード例 #2
0
 public SerialReaderWriter(int baudrate = 115200, string comport = "COM2")
 {
     _statistics = new Statistics();
     spManager.CurrentSerialSettings.BaudRate = baudrate;
     spManager.CurrentSerialSettings.PortName = comport;
 }