Exemplo n.º 1
0
        /// <summary>
        /// 获取已定义设备中所有的性质
        /// </summary>
        /// <returns></returns>
        public BasicResponse <DataTable> GetDataDefProperty()
        {
            var response = new BasicResponse <DataTable>();

            try
            {
                response.Data = _Repository.GetDataDefProperty();
            }
            catch (Exception ex)
            {
                response.Code    = -100;
                response.Message = ex.Message;
                this.ThrowException("获取已定义设备中所有的性质", ex);
            }

            return(response);
        }