private void GerarRegistro60R() { ACBrSintegraInterop.Registro60RRec[] record = new ACBrSintegraInterop.Registro60RRec[Registro60R.Count]; for (int i = 0; i < Registro60R.Count; i++) { record[i].BaseDeCalculo = Convert.ToDouble(Registro60R[i].BaseDeCalculo); record[i].Valor = Convert.ToDouble(Registro60R[i].Valor); record[i].Qtd = Convert.ToDouble(Registro60R[i].Qtd); record[i].MesAno = Registro60R[i].MesAno; record[i].Codigo = Registro60R[i].Codigo; record[i].Aliquota = Registro60R[i].Aliquota; } int ret = ACBrSintegraInterop.SIN_Registro60R(this.Handle, record, Registro60R.Count); CheckResult(ret); }