void OnClickChangeChannel()
    {
        if (null == InputChannel)
        {
            LogModule.ErrorLog("InputChannel  can't find ");
            return;
        }
        if (string.IsNullOrEmpty(InputChannel.value))
        {
            //MessageBoxLogic.OpenOKBox(1288, 1000);
            MessageBoxLogic.OpenOKBox(2174, 1000);
            return;
        }
        int nChannelID = -1;

        if (!int.TryParse(InputChannel.value, out nChannelID))
        {
            MessageBoxLogic.OpenOKBox(2174, 1000);
            return;
        }
        nChannelID = nChannelID - 1;
        if (nChannelID >= 0 && nChannelID != SceneData.SceneInst && SceneData.SceneInstList.Contains(nChannelID))
        {
            CG_SCENE_CHANGEINST packet = (CG_SCENE_CHANGEINST)PacketDistributed.CreatePacket(MessageID.PACKET_CG_SCENE_CHANGEINST);
            packet.SetSceneInst(nChannelID);
            packet.SendPacket();
            UIManager.CloseUI(UIInfo.ChannelChange);
        }
        else
        {
            MessageBoxLogic.OpenOKBox(2174, 1000);
        }
    }
    public void OnChangeChannel(ChannelListItem item)
    {
        int channelID;

        if (int.TryParse(item.name, out channelID))
        {
            if (channelID != SceneData.SceneInst && SceneData.SceneInstList.Contains(channelID))
            {
                CG_SCENE_CHANGEINST packet = (CG_SCENE_CHANGEINST)PacketDistributed.CreatePacket(MessageID.PACKET_CG_SCENE_CHANGEINST);
                packet.SetSceneInst(channelID);
                packet.SendPacket();
            }
        }

        UIManager.CloseUI(UIInfo.ChannelChange);
    }