예제 #1
0
 public BO.LineTrip DOtoBOadapter(DO.DO.LineTrip ligneTrip)
 {
     BO.LineTrip x = new BO.LineTrip();
     x.FinishAt  = ligneTrip.FinishAt;
     x.Frequency = ligneTrip.Frequency;
     x.id        = ligneTrip.id;
     x.Lineld    = ligneTrip.Lineld;
     x.StartAt   = ligneTrip.StartAt;
     return(x);
 }
예제 #2
0
 public BO.LineTrip ReseachALineTrip(int ID)
 {
     DO.DO.LineTrip x = DL.ReseachALineTrip(ID);
     return(DOtoBOadapter(x));
 }
예제 #3
0
 public bool CreateLineTrip(BO.LineTrip adjacent)
 {
     DO.DO.LineTrip x = BOtoDOadapter(adjacent);
     return(DL.CreateAdjacentStation(x));
 }