Advertisement
gkpoll

Untitled

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