logistics/logisticsClass/logisticsHead_CA.py

30 lines
754 B
Python
Raw Permalink Normal View History

2025-07-16 00:05:12 +08:00
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