private void ClearBufferData()
 {
     fCmdRet = RWDev.ClearBuffer_G2(ref fComAdr, frmcomportindex);
     if (fCmdRet == 0)
     {
         string strLog = "Clear buffer success ";
         //   WriteLog(lrtxtLog, strLog, 0);
     }
     else
     {
         string strLog = "Clear buffer failed";
         //  WriteLog(lrtxtLog, strLog, 0);
     }
 }