public static bool TryParse(string code, out WarehouseAndStationCode warehouseAndStationCode)
 {
     warehouseAndStationCode = null;
     try
     {
         warehouseAndStationCode = new WarehouseAndStationCode(code);
         return(true);
     }
     catch
     {
         return(false);
     }
 }
 public WarehouseAndStationCode(WarehouseAndStationCode code)
 {
     Warehouse = code.Warehouse;
     Station   = code.Station;
 }