Line | |
---|
1 | #region License Information
|
---|
2 | /*
|
---|
3 | * This file is part of SimSharp which is licensed under the MIT license.
|
---|
4 | * See the LICENSE file in the project root for more information.
|
---|
5 | */
|
---|
6 | #endregion
|
---|
7 |
|
---|
8 | using System;
|
---|
9 |
|
---|
10 | namespace SimSharp {
|
---|
11 | public class StoreGet : Event {
|
---|
12 | public DateTime Time { get; private set; }
|
---|
13 | public Process Owner { get; set; }
|
---|
14 |
|
---|
15 | public StoreGet(Simulation environment, Action<Event> callback)
|
---|
16 | : base(environment) {
|
---|
17 | CallbackList.Add(callback);
|
---|
18 | Time = environment.Now;
|
---|
19 | Owner = environment.ActiveProcess;
|
---|
20 | }
|
---|
21 | }
|
---|
22 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.