Пример #1
0
        public override void Logout(LogOutInfo logOutInfo)
        {
            try
            {
                m_CargoHostEndPoint.LogOut(logOutInfo.WorkstationId);

                lock (_updateCaseAssignmentLock)
                {
                    base.ClearAssignments(logOutInfo.WorkstationId);
                    CaseListUpdateEvent(String.Empty, logOutInfo.WorkstationId, String.Empty, false);
                    RemoveLoadBalanceWorkstation(logOutInfo.WorkstationId);
                }

                if (m_TIPManagerComm != null)
                {
                    m_TIPManagerComm.ClearAssignments(logOutInfo.WorkstationId);
                }
            }
            catch (Exception ex)
            {
                throw new FaultException(new FaultReason(ex.Message));
            }
        }
Пример #2
0
        private void button2_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                LogOutInfo logOutInfo = new LogOutInfo(m_AWSId);
                m_AWSCommEndPoint1.Logout(logOutInfo);

                Tab1LogListBox.Items.Add("Result: Successful");
            }
            catch (Exception ex)
            {
                Tab1LogListBox.Items.Add(ex.Message.ToString());
            }
        }
Пример #3
0
 public void Logout (LogOutInfo logOutInfo)
 {
     m_CaseSourceManager.Logout(logOutInfo);
 }