public List <SearchItemV3_1> GetTaskList()
        {
            List <SearchItemV3_1> list = null;

            switch (AnalyseFilter)
            {
            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_NOUSE:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_MOVEOBJ:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_VEHICLE:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_FACE_DYNAMIC:
                list = m_viewModel.GetAllFaceEventTaskItems();
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_BRIEAF:
                break;

            // 运动物检索
            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_MOVEOBJ_PLATFORM:
                list = m_viewModel.GetAllMoveObjectSearchItems();
                break;

            // 交通事件 --全部实时
            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_CROSSROAD:
                list = m_viewModel.GetAllTrafficEventTaskItems();
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_ACCIDENT_ALARM:
                break;

            // 行为 --全部实时
            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_BEHAVIOR_ALARM:
                list = m_viewModel.GetAllBehaviourEventTaskItems();
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_SPECIAL_EFFECT_WIPEOFF_FOG:
                break;

            //大客流 --全部实时
            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_CROWD:
                list = m_viewModel.GetAllCrowdEventRealTimeTaskItems();
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_PERSON_COUNT:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_IMAGE_SEARCH:
                break;

            default:
                break;
            }
            return(list);
        }
Example #2
0
        public void InitTaskRoot()
        {
            List <SearchItemV3_1> list = null;

            switch (AnalyseFilter)
            {
            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_NOUSE:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_MOVEOBJ:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_VEHICLE:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_FACE:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_BRIEAF:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_MOVEOBJ_PLATFORM:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_CROSSROAD:
                list = m_viewModel.GetAllTrafficEventTaskItems();
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_ACCIDENT_ALARM:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_BEHAVIOR_ALARM:
                list = m_viewModel.GetAllBehaviourEventTaskItems();
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_SPECIAL_EFFECT_WIPEOFF_FOG:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_CROWD:
                list = m_viewModel.GetAllCrowdEventRealTimeTaskItems();
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_PERSON_COUNT:
                break;

            case E_VIDEO_ANALYZE_TYPE.E_ANALYZE_IMAGE_SEARCH:
                break;

            default:
                break;
            }
            InitTree(advTreeUnSel, list);
        }