Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/04/19 12:55:52 (5 years ago)
Author:
abeham
Message:

#2975: merged to stable

Location:
stable
Files:
3 edited
1 copied
1 moved

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.ExtLibs

  • stable/HeuristicLab.ExtLibs/HeuristicLab.SimSharp/3.1.1/SimSharp-3.1.1/Core/Resources/Events/ContainerPut.cs

    r15972 r17053  
    11#region License Information
    22/* SimSharp - A .NET port of SimPy, discrete event simulation framework
    3 Copyright (C) 2016  Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3Copyright (C) 2019  Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44
    55This program is free software: you can redistribute it and/or modify
     
    2323    public double Amount { get; protected set; }
    2424    public DateTime Time { get; private set; }
    25     public Process Process { get; private set; }
     25    public Process Owner { get; set; }
    2626
    27     public ContainerPut(Environment environment, Action<Event> callback, double amount)
     27    public ContainerPut(Simulation environment, Action<Event> callback, double amount)
    2828      : base(environment) {
    2929      if (amount <= 0) throw new ArgumentException("Amount must be > 0.", "amount");
     
    3131      CallbackList.Add(callback);
    3232      Time = environment.Now;
    33       Process = environment.ActiveProcess;
     33      Owner = environment.ActiveProcess;
    3434    }
    3535  }
Note: See TracChangeset for help on using the changeset viewer.