Changeset 16779 for trunk/HeuristicLab.ExtLibs/HeuristicLab.SimSharp/3.1.1/SimSharp-3.1.1/Core/Resources/Events/Request.cs
- Timestamp:
- 04/12/19 13:45:11 (5 years ago)
- Location:
- trunk/HeuristicLab.ExtLibs/HeuristicLab.SimSharp/3.1.1
- Files:
-
- 1 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.ExtLibs/HeuristicLab.SimSharp/3.1.1/SimSharp-3.1.1/Core/Resources/Events/Request.cs
r15972 r16779 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 private readonly Action<Event> disposeCallback; 24 24 public DateTime Time { get; private set; } 25 public Process Process { get; privateset; }25 public Process Owner { get; set; } 26 26 27 public Request( Environmentenvironment, Action<Event> callback, Action<Event> disposeCallback)27 public Request(Simulation environment, Action<Event> callback, Action<Event> disposeCallback) 28 28 : base(environment) { 29 29 CallbackList.Add(callback); 30 30 this.disposeCallback = disposeCallback; 31 31 Time = environment.Now; 32 Process= environment.ActiveProcess;32 Owner = environment.ActiveProcess; 33 33 } 34 34
Note: See TracChangeset
for help on using the changeset viewer.