public void Test1() { _context = new SimContext(); _fuelTank = new SimpleContinousContainer(1000, 500); _gasStation = new SimpleResource(1); _context.Process(GasStationControl()); _context.Process(CarGenerator()); for (int i = 0; i < 5000; i++) { _context.Step(); } }
internal ContinuousContainerRequestEvent(IContinuousContainer owner, double amount) { _owner = owner; _amount = amount; }