Advertisement
gkpoll

Untitled

Feb 12th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.51 KB | None | 0 0
  1.  
  2.     public class ComAuto_GEDRecebimentoProtocolos_LinhaArquivoCSV
  3.     {
  4.         private IdentificationNumber DESTINATARIO;
  5.         private string PROTOCOLO1;
  6.         private string DOCS_PROTOCOLO1;
  7.         private string PROTOCOLO2;
  8.         private string DOCS_PROTOCOLO2;
  9.         private string ENTRE_OUTROS;
  10.  
  11.         public ComAuto_GEDRecebimentoProtocolos_LinhaArquivoCSV(
  12.          IdentificationNumber pDESTINATARIO,
  13.          string pPROTOCOLO1,
  14.          string pDOCS_PROTOCOLO1,
  15.          string pPROTOCOLO2,
  16.          string pDOCS_PROTOCOLO2,
  17.          string pENTRE_OUTROS)
  18.         {
  19.             DESTINATARIO = pDESTINATARIO;
  20.             PROTOCOLO1 = pPROTOCOLO1;
  21.             DOCS_PROTOCOLO1 = pDOCS_PROTOCOLO1;
  22.             PROTOCOLO2 = pPROTOCOLO2;
  23.             DOCS_PROTOCOLO2 = pDOCS_PROTOCOLO2;
  24.             ENTRE_OUTROS = pENTRE_OUTROS;
  25.         }
  26.  
  27.         public void adicionaNaTabelaBaseCSV(DataTable tabelaBase)
  28.         {
  29.             tabelaBase.Rows.Add(
  30.                ComunicacoesAutomaticas.verificaPontoVirgula(DESTINATARIO.ToString(false)),
  31.                ComunicacoesAutomaticas.verificaPontoVirgula(PROTOCOLO1),
  32.                ComunicacoesAutomaticas.verificaPontoVirgula(DOCS_PROTOCOLO1),
  33.                ComunicacoesAutomaticas.verificaPontoVirgula(PROTOCOLO2),
  34.                ComunicacoesAutomaticas.verificaPontoVirgula(DOCS_PROTOCOLO2),
  35.                ComunicacoesAutomaticas.verificaPontoVirgula(ENTRE_OUTROS));
  36.         }
  37.     } // fim ComAuto_GEDRecebimentoProtocolos_LinhaArquivoCSV
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement