public void getPtzAttr(string puId, int channelNo) { Session.Channel channel = m_session.getChannel(puId, channelNo); if (channel == null) { return; } BVCU.ManagedLayer_CuGetPuPtzAttr(m_bvcuSdkHandle, m_session.Handle, Encoding.UTF8.GetBytes(puId), channel.ptzIdx, m_eventHandler.onGetPtzAttr); }