コード例 #1
0
ファイル: OCTrip.cs プロジェクト: jules2689/OCTranspoWP8
 public static OCTrip newOCTrip(String route_id, String service_id, String trip_id, String trip_headsign, int direction_id, int block_id)
 {
     OCTrip trip = new OCTrip();
     trip.route_id = route_id;
     trip.service_id = service_id;
     trip.trip_id = trip_id;
     trip.trip_headsign = trip_headsign;
     trip.direction_id = direction_id;
     trip.block_id = block_id;
     return trip;
 }
コード例 #2
0
    public static OCTrip newOCTrip(String route_id, String service_id, String trip_id, String trip_headsign, int direction_id, int block_id)
    {
        OCTrip trip = new OCTrip();

        trip.route_id      = route_id;
        trip.service_id    = service_id;
        trip.trip_id       = trip_id;
        trip.trip_headsign = trip_headsign;
        trip.direction_id  = direction_id;
        trip.block_id      = block_id;
        return(trip);
    }