public bool DelRealAnalyse(uint analyseID) { if (analyseID > 0) { var ana = IVXProtocol.IasSdk_GetRTAnalysisInfoByID(m_loginID, analyseID); if (ana != null) { AdpsEventService.DelEventBy(ana.realAnalyseParam.dwAnalysisPlanID, ana.realAnalyseParam.realCameraInfo.szCameraID, Convert.ToUInt32(ana.realAnalyseParam.eAlgthmType)); } IVXProtocol.IasSdk_DelAnalysis(m_loginID, analyseID); if (AnalyseDeleted != null) { AnalyseDeleted(analyseID, null); } return(true); } else { if (AnalyseDeleted != null) { AnalyseDeleted(analyseID, null); } return(true); } }
private RealAnalyseInfo GetRealAnalysisByID(uint realAnalysisID) { try { return(IVXProtocol.IasSdk_GetRTAnalysisInfoByID(m_loginIDRias, realAnalysisID)); } catch (SDKCallException ex) { return(null); } }
private bool DelRealAnalyse(uint analyseID) { if (analyseID > 0) { var ana = IVXProtocol.IasSdk_GetRTAnalysisInfoByID(m_loginIDRias, analyseID); if (ana != null) { DelEventBy(ana.realAnalyseParam.dwAnalysisPlanID, ana.realAnalyseParam.realCameraInfo.szCameraID, Convert.ToUInt32(ana.realAnalyseParam.eAlgthmType)); } IVXProtocol.IasSdk_DelAnalysis(m_loginIDRias, analyseID); return(true); } else { return(true); } }
public RealAnalyseInfo GetRealAnalyseBy(uint statid) { return(IVXProtocol.IasSdk_GetRTAnalysisInfoByID(m_loginIDRias, statid)); }