Exemplo n.º 1
0
        /// <summary>
        /// 获取所有报警通知人员配置列表
        /// </summary>
        /// <param name="getAllAlarmNotificationRequest"></param>
        /// <returns></returns>
        public BasicResponse <List <JC_AlarmNotificationPersonnelConfigInfo> > GetAlarmNotificationPersonnelConfigAllList(GetAllAlarmNotificationRequest getAllAlarmNotificationRequest)
        {
            BasicResponse <List <JC_AlarmNotificationPersonnelConfigInfo> > response = new BasicResponse <List <JC_AlarmNotificationPersonnelConfigInfo> >();
            DataTable dtResult = _Repository.QueryTable("dataAnalysis_AlarmNotificationPersonnelConfigAllList");

            response.Data = ObjectConverter.Copy <JC_AlarmNotificationPersonnelConfigInfo>(dtResult);
            return(response);
        }
 public BasicResponse <List <JC_AlarmNotificationPersonnelConfigInfo> > GetAlarmNotificationPersonnelConfigAllList(GetAllAlarmNotificationRequest getAllAlarmNotificationRequest)
 {
     return(_AlarmNotificationPersonnelConfigService.GetAlarmNotificationPersonnelConfigAllList(getAllAlarmNotificationRequest));
 }
        public BasicResponse <List <JC_AlarmNotificationPersonnelConfigInfo> > GetAlarmNotificationPersonnelConfigAllList(GetAllAlarmNotificationRequest getAllAlarmNotificationRequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/AlarmNotificationPersonnelConfig/GetAlarmNotificationPersonnelConfigAllList?token=" + Token, JSONHelper.ToJSONString(getAllAlarmNotificationRequest));

            return(JSONHelper.ParseJSONString <BasicResponse <List <JC_AlarmNotificationPersonnelConfigInfo> > >(responseStr));
        }