Changeset 17053 for stable/HeuristicLab.ExtLibs/HeuristicLab.SimSharp/3.1.1/SimSharp-3.1.1/Core/Resources/Events/ContainerPut.cs
- Timestamp:
- 07/04/19 12:55:52 (5 years ago)
- Location:
- stable
- Files:
-
- 3 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.ExtLibs
- Property svn:mergeinfo changed
/trunk/HeuristicLab.ExtLibs merged: 16779
- Property svn:mergeinfo changed
-
stable/HeuristicLab.ExtLibs/HeuristicLab.SimSharp/3.1.1/SimSharp-3.1.1/Core/Resources/Events/ContainerPut.cs
r15972 r17053 1 1 #region License Information 2 2 /* SimSharp - A .NET port of SimPy, discrete event simulation framework 3 Copyright (C) 201 6Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 Copyright (C) 2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 5 5 This program is free software: you can redistribute it and/or modify … … 23 23 public double Amount { get; protected set; } 24 24 public DateTime Time { get; private set; } 25 public Process Process { get; privateset; }25 public Process Owner { get; set; } 26 26 27 public ContainerPut( Environmentenvironment, Action<Event> callback, double amount)27 public ContainerPut(Simulation environment, Action<Event> callback, double amount) 28 28 : base(environment) { 29 29 if (amount <= 0) throw new ArgumentException("Amount must be > 0.", "amount"); … … 31 31 CallbackList.Add(callback); 32 32 Time = environment.Now; 33 Process= environment.ActiveProcess;33 Owner = environment.ActiveProcess; 34 34 } 35 35 }
Note: See TracChangeset
for help on using the changeset viewer.