public override void onCaseDeleted (l3.cargo.corba.XCase c) { if (m_WSServer != null) { m_WSServer.DeleteFromCaseList(c); } }
public override void onCaseAdded(l3.cargo.corba.XCase c) { if (m_WSServer != null) { m_WSServer.AddToCaseList(c); } }
public void AddAnalystWSComm(l3.cargo.corba.WorkstationComm wsComm) { try { GetWorkstationManager(l3.cargo.corba.WorkstationArea.AWS).addWSComm(wsComm); } catch (l3.cargo.corba.CargoException ex) { throw new Exception(ex.error_msg, ex.InnerException); } catch (omg.org.CORBA.INTERNAL ex) { throw new Exception(ex.Message, ex.InnerException); } catch (System.Reflection.TargetInvocationException ex) { throw new Exception(ex.Message, ex.InnerException); } catch (AbstractCORBASystemException ex) { throw new Exception(ex.Message, ex.InnerException); } }
public void AddCaseChangeListener(l3.cargo.corba.CaseChangeListener caseChangeListener) { try { GetCaseManager().addCaseChangeListener(caseChangeListener); } catch (l3.cargo.corba.CargoException ex) { throw new Exception(ex.error_msg, ex.InnerException); } catch (omg.org.CORBA.INTERNAL ex) { throw new Exception(ex.Message, ex.InnerException); } catch (System.Reflection.TargetInvocationException ex) { throw new Exception(ex.Message, ex.InnerException); } catch (AbstractCORBASystemException ex) { throw new Exception(ex.Message, ex.InnerException); } }
public override void onCaseAdded(l3.cargo.corba.XCase xc) { if (m_WSServer != null) { m_WSServer.ModifyCaseList(xc); } base.onCaseAdded(xc); }
public override void onCaseAdded(l3.cargo.corba.XCase xc) { if (m_WSServer != null) { m_WSServer.ModifyCaseList(xc); m_WSServer.AutoVerifyManualCodingCaseEnabled = m_WSServer.AutoVerifyCaseEnabled; } base.onCaseAdded(xc); }
public void SetResult(string caseId, l3.cargo.corba.Result result) { try { l3.cargo.corba.XCase xc = GetHost().getCaseManager().getLiveCase(caseId); xc.addResult(result); } catch (l3.cargo.corba.CargoException ex) { throw new Exception(ex.error_msg, ex.InnerException); } catch (omg.org.CORBA.INTERNAL ex) { throw new Exception(ex.Message, ex.InnerException); } catch (System.Reflection.TargetInvocationException ex) { throw new Exception(ex.Message, ex.InnerException); } catch (AbstractCORBASystemException ex) { throw new Exception(ex.Message, ex.InnerException); } }
public void ReleaseAreaCases(l3.cargo.corba.WorkstationArea area) { try { foreach (l3.cargo.corba.XCase xc in GetWorkstationManager(area).getCaseList()) GetWorkstationManager(area).releaseCase(xc.getId()); } catch (l3.cargo.corba.CargoException ex) { throw new Exception(ex.error_msg, ex.InnerException); } catch (omg.org.CORBA.INTERNAL ex) { throw new Exception(ex.Message, ex.InnerException); } catch (System.Reflection.TargetInvocationException ex) { throw new Exception(ex.Message, ex.InnerException); } catch (AbstractCORBASystemException ex) { throw new Exception(ex.Message, ex.InnerException); } }
private l3.cargo.corba.WorkstationManager GetWorkstationManager(l3.cargo.corba.WorkstationArea area) { try { return GetHost().getWorkstationManager(area); } catch (l3.cargo.corba.CargoException ex) { throw new Exception(ex.error_msg, ex.InnerException); } catch (omg.org.CORBA.INTERNAL ex) { throw new Exception(ex.Message, ex.InnerException); } catch (System.Reflection.TargetInvocationException ex) { throw new Exception(ex.Message, ex.InnerException); } catch (AbstractCORBASystemException ex) { throw new Exception(ex.Message, ex.InnerException); } }
public List<l3.cargo.corba.XCase> GetWorkstationAreaCases(l3.cargo.corba.WorkstationArea area) { List<l3.cargo.corba.XCase> ret = new List<l3.cargo.corba.XCase>(); try { foreach (l3.cargo.corba.XCase xc in GetWorkstationManager(area).getCaseList()) ret.Add(xc); } catch (l3.cargo.corba.CargoException ex) { throw new Exception(ex.error_msg, ex.InnerException); } catch (omg.org.CORBA.INTERNAL ex) { throw new Exception(ex.Message, ex.InnerException); } catch (System.Reflection.TargetInvocationException ex) { throw new Exception(ex.Message, ex.InnerException); } catch (AbstractCORBASystemException ex) { throw new Exception(ex.Message, ex.InnerException); } return ret; }
public void DeleteFromCaseList(l3.cargo.corba.XCase xCase) { lock (_updateCaseAssignmentLock) { base.caseList.Delete(xCase.getId()); CaseListUpdateEvent(xCase.getId(), String.Empty, xCase.getCurrentArea(), false); } }
public void ModifyCaseList(l3.cargo.corba.XCase xCase) { base.caseList.Modify(xCase.getId(), xCase.getContainerId(), xCase.getConveyanceId(), string.Empty, string.Empty, 0, xCase.getCaseDir(), false, (Int32) WorkstationDecision.Unknown, DateTime.Now, false, null, DateTime.Parse(xCase.getCreateTime()), xCase.getCurrentArea(), false, string.Empty, false); CaseListUpdateEvent(xCase.getId(), String.Empty, xCase.getCurrentArea(), true); }