public LaneQueue(LaneQueue otherLQ) { LaneQueueID = otherLQ.LaneQueueID; QueueList = new List <QueueTicket>(otherLQ.QueueList); Attendant = new QueueAttendant(otherLQ.Attendant); QueueLane = new Lane(otherLQ.QueueLane); }
public LaneQueue() { QueueList = new List <QueueTicket>(); Attendant = new QueueAttendant(); QueueLane = new Lane(); QueueLane.Capacity = LANE_DEFAULT_CAPACITY; Tolerance = LANE_DEFAULT_TOLERANCE; }
public QueueAttendant(QueueAttendant queueAttendant) : base( queueAttendant.AccountNumber, queueAttendant.Email, queueAttendant.Password, queueAttendant.ContactNumber, queueAttendant.FirstName, queueAttendant.MiddleName, queueAttendant.LastName ) { QueueAttendantID = queueAttendant.QueueAttendantID; if (queueAttendant.DesignatedLane == null) { DesignatedLane = new Lane(); } else { DesignatedLane = new Lane(queueAttendant.DesignatedLane); } }
public void SetAttendant(QueueAttendant attendant) { attendant.DesignatedLane = QueueLane; Attendant = attendant; }