示例#1
0
 public void Clear()
 {
     Contaminants.Clear();
     TransshippingAreas.Clear();
     ControlStations.Clear();
     Ports.Clear();
     EnvironmentalEquipments.Clear();
 }
示例#2
0
 public void Merge(DataBase other)
 {
     foreach (var item in other.Contaminants)
     {
         Contaminants.Add(item);
     }
     foreach (var item in other.TransshippingAreas)
     {
         TransshippingAreas.Add(item);
     }
     foreach (var item in other.ControlStations)
     {
         ControlStations.Add(item);
     }
     foreach (var item in other.Ports)
     {
         Ports.Add(item);
     }
     foreach (var item in other.EnvironmentalEquipments)
     {
         EnvironmentalEquipments.Add(item);
     }
 }