30 lines
754 B
Python
30 lines
754 B
Python
from logisticsClass.logisticsBaseClass import HeadLogistics, LogisticsType
|
|
"""
|
|
port:LAX(default) 加拿大 暂定为美国
|
|
currency:str = 'CNY'(default)
|
|
logistics_type:LogisticsType (海运(default),空运)
|
|
"""
|
|
|
|
class OceanMSLogistics_US(HeadLogistics):
|
|
"""加拿大海运"""
|
|
logistics_type = LogisticsType.OCEAN # 默认海运
|
|
company = "海CA"
|
|
country_code = "CA"
|
|
country = "Canada"
|
|
def __init__(self):
|
|
super().__init__()
|
|
self.head_ratio = 9
|
|
|
|
class AirLAXLogistics_US(HeadLogistics):
|
|
"""加拿大空运LAX"""
|
|
logistics_type = LogisticsType.AIR
|
|
company = "空LAX"
|
|
country_code = "CA"
|
|
country = "Canada"
|
|
def __init__(self):
|
|
super().__init__()
|
|
self.head_ratio = 35
|
|
|
|
|
|
|