/// <summary>
 /// 同步管理员账户数据(包含基本资料和权限)
 /// </summary>
 /// <param name="clone">同步数据源</param>
 public void Sync( ManagerAccount clone ) {
     AccInfo.Sync( clone.AccInfo );
     Authority.Sync( clone.Authority );
 }
 /// <summary>
 /// 将一个管理员账户从管理员账户列表中移除
 /// </summary>
 /// <param name="mgrAcc">要移除的管理员账户</param>
 private void RemoveManagerAccount(ManagerAccount mgrAcc)
 {
     //if (_dpObj.CheckAccess())
     //    ManagerAccountList.Remove(mgrAcc);
     //else
     //    _dpObj.Dispatcher.BeginInvoke(DispatcherPriority.Normal,
     //        new ManagerAccountDeleaget(item => ManagerAccountList.Remove(item)),
     //        mgrAcc);
 }
        /// <summary>
        /// 修改管理员资料
        /// </summary>
        /// <param name="adminAcc">管理员资料</param>
        /// <param name="loginID">登陆标识</param>
        /// <returns>ErrType</returns>
        public ErrType ModifyAdminAccountInfo(ManagerAccount adminAcc, string loginID)
        {
            try
            {
                //Todo:金通网待处理
                return GeneralErr.Success;

                #region MyRegion

                ////修改基本信息
                //AdminUser userInfo = MyConverter.ToAdminUser(adminAcc.AccInfo);
                //ResultDesc result = ManagerService.ModifyAdminUser(userInfo, loginID);
                //if (!result.Result)
                //    return new ErrType(ERR.SERVICE, result.Desc);

                ////修改权限
                //AdminAuth authority = MyConverter.ToAdminAuth(adminAcc.Authority);
                //result = ManagerService.ModifyAdminAuth(authority, adminAcc.AccInfo.AccountName, loginID);
                //return result.Result ? GeneralErr.Success : new ErrType(ERR.SERVICE, result.Desc); 

                #endregion
            }
            catch (TimeoutException te)
            {
                FileLog.WriteLog("", Assembly.GetExecutingAssembly().GetName().Name, this.GetType().Name, new StackTrace().GetFrame(0).GetMethod().Name, te.Message);
                return new ErrType(ERR.EXEPTION, ErrorText.TimeoutException);
            }
            catch (Exception ex)
            {
                FileLog.WriteLog("", Assembly.GetExecutingAssembly().GetName().Name, this.GetType().Name,
             new StackTrace().GetFrame(0).GetMethod().Name, ex.Message);
                return new ErrType(ERR.EXEPTION, ErrorText.OperationError);
            }
        }