/// <summary>
 /// 画二维码
 /// </summary>
 /// <param name="x">二维码起始x坐标</param>
 /// <param name="y">二维码起始y坐标</param>
 /// <param name="text">二维码内容</param>
 /// <param name="unitWidth">模块的单位宽度。(1-32)</param>
 /// <param name="errorLevel">二维码纠错级别</param>
 /// <param name="rotation">旋转角度</param>
 public CPCLPrintCommand DrawQrCode(int x, int y, string text, QrCodeUnitSize unitWidth, QrCodeCorrectionLevel errorLevel, RotationAngle rotation)
 {
     if (!string.IsNullOrWhiteSpace(text))
     {
         DrawQrCode(x, y, text, (int)unitWidth, (int)errorLevel, (int)rotation);
     }
     return(this);
 }
 /// <summary>
 /// 打印二维码
 /// </summary>
 /// <param name="startX">二维码起始x坐标</param>
 /// <param name="startY">二维码起始y坐标</param>
 /// <param name="text">二维码内容</param>
 /// <param name="unitWidth">模块的单位宽度。(1-32)</param>
 /// <param name="level">纠错级别</param>
 /// <param name="rotation">旋转角度</param>
 public IBluetoothPrinterProtocol DrawQrCode(int startX, int startY, string text, QrCodeUnitSize unitWidth,
                                             QrCodeCorrectionLevel level, RotationAngle rotation)
 {
     if (!string.IsNullOrWhiteSpace(text))
     {
         Client.DrawQrCode(startX, startY, text, (int)unitWidth, (int)level, (int)rotation);
     }
     return(this);
 }