Exemplo n.º 1
0
 public TaskOrderDetail(string taskOrderDetailId, string taskOrderId, string objectId, Task task)
 {
     this.m_TaskOrderDetailId = taskOrderDetailId;
     this.m_TaskOrderId = taskOrderId;
     this.m_ObjectId = objectId;
     this.m_TaskId = task.TaskId;
     this.m_Description = task.Description;
     this.m_AssignedTo = task.AssignedTo;
 }
Exemplo n.º 2
0
 public TaskOrder(string taskOrderId, string objectId, string masterAccessionNo, string reportNo, Task task, YellowstonePathology.Business.Interface.IOrderTarget orderTarget, 
     string panelSetName, string acknowledgementType)
 {
     this.m_TaskOrderId = taskOrderId;
     this.m_ObjectId = objectId;
     this.m_MasterAccessionNo = masterAccessionNo;
     this.m_ReportNo = reportNo;
     this.m_TaskName = task.TaskName;
     this.m_OrderedById = YellowstonePathology.Business.User.SystemIdentity.Instance.User.UserId;
     this.m_OrderedByInitials = YellowstonePathology.Business.User.SystemIdentity.Instance.User.Initials;
     this.m_TargetId = orderTarget.GetId();
     this.m_TargetType = orderTarget.GetOrderedOnType();
     this.m_TargetDescription = orderTarget.GetDescription();
     this.m_OrderDate = DateTime.Now;
     this.m_PanelSetName = panelSetName;
     this.m_AcknowledgementType = acknowledgementType;
     this.m_Final = false;
     this.m_TaskOrderDetailCollection = new TaskOrderDetailCollection();
 }