コード例 #1
0
 public Basic.Framework.Web.BasicResponse <List <Sys.Safety.DataContract.JC_AlarmNotificationPersonnelInfo> > GetJC_AlarmNotificationPersonnelListByAlarmConfigId(Sys.Safety.Request.AlarmNotificationPersonnel.AlarmNotificationPersonnelGetListByAlarmConfigIdRequest jC_AlarmNotificationPersonnelListByAlarmConfigIdRequest)
 {
     return(_AlarmNotificationPersonnelService.GetJC_AlarmNotificationPersonnelListByAlarmConfigId(jC_AlarmNotificationPersonnelListByAlarmConfigIdRequest));
 }
        public Basic.Framework.Web.BasicResponse <List <DataContract.JC_AlarmNotificationPersonnelInfo> > GetAlarmNotificationPersonnelByAnalysisModelId(Sys.Safety.Request.AlarmNotificationPersonnel.AlarmNotificationPersonnelGetListByAlarmConfigIdRequest jC_AlarmNotificationPersonnelListByAlarmConfigIdRequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/AlarmNotificationPersonnel/GetAlarmNotificationPersonnelByAnalysisModelId?token=" + Token, JSONHelper.ToJSONString(jC_AlarmNotificationPersonnelListByAlarmConfigIdRequest));

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