Пример #1
0
        public void TipResult(WorkstationResult workstationResult)
        {
            TIPClient tipClient = FindClientByWorkstationId(workstationResult.WorkstationId);

            try
            {
                if (tipClient != null)
                {
                    tipClient.TipResult(workstationResult);
                }
            }
            catch (Exception)
            {
                tipClient.Dispose();
                m_TIPManagers.Remove(tipClient);
            }
        }
Пример #2
0
        public void ProcessedCase(string caseId)
        {
            for (int index = 0; index < m_TIPManagers.Count; index++)
            {
                TIPClient tipClient = m_TIPManagers[index];

                try
                {
                    tipClient.ProcessedCase(caseId);
                }
                catch (Exception)
                {
                    tipClient.Dispose();
                    m_TIPManagers.Remove(tipClient);
                }
            }
        }