logistics/logisticsClass/logisticsHead_UK.py

27 lines
716 B
Python
Raw Normal View History

2025-06-17 13:40:20 +08:00
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