#region //相机释放
public bool ReleaseCam()
{
if (!m_bCamIsOK)
return false;
int nRet;
//停止采集
stopGrab();
//关闭相机
nRet = camera.MV_CC_CloseDevice_NET();
//销毁相机
nRet =camera.MV_CC_DestroyDevice_NET();
}
#endregion
SetEnumValue这个方法有没有写,你把关于海康相机SDK的所有文章看完,
关于返回值的问题,文章中应该有写,要仔细看,我回头检查下我的文章有没有写