Commit 5877283c by guof

Merge branch 'feature-1007583' into 'release'

过滤特殊的sn02

See merge request !89
parents 35c19ac6 50f755c4
......@@ -477,7 +477,7 @@ void CameraHandle::sdkDevSnapSyn(XSDK_HANDLE hDevice, int nChannel){
cv::Mat image;
MediaFaceImage* mediaFaceImage= MediaFaceImage::getInstance();
qint64 currentTime= QDateTime::currentSecsSinceEpoch();
int ret =-1;
int ret =0;
if(sSn!="9189806d008ac359"){
ret=mediaFaceImage->FaceImageCallBack(hDevice,nChannel, image,sSn);
}
......
......@@ -179,9 +179,9 @@ bool MainWindow::getDeviceStatus(int UserId) {
if(UserId<0)return false;
bool devStatus =NET_DVR_RemoteControl(UserId, NET_DVR_CHECK_USER_STATUS, nullptr, 0);
if (devStatus) {
qInfo() << "设备在线";
qInfo() << "NET_DVR_RemoteControl 设备在线";
} else {
qInfo() << "设备不在线";
qInfo() << "NET_DVR_RemoteControl 设备不在线";
}
return devStatus;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment