public Int32 UpdateExchangePacketConfig(ExchangePacketConfig exchangePacketConfig) { _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient(); try { int rs = _admin.UpdateExchangePacketConfig(exchangePacketConfig); _admin.Close(); return(rs); } catch (Exception ex) { _admin.CloseCatch(ex, "UpdateExchangePacketConfig failed"); return(0); } }