Ejemplo n.º 1
0
        /// <summary> 通过分站号、口号、设备性质
        /// </summary>
        /// <param name="fzh"></param>
        /// <param name="kh"></param>
        /// <param name="DevPropertID"></param>
        /// <returns></returns>
        public static List <Jc_DefInfo> QueryPointByInfs(int fzh, int kh, int DevPropertID)
        {
            PointDefineGetByStationIDChannelIDDevPropertIDRequest PointDefineRequest = new PointDefineGetByStationIDChannelIDDevPropertIDRequest();

            PointDefineRequest.StationID    = fzh;
            PointDefineRequest.ChannelID    = kh;
            PointDefineRequest.DevPropertID = DevPropertID;
            var result = _PointDefineService.GetPointDefineCacheByStationIDChannelIDDevPropertID(PointDefineRequest);

            if (result.IsSuccess == true)
            {
                return(result.Data);
            }
            else
            {
                throw new Exception(result.Message);
            }
        }
 public BasicResponse <List <Jc_DefInfo> > GetPointDefineCacheByStationIDChannelIDDevPropertID(PointDefineGetByStationIDChannelIDDevPropertIDRequest PointDefineRequest)
 {
     return(_PointDefineService.GetPointDefineCacheByStationIDChannelIDDevPropertID(PointDefineRequest));
 }