void getChannel(Channel chnl, BVCU_PUOneChannelInfo channel) { chnl.channelName = channel.szName; BVCU.AVDirection avDir = BVCU.GetAVDirection(channel.iMediaDir); chnl.audioPlayback = avDir.audioRecv; chnl.speak = avDir.audioSnd; chnl.video = avDir.videoRecv; chnl.ptzIdx = channel.iPTZIndex; chnl.channelNo = channel.iChannelIndex; }