コード例 #1
0
        /// <summary> 添加DEF 缓存
        /// </summary>
        /// <returns></returns>
        public static bool AddDEFCache(Jc_DefInfo item)
        {
            PointDefineAddRequest PointDefineRequest = new PointDefineAddRequest();

            PointDefineRequest.PointDefineInfo = item;
            var result = _PointDefineService.AddPointDefine(PointDefineRequest);

            if (result.IsSuccess == true)
            {
                return(true);
            }
            else
            {
                throw new Exception(result.Message);
            }
        }
コード例 #2
0
 public BasicResponse AddPointDefine(PointDefineAddRequest PointDefineRequest)
 {
     return(_PointDefineService.AddPointDefine(PointDefineRequest));
 }