public void SetUp()
 {
     eventProcessor = new EventProcessor();
     refact = new Cargo ("Refactoring");
     kr = new Ship ("King Roy");
     sfo = new Port("San Francisco", Country.US);
     la = new Port ("Los Angeles", Country.US);
     yyv = new Port("Vancouver",Country.CANADA);
 }
Exemplo n.º 2
0
 public ArrivalEvent(DateTime datetime, Port port, Ship ship)
     : base(datetime)
 {
     this.port = port;
     this.ship = ship;
 }
 public DepartureEvent(DateTime datetime, Port port, Ship ship)
     : base(datetime)
 {
     this.port = port;
     this.ship = ship;
 }