/// <summary>
 /// 获取权限。
 /// </summary>
 /// <param name="systemID">系统ID。</param>
 /// <param name="moduleID">模块ID。</param>
 /// <param name="employeeID">用户ID。</param>
 /// <returns>模块权限集合。</returns>
 public SecurityPermissionCollection ModulePermissions(string systemID, string moduleID, string employeeID)
 {
     SecurityPermissionCollection collection = new SecurityPermissionCollection();
     try
     {
         Poxy.SecurityPermission[] sps = this.service.ModulePermissions(systemID, moduleID, employeeID);
         if (sps != null && sps.Length > 0)
         {
             foreach (Poxy.SecurityPermission p in sps)
             {
                 iPower.Platform.Security.SecurityPermission sp = new iPower.Platform.Security.SecurityPermission();
                 sp.PermissionID = p.PermissionID;
                 sp.PermissionName = p.PermissionName;
                 collection.Add(sp);
             }
         }
     }
     catch (Exception e)
     {
         this.log.CreateErrorLog(e.Message);
         throw e;
     }
     return collection;
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="systemID"></param>
 /// <param name="moduleID"></param>
 /// <param name="employeeID"></param>
 /// <returns></returns>
 public SecurityPermissionCollection ModulePermissions(string systemID, string moduleID, string employeeID)
 {
     SecurityPermissionCollection collection = new SecurityPermissionCollection();
     Poxy.SecurityPermission[] permissions = this.service.ModulePermissions(systemID, moduleID, employeeID);
     if (permissions != null && permissions.Length > 0)
     {
         foreach (Poxy.SecurityPermission sp in permissions)
         {
             SecurityPermission securityPermission = new SecurityPermission();
             securityPermission.PermissionID = new GUIDEx(sp.PermissionID);
             securityPermission.PermissionName = sp.PermissionName;
             collection.Add(securityPermission);
         }
     }
     return collection;
 }