public override bool setup( ) { #region - SETUP TRANSACTION - Registry("setup type_base "); if (var_Comm.GetEntryPortCount() == 0) { Trace("# Communication Failed!"); return(false); } DataPortable ct_0 = new DataPortable(); if (var_Comm.GetEntryPortableAtPosition(0).GetMapContainer(COMM_IN_TYPE_BASE.header, ref ct_0) == false) { Trace("# COMM_IN_TYPE_BASE.header missing! "); return(false); } input_cont_header.Import(ct_0); Registry("setup done type_base "); #endregion return(true); }
public void recv_exec_login(ref string tg_trocaSenha, ref CNetHeader header) { DataPortable recv_dp = m_Comm.GetFirstExitPortable(); recv_dp.GetMapValue(COMM_OUT_EXEC_LOGIN.tg_trocaSenha, ref tg_trocaSenha); DataPortable recv_dp_cont_header = new DataPortable(); m_Comm.GetExitPortableAtPosition(1).GetMapContainer(COMM_OUT_EXEC_LOGIN.header, ref recv_dp_cont_header); header.Import(recv_dp_cont_header); }