Ejemplo n.º 1
0
 public VehicleArriveEvent(VehiclePositionRawEvent raw, string nextStop, int routeDirection)
 {
     VehicleNumber  = raw.VehicleNumber;
     TimeStamp      = raw.TimeStamp;
     Latitude       = raw.Latitude;
     Longitude      = raw.Longitude;
     LineNumber     = raw.LineNumber;
     RouteNumber    = raw.RouteNumber;
     Occupancy      = raw.Occupancy;
     Delay          = raw.Delay;
     NextStop       = nextStop;
     RouteDirection = routeDirection;
 }
Ejemplo n.º 2
0
 public VehiclePositionEvent(VehiclePositionRawEvent raw)
 {
     VehicleNumber = raw.VehicleNumber;
     TimeStamp     = raw.TimeStamp;
     Speed         = raw.Speed;
     Heading       = raw.Heading;
     Latitude      = raw.Latitude;
     Longitude     = raw.Longitude;
     Acceleration  = raw.Acceleration;
     LineNumber    = raw.LineNumber;
     RouteNumber   = raw.RouteNumber;
     Occupancy     = raw.Occupancy;
     Delay         = raw.Delay;
 }