예제 #1
0
 public PartRoute(int id, DateTime pickUpTime, Battery battery, Route route)
 {
     _id = id;
     _pickUpTime = pickUpTime;
     _battery = battery;
     _route = route;
 }
예제 #2
0
 public PartRoute(DateTime pickUpTime, Battery battery, Route route)
 {
     _id = -1;
     _pickUpTime = pickUpTime;
     _battery = battery;
     _route = route;
 }
예제 #3
0
 public void AddRoute(Route route)
 {
     _routes.Add(route);
 }
예제 #4
0
 public void RemoveRoute(Route route)
 {
     _routes.Remove(route);
 }