Example #1
0
        public static ImageStorage GetImageStorageModel(Guid itemId)
        {
            QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
            DataTable dt = iss.GetImageInfoById(itemId);

            if (dt.Rows.Count > 0)
            {
                return(ParseImageStorage(dt.Rows[0]));
            }
            return(null);
        }
Example #2
0
 public static bool DeleteDownLog(int logId)
 {
     QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
     return(iss.DeleteDownMessage(logId));
 }
Example #3
0
 public static DataSet GetImageCatalog(string imageID)
 {
     // return QJVRMS.DataAccess.ImageStorage.GetImageCatalog(imageID);
     QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
     return(iss.GetImageCatalog(imageID));
 }
Example #4
0
 /// <summary>
 /// add by dtf 08-06-03 根据开始和结束日期及用户名查询管理记录
 /// </summary>
 /// <param name="username"></param>
 /// <param name="beginDate"></param>
 /// <param name="endDate"></param>
 /// <returns></returns>
 public static DataSet SearchDownloadManagerByLoginName(string username)
 {
     //return QJVRMS.DataAccess.ImageStorage.SearchDownloadManagerByLoginNameAndDate(username);
     QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
     return(iss.GetDownloadMessageByLoginName(username));
 }
Example #5
0
 /// <summary>
 /// add by dtf 08-06-04 获取特定用户日期的下载记录信息
 /// </summary>
 /// <param name="username"></param>
 /// <param name="beginDate"></param>
 /// <param name="endDate"></param>
 /// <returns></returns>
 public static DataSet GetDownLoadMessage(string username, DateTime beginDate, DateTime endDate)
 {
     // return QJVRMS.DataAccess.ImageStorage.GetDownLoadMessage(username, beginDate, endDate);
     QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
     return(iss.GetDownLoadMessage(username, beginDate, endDate));
 }
Example #6
0
 public static ImageStorage GetImageStorageModel(Guid itemId)
 {
     QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
     DataTable dt = iss.GetImageInfoById(itemId);
     if (dt.Rows.Count > 0)
     {
         return ParseImageStorage(dt.Rows[0]);
     }
     return null;
 }
Example #7
0
        /// <summary>
        /// 根据关键字搜索图片
        /// 获取 ItemSerialNum,Hvsp 属性值
        /// </summary>
        /// <returns></returns>
        //public static DataTable SearchImageByCataID(string CatalogID, string UserID, int PageSize, int PageNum, ref int rowCount)
        //{
        //   // return QJVRMS.DataAccess.ImageStorage.SearchImageByCataID(CatalogID, UserID, PageSize, PageNum, ref rowCount);
        //    QJVRMS.Business.SearchWS.SearchService ss = new QJVRMS.Business.SearchWS.SearchService();
        //    return ss.SearchImageByCataID(CatalogID, UserID, PageSize, PageNum, ref rowCount);
        //}

        /// <summary>
        /// add by dtf 08-06-03 获取所有用户名称信息
        /// </summary>
        /// <returns></returns>
        public static DataTable GetUserByAll()
        {
            // return QJVRMS.DataAccess.ImageStorage.GetUserByAll();
            QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
            return(iss.GetUserByAll());
        }
Example #8
0
 public static DataSet GetImageCatalog(string imageID)
 {
     // return QJVRMS.DataAccess.ImageStorage.GetImageCatalog(imageID);
     QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
     return iss.GetImageCatalog(imageID);
 }
Example #9
0
 public static bool DeleteDownLog(int logId)
 {
     QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
     return iss.DeleteDownMessage(logId);
 }
Example #10
0
 /// <summary>
 /// add by dtf 08-06-04 获取特定用户日期的下载记录信息
 /// </summary>
 /// <param name="username"></param>
 /// <param name="beginDate"></param>
 /// <param name="endDate"></param>
 /// <returns></returns>
 public static DataSet GetDownLoadMessage(string username, DateTime beginDate, DateTime endDate)
 {
     // return QJVRMS.DataAccess.ImageStorage.GetDownLoadMessage(username, beginDate, endDate);
     QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
     return iss.GetDownLoadMessage(username, beginDate, endDate);
 }
Example #11
0
 /// <summary>
 /// add by dtf 08-06-03 根据开始和结束日期及用户名查询管理记录
 /// </summary>
 /// <param name="username"></param>
 /// <param name="beginDate"></param>
 /// <param name="endDate"></param>
 /// <returns></returns>
 public static DataSet SearchDownloadManagerByLoginName(string username)
 {
     //return QJVRMS.DataAccess.ImageStorage.SearchDownloadManagerByLoginNameAndDate(username);
     QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
     return iss.GetDownloadMessageByLoginName(username);
 }
Example #12
0
        /// <summary>
        /// 根据关键字搜索图片 
        /// 获取 ItemSerialNum,Hvsp 属性值
        /// </summary>
        /// <returns></returns>
        //public static DataTable SearchImageByCataID(string CatalogID, string UserID, int PageSize, int PageNum, ref int rowCount)
        //{
        //   // return QJVRMS.DataAccess.ImageStorage.SearchImageByCataID(CatalogID, UserID, PageSize, PageNum, ref rowCount);
        //    QJVRMS.Business.SearchWS.SearchService ss = new QJVRMS.Business.SearchWS.SearchService();
        //    return ss.SearchImageByCataID(CatalogID, UserID, PageSize, PageNum, ref rowCount);
        //}

        /// <summary>
        /// add by dtf 08-06-03 获取所有用户名称信息
        /// </summary>
        /// <returns></returns>
        public static DataTable GetUserByAll()
        {
            // return QJVRMS.DataAccess.ImageStorage.GetUserByAll();
            QJVRMS.Business.ImageStorageWS.ImageStorageService iss = new QJVRMS.Business.ImageStorageWS.ImageStorageService();
            return iss.GetUserByAll();
        }