Ejemplo n.º 1
0
        public virtual void UpdateHistory(HandlingActivity nextExpectedActivity, HandlingActivity lastKnownActivity, RoutingStatus routingStatus, TransportStatus transportStatus, DateTime?estimatedTimeOfArrival, bool isUnloadedAtDestination, bool isMisdirected, DateTime calculatedAt)
        {
            Delivery delivery = new Delivery(this, nextExpectedActivity, lastKnownActivity, routingStatus, transportStatus, estimatedTimeOfArrival, isUnloadedAtDestination, isMisdirected, calculatedAt);

            _history.Add(delivery);
            CurrentInformation = delivery;
        }
Ejemplo n.º 2
0
 public Delivery(HandlingActivity nextExpectedActivity, HandlingActivity lastKnownActivity, RoutingStatus routingStatus, TransportStatus transportStatus, DateTime?estimatedTimeOfArrival, bool isUnloadedAtDestination, bool isMisdirected, DateTime calculatedAt)
 {
     NextExpectedActivity    = nextExpectedActivity;
     LastKnownActivity       = lastKnownActivity;
     RoutingStatus           = routingStatus;
     TransportStatus         = transportStatus;
     EstimatedTimeOfArrival  = estimatedTimeOfArrival;
     IsUnloadedAtDestination = isUnloadedAtDestination;
     IsMisdirected           = isMisdirected;
     CalculatedAt            = calculatedAt;
 }
Ejemplo n.º 3
0
 public Delivery(Cargo parent, HandlingActivity nextExpectedActivity, HandlingActivity lastKnownActivity, RoutingStatus routingStatus, TransportStatus transportStatus, DateTime? estimatedTimeOfArrival, bool isUnloadedAtDestination, bool isMisdirected, DateTime calculatedAt)
 {
    Parent = parent;
    NextExpectedActivity = nextExpectedActivity;
    LastKnownActivity = lastKnownActivity;
    RoutingStatus = routingStatus;
    TransportStatus = transportStatus;
    EstimatedTimeOfArrival = estimatedTimeOfArrival;
    IsUnloadedAtDestination = isUnloadedAtDestination;
    IsMisdirected = isMisdirected;
    CalculatedAt = calculatedAt;
 }
Ejemplo n.º 4
0
 public virtual void UpdateHistory(HandlingActivity nextExpectedActivity, HandlingActivity lastKnownActivity, RoutingStatus routingStatus, TransportStatus transportStatus, DateTime? estimatedTimeOfArrival, bool isUnloadedAtDestination, bool isMisdirected, DateTime calculatedAt)
 {
    Delivery delivery = new Delivery(this, nextExpectedActivity, lastKnownActivity, routingStatus, transportStatus, estimatedTimeOfArrival, isUnloadedAtDestination, isMisdirected, calculatedAt);
    _history.Add(delivery);
    CurrentInformation = delivery;
 }