Ejemplo n.º 1
0
        public string TextName = ""; //模块名称

        #endregion Fields

        #region Constructors

        public AppModule(Right_ModuleWithApp _moduleapp)
        {
            ID = _moduleapp.ID;
            TextName = _moduleapp.Name;
            SuperID = _moduleapp.SuperID;
            SortValue = _moduleapp.SortValue;
            IsAnonymous = _moduleapp.IsAnonymous;
            IsMenu = _moduleapp.IsMenu;
            IsHttp = _moduleapp.IsHttp;
            PageName = _moduleapp.PageName;
            MCSFramework.BLL.Pub.ATMT_AttachmentBLL _attachbll = new MCSFramework.BLL.Pub.ATMT_AttachmentBLL(_moduleapp.DefaultIco);
            if (_attachbll.Model != null)
            {
                ImageGuid = _attachbll.Model.GUID;
            }
        }
Ejemplo n.º 2
0
        public Guid ImageGuid     = Guid.Empty; //模块显示图像

        public AppModule(Right_ModuleWithApp _moduleapp)
        {
            ID          = _moduleapp.ID;
            TextName    = _moduleapp.Name;
            SuperID     = _moduleapp.SuperID;
            SortValue   = _moduleapp.SortValue;
            IsAnonymous = _moduleapp.IsAnonymous;
            IsMenu      = _moduleapp.IsMenu;
            IsHttp      = _moduleapp.IsHttp;
            PageName    = _moduleapp.PageName;
            MCSFramework.BLL.Pub.ATMT_AttachmentBLL _attachbll = new MCSFramework.BLL.Pub.ATMT_AttachmentBLL(_moduleapp.DefaultIco);
            if (_attachbll.Model != null)
            {
                ImageGuid = _attachbll.Model.GUID;
            }
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 获取指定条件的附件列表
        /// </summary>
        /// <param name="condition"></param>
        /// <returns></returns>
        public static IList <ATMT_Attachment> GetModelList(string condition)
        {
            ATMT_AttachmentBLL bll = new ATMT_AttachmentBLL();

            return(bll._GetModelList(condition));
        }