public void recv_fetch_dadosLoja(ref DadosLoja dl) { DataPortable recv_dp_cont_dl = new DataPortable(); m_Comm.GetExitPortableAtPosition(0).GetMapContainer(COMM_OUT_FETCH_DADOSLOJA.dl, ref recv_dp_cont_dl); dl.Import(recv_dp_cont_dl); }
public override bool setup( ) { #region - SETUP TRANSACTION - Registry("setup ins_loja "); if (var_Comm.GetEntryPortCount() == 0) { Trace("# Communication Failed!"); return(false); } DataPortable dp_in = var_Comm.GetFirstEntryPortable(); if (dp_in.GetMapValue(COMM_IN_INS_LOJA.st_csv_empresas, ref input_st_csv_empresas) == false) { Trace("# COMM_IN_INS_LOJA.st_csv_empresas missing! "); return(false); } if (dp_in.GetMapValue(COMM_IN_INS_LOJA.st_csv_taxas, ref input_st_csv_taxas) == false) { Trace("# COMM_IN_INS_LOJA.st_csv_taxas missing! "); return(false); } if (dp_in.GetMapValue(COMM_IN_INS_LOJA.st_csv_dias, ref input_st_csv_dias) == false) { Trace("# COMM_IN_INS_LOJA.st_csv_dias missing! "); return(false); } DataPortable ct_1 = new DataPortable(); DataPortable ct_2 = new DataPortable(); if (var_Comm.GetEntryPortableAtPosition(1).GetMapContainer(COMM_IN_INS_LOJA.dl, ref ct_1) == false) { Trace("# COMM_IN_INS_LOJA.dl missing! "); return(false); } if (var_Comm.GetEntryPortableAtPosition(2).GetMapContainer(COMM_IN_INS_LOJA.header, ref ct_2) == false) { Trace("# COMM_IN_INS_LOJA.header missing! "); return(false); } input_cont_dl.Import(ct_1); input_cont_header.Import(ct_2); Registry("setup done ins_loja "); #endregion return(true); }