27 lines
716 B
Python
27 lines
716 B
Python
|
|
from logisticsClass.logisticsBaseClass import HeadLogistics, LogisticsType
|
|||
|
|
"""
|
|||
|
|
port:LHR(default)
|
|||
|
|
currency:str = 'CNY'
|
|||
|
|
logistics_type:LogisticsType (海运,空运)
|
|||
|
|
"""
|
|||
|
|
|
|||
|
|
class OceanAMSLogistics_EUR(HeadLogistics):
|
|||
|
|
"""欧洲海运"""
|
|||
|
|
logistics_type = LogisticsType.OCEAN # 默认海运
|
|||
|
|
company = "海GB"
|
|||
|
|
country_code = 'UK'
|
|||
|
|
country = 'United Kingdom'
|
|||
|
|
def __init__(self):
|
|||
|
|
super().__init__()
|
|||
|
|
self.head_ratio = 5
|
|||
|
|
|
|||
|
|
|
|||
|
|
class AirAMSLogistics_EUR(HeadLogistics):
|
|||
|
|
"""欧洲空运"""
|
|||
|
|
logistics_type = LogisticsType.AIR
|
|||
|
|
company = "空LHR"
|
|||
|
|
country_code = 'UK'
|
|||
|
|
country = 'United Kingdom'
|
|||
|
|
def __init__(self):
|
|||
|
|
super().__init__()
|
|||
|
|
self.head_ratio = 40
|