public BasicResponse <List <JC_LargedataAnalysisConfigInfo> > GetLargeDataAnalysisConfigCacheWithEmergencyLinkage(LargeDataAnalysisCacheClientGetAllRequest getAllRequest)
 {
     return(largeDataAnalysisCacheClientService.GetLargeDataAnalysisConfigCacheWithEmergencyLinkage(getAllRequest));
 }
 public BasicResponse <List <JC_LargedataAnalysisConfigInfo> > GetAllLargeDataAnalysisConfigCache(LargeDataAnalysisCacheClientGetAllRequest getAllRequest)
 {
     return(largeDataAnalysisConfigCacheService.GetAllLargeDataAnalysisConfigCache(new Sys.Safety.Request.Cache.LargeDataAnalysisConfigCacheGetAllRequest()));
 }
 /// <summary>
 /// 获取有触发应急联动的实时分析结果.
 /// </summary>
 /// <param name="getAllRequest">没有参数的请求</param>
 /// <returns>触发应急联动的实时分析结果</returns>
 public BasicResponse <List <JC_LargedataAnalysisConfigInfo> > GetLargeDataAnalysisConfigCacheWithEmergencyLinkage(LargeDataAnalysisCacheClientGetAllRequest getAllRequest)
 {
     return(largeDataAnalysisConfigCacheService.GetLargeDataAnalysisConfigCache(new Sys.Safety.Request.Cache.LargeDataAnalysisConfigCacheGetByConditonRequest()
     {
         Predicate = (analysisConfig) => { return analysisConfig.AnalysisResult == 2 && analysisConfig.IsEmergencyLinkage && analysisConfig.EmergencyLinkageConfig != ""; }
     }));
 }
Пример #4
0
        public BasicResponse <List <JC_LargedataAnalysisConfigInfo> > GetLargeDataAnalysisConfigCacheWithEmergencyLinkage(LargeDataAnalysisCacheClientGetAllRequest getAllRequest)
        {
            var responsestr = HttpClientHelper.Post(Webapi + "/v1/LargeDataAnalysisCache/GetLargeDataAnalysisConfigCacheWithEmergencyLinkage?token=" + Token, JSONHelper.ToJSONString(getAllRequest));

            return(JSONHelper.ParseJSONString <BasicResponse <List <JC_LargedataAnalysisConfigInfo> > >(responsestr));
        }