Exemplo n.º 1
0
        /// <summary>
        /// 从推理引擎模块获取CDSS支持的触发事件
        /// </summary>
        /// <param name="lstEventModels"></param>
        /// <returns></returns>
        public static bool ObtainInfernceEvents(ref List <FunctionTypeDef.EventModels> lstEventModels)
        {
            //TODO:获取CDSS支持的触发事件
            List <vMRClsDef.TriggeringEvent> lstInferenceEvents = new List <vMRClsDef.TriggeringEvent>();

            vMRFunDef.ObtainInferEvents(ref lstInferenceEvents);

            for (int i = 0; i < lstInferenceEvents.Count; i++)
            {
                FunctionTypeDef.EventModels oEventModel = new FunctionTypeDef.EventModels();
                oEventModel.strEventENName            = lstInferenceEvents[i].oEvent.strEventName;
                oEventModel.oDisease.strDiseaseCNName = lstInferenceEvents[i].oDisease.strDiseaseCNName;
                oEventModel.em_InferenceResultType
                    = DataMapper.MapInferResultTypevMRtoFunction(lstInferenceEvents[i].m_emInferenceResultType);
                lstEventModels.Add(oEventModel);
            }
            return(true);
        }
 public StructedConclude()
 {
     oEventModel = new FunctionTypeDef.EventModels();
     lstConclude = new List <vMRClsDef.DataModel>();
 }
 public StructedConclude()
 {
     oEventModel = new FunctionTypeDef.EventModels();
     lstConclude = new List<vMRClsDef.DataModel>();
 }