public DataTransceiver(LogReceiveDelegate logReceiveDelegate)
        {
            this.logReceiveDelegate = logReceiveDelegate;
            DataReceiveDelegate dataReceiveDelegate = new DataReceiveDelegate(dataReceive);

            serialPort = new BasicSerialPort(dataReceiveDelegate);
            logAppender = new LogAppender(logReceiveDelegate);
        }
 /// <summary>
 /// 通信を開始する
 /// </summary>
 /// <param name="portName"></param>
 public bool connect(string portName)
 {
     logAppender = new LogAppender(logReceiveDelegate);
     return serialPort.connect(portName);
 }