private void HandleIpRegister() { int lparam = 1; if (m_buf[12] == 0x01 && m_buf[13] == 0x00) { m_txt = "切换配置(" + m_in_specoffice + ")成功……OK\r\n>"; m_in_lr.b2b.lr.SwitchConfig(m_ipid_dest); } else { lparam = 0; m_txt = "切换配置(" + m_in_specoffice + ")失败……\r\n>"; } Imported.SendMessage(0xFFFF, (int)Imported.egMsg.SWITCH_CONFIG_RESULT, 0, lparam);//用于配置共享 }