# engine.LingYi.entitys.global_util

View Source

       1# -*- coding:utf-8 -*-
       2
       3from enum import Enum
       4
       5LOG_PATH = 'log/'  # log 目录
       6DATA_PATH = 'data/'  # data 目录
       7LUA_PATH = 'lua/'  # lua 目录
       8
       9
      10class OperationError(Exception):
      11    pass
      12
      13
      14class ElementType(Enum):
      15    """
      16    元素类型
      17    """
      18    # 推演方
      19    Side = 0
      20    # 打击任务
      21    StrikeMission = 11
      22    # 巡逻任务
      23    PatrolMission = 12
      24    # 支援任务
      25    SupportMission = 13
      26    # 转场任务
      27    FerryMission = 14
      28    # 布雷任务
      29    MineMission = 15
      30    # 扫雷任务
      31    MineClearMission = 16
      32    # 货运任务
      33    CargoMission = 17
      34    # 护航任务
      35    StrikeEscortMission = 18
      36    # 编队
      37    Group = 20
      38    # 飞机
      39    Aircraft = 31
      40    # 设施
      41    Facility = 32
      42    # 舰船
      43    Ship = 33
      44    # 潜艇
      45    Submarine = 34
      46    # 卫星
      47    Satellite = 35
      48    # 传感器
      49    Sensor = 41
      50    # 武器
      51    Weapon = 42
      52    # 挂架
      53    Mount = 43
      54    # 飞机挂载
      55    Loadout = 44
      56    # 条令
      57    Doctrine = 45
      58    # 弹药库
      59    Magazine = 46
      60    # 航路点
      61    WayPoint = 47
      62    # 非制导武器
      63    UnguidedWeapon = 48
      64    # 发现的非本方单元
      65    Contact = 61
      66    # 想定
      67    Scenario = 62
      68    # 推演
      69    Simulation = 63
      70    # 天气
      71    Weather = 64
      72    # 参考点
      73    ReferencePoint = 65
      74    # 空
      75    Empty = 66
      76    # 武器爆炸
      77    WeaponImpact = 67
      78    # 触发器--时间
      79    TriggerTime = 101
      80    # 触发器--实体损伤
      81    TriggerUnitDamaged = 102
      82    # 触发器--实体被摧毁
      83    TriggerUnitDestroyed = 103
      84    # 触发器--实体被发现
      85    TriggerUnitDetected = 104
      86    # 动作--终止推演
      87    ActionEndScenario = 151
      88    # 动作--得分
      89    ActionPoints = 152
      90    # 动作--消息
      91    ActionMessage = 153
      92    # 推演事件
      93    SimEvent = 199
      94    # 反馈
      95    Response = 201
      96    # 反馈消息
      97    LoggedMessage = 202
      98    # 删除
      99    Delete = 399
     100
     101
     102classname2element = {
     103    "CCurrentScenario": ElementType.Scenario,
     104    "CSimulation": ElementType.Simulation,
     105    "CSide": ElementType.Side,
     106    "Strike": ElementType.StrikeMission,
     107    "Patrol": ElementType.PatrolMission,
     108    "Support": ElementType.SupportMission,  # 2025.03.28
     109    "Ferry": ElementType.FerryMission,
     110    "Mining": ElementType.MineMission,
     111    "MineClearing": ElementType.MineClearMission,
     112    "Cargo": ElementType.CargoMission,
     113    "Group": ElementType.Group,
     114    "Aircraft": ElementType.Aircraft,
     115    "Facility": ElementType.Facility,
     116    "Ship": ElementType.Ship,
     117    "Submarine": ElementType.Submarine,
     118    "Satellite": ElementType.Satellite,
     119    "CMount": ElementType.Mount,
     120    "Weapon": ElementType.Weapon,
     121    "CSensor": ElementType.Sensor,
     122    "CLoadout": ElementType.Loadout,
     123    "CMagazine": ElementType.Magazine,
     124    "CWayPoint": ElementType.WayPoint,
     125    "CDoctrine": ElementType.Doctrine,
     126    "CReferencePoint": ElementType.ReferencePoint,
     127    "CTriggerTime": ElementType.TriggerTime,
     128    "CTriggerUnitDamaged": ElementType.TriggerUnitDamaged,
     129    "CTriggerUnitDestroyed": ElementType.TriggerUnitDestroyed,
     130    "CActionEndScenario": ElementType.ActionEndScenario,
     131    "CActionMessage": ElementType.ActionMessage,
     132    "CActionPoints": ElementType.ActionPoints,
     133    "CSimEvent": ElementType.SimEvent,
     134    "CContact": ElementType.Contact,
     135    "CWeather": ElementType.Weather,
     136    "CResponse": ElementType.Response,
     137    "Delete": ElementType.Delete,
     138    "Empty": ElementType.Empty,
     139}
     140
     141
     142class SelectorCategory(Enum):
     143    """
     144    选择的元素类别, 可设置条令
     145    """
     146    # 推演方
     147    Side = 0
     148    # 任务
     149    Mission = 1
     150    # 编队
     151    Group = 2
     152    # 作战单元（飞机，导弹车等，不包含传感器、武器等作战单元的组件）
     153    Unit = 3
     154    # 武器
     155    Weapon = 4
     156    # 航路点
     157    WayPoint = 5
     158    # 护航任务
     159    EscortMission = 6
     160
     161
     162selector2str = {
     163    SelectorCategory.Side: 'side',
     164    SelectorCategory.Mission: 'mission',
     165    SelectorCategory.Group: 'group',
     166    SelectorCategory.Unit: 'unit',
     167    SelectorCategory.Weapon: 'weapon',
     168    SelectorCategory.WayPoint: 'WayPoint',
     169    SelectorCategory.EscortMission: 'mission',
     170}
     171
     172
     173class MissionCategory(Enum):
     174    """
     175    任务类别
     176    """
     177    # 打击
     178    ATTACK = 0
     179    # 巡逻
     180    PATROL = 1
     181    # 支援
     182    SUPPORT = 2
     183    # 转场
     184    TRANSFOR = 3
     185    # 布雷
     186    MINE = 4
     187    # 扫雷
     188    SWEEP = 5
     189    # 投送
     190    DELIVER = 6
     191
     192
     193class MissionPatrolType(Enum):
     194    # 空战巡逻
     195    AIR = 6011
     196    # 反水面战巡逻(海上)
     197    ANTI_SHIP = 6012
     198    # 反水面战巡逻(陆上)
     199    ANTI_LAND = 6013
     200    # 反水面战巡逻(混合)
     201    ANTI_MLP = 6014
     202    # 反潜战巡逻
     203    ANTI_SUBMARINE = 6015
     204    # 压制敌防空巡逻
     205    SEAD = 6016
     206    # 海上控制巡逻
     207    SEA_CONTROL = 6017
     208
     209
     210class MissionStrikeType(Enum):
     211    AIR = 6001
     212    LAND = 6002
     213    SHIP = 6003
     214    SUBMARINE = 6004
     215
     216
     217mission_patrol_type_dict = {
     218    MissionPatrolType.AIR: "AAW",
     219    MissionPatrolType.ANTI_SHIP: "SUR_SEA",
     220    MissionPatrolType.ANTI_LAND: "SUR_LAND",
     221    MissionPatrolType.ANTI_MLP: "SUR_MIXED",
     222    MissionPatrolType.ANTI_SUBMARINE: "SUB",
     223    MissionPatrolType.SEAD: "SEAD",
     224    MissionPatrolType.SEA_CONTROL: "SEA"
     225}
     226
     227mission_strike_type_dict = {
     228    MissionStrikeType.AIR: "AIR",
     229    MissionStrikeType.LAND: "LAND",
     230    MissionStrikeType.SHIP: "SEA",
     231    MissionStrikeType.SUBMARINE: "SUB"
     232}
     233
     234
     235class ContactType(Enum):
     236    # 空中目标
     237    Air = 0
     238    # 导弹
     239    Missile = 1
     240    # 水面 / 地面
     241    Surface = 2
     242    # 潜艇
     243    Submarine = 3
     244    # 未确定的海军
     245    UndeterminedNaval = 4
     246    # 瞄准点？？
     247    Aimpoint = 5
     248    # 轨道目标
     249    Orbital = 6
     250    # 固定设施
     251    Facility_Fixed = 7
     252    # 移动设施
     253    Facility_Mobile = 8
     254    # 鱼雷
     255    Torpedo = 9
     256    # 水雷
     257    Mine = 10
     258    # 爆炸
     259    Explosion = 11
     260    # 不确定
     261    Undetermined = 12
     262    # 空中诱饵
     263    Decoy_Air = 13
     264    # 表面诱饵
     265    Decoy_Surface = 14
     266    # 陆地诱饵
     267    Decoy_Land = 15
     268    # 水下诱饵
     269    Decoy_Sub = 16
     270    # 声纳浮标
     271    Sonobuoy = 17
     272    # 军事设施
     273    Installation = 18
     274    # 空军基地
     275    AirBase = 19
     276    # 海军基地
     277    NavalBase = 20
     278    # 移动集群
     279    MobileGroup = 21
     280    # 激活点：瞄准点
     281    ActivationPoint = 22
     282
     283
     284class DoctrineItem(Enum):
     285    Nukes = 7002
     286    Nukes_Player = 7003
     287    WCS_Air = 7004
     288    WCS_Air_Player = 7005
     289    WCS_Surface = 7006
     290    WCS_Surface_Player = 7007
     291    WCS_Submarine = 7008
     292    WCS_Submarine_Player = 7009
     293    WCS_Land = 7010
     294    WCS_Player_Land = 7011
     295    IPCWA = 7012
     296    IPCWA_Player = 7013
     297    WinchesterShotgunRTB = 7014
     298    WinchesterShotgunRTB_Player = 7015
     299    BingoJokerRTB = 7016
     300    BingoJokerRTB_Player = 7017
     301    JettisonOrdnance = 7018
     302    JettisonOrdnance_Player = 7019
     303    BTAT = 7020
     304    BTAT_Player = 7021
     305    AE = 7022
     306    AE_Player = 7023
     307    MS = 7024
     308    MS_Player = 7025
     309    GS = 7026
     310    GS_Player = 7027
     311    UR = 7028
     312    UR_Player = 7029
     313    RS = 7030
     314    RS_Player = 7031
     315    ST = 7032
     316    ST_Player = 7033
     317    SAM_ASUW = 7034
     318    SAM_ASUW_Player = 7035
     319    E_Radar = 7036
     320    E_Sonar = 7037
     321    E_OECM = 7038
     322    QuickTurnAround = 7039
     323    QTA_Player = 7040
     324    AirOpsTempo = 7041
     325    AirOpsTempo_Player = 7042
     326    BingoJoker = 7043
     327    BingoJoker_Player = 7044
     328    WinchesterShotgun = 7045
     329    WinchesterShotgun_Player = 7046
     330    WithdrawDamageThreshold = 7047
     331    WithdrawFuelThreshold = 7048
     332    WithdrawAttackThreshold = 7049
     333    WithdrawDefenceThreshold = 7050
     334    RedeployDamageThreshold = 7051
     335    RedeployFuelThreshold = 7052
     336    RedeployAttackThreshold = 7053
     337    RedeployDefenceThreshold = 7054
     338    IgnoreEMCONUnderAttack = 7055
     339    IgnoreEMCONUnderAttack_Player = 7056
     340    UseTorpedoesKinematicRange = 7057
     341    UseTorpedoesKinematicRange_Player = 7058
     342    RefuelAllies = 7059
     343    RefuelAllies_Player = 7060
     344    AvoidContact = 7061
     345    AvoidContact_Player = 7062
     346    DiveWhenThreatsDetected = 7063
     347    DiveWhenThreatsDetected_Player = 7064
     348    RechargePercentagePatrol = 7065
     349    RechargePercentagePatrol_Player = 7066
     350    RechargePercentageAttack = 7067
     351    RechargePercentageAttack_Player = 7068
     352    AIPUsage = 7069
     353    AIPUsage_Player = 7070
     354    DippingSonar = 7071
     355    DippingSonar_Player = 7072
     356    WRA = 7073
     357
     358
     359class HeightCategory(Enum):
     360    """
     361    实体高度
     362    """
     363    Minimun = 0
     364    Low = 1
     365    Semi_Low = 2
     366    Medium = 3
     367    Semi_High = 4
     368    High = 5
     369    Maximun = 6
     370
     371
     372class Throttle(Enum):
     373    """
     374    实体油门
     375    """
     376    # 不确定
     377    Unspecified = 0
     378    # 停住
     379    FullStop = 1
     380    # 低速
     381    Loiter = 2
     382    # 巡航
     383    Cruise = 3
     384    # 全速
     385    Full = 4
     386    # 加力
     387    Flank = 5
     388
     389
     390throttle_description = {
     391    Throttle.Unspecified: "Unspecified",
     392    Throttle.FullStop: "FullStop",
     393    Throttle.Loiter: "Loiter",
     394    Throttle.Cruise: "Cruise",
     395    Throttle.Full: "Full",
     396    Throttle.Flank: "Flank"
     397}
     398
     399
     400class FlightSize(Enum):
     401    """
     402    编队规模
     403    """
     404    One = 1
     405    Two = 2
     406    Three = 3
     407    Four = 4
     408    Six = 5
     409
     410
     411class MinAircraftReq(Enum):
     412    """
     413    启动任务所需最少就绪飞机数
     414    """
     415    NONE = 0  # 无首选项
     416    ONE = 1
     417    TWO = 2
     418    THREE = 3
     419    FOUR = 4
     420    SIX = 6
     421    EIGHT = 8
     422    TWELVE = 12  # 12架飞机
     423    ALL = 13  # 所有飞机出动
     424
     425
     426class EUnitCount(Enum):
     427    """
     428    任务中设置飞机数
     429    """
     430    NONE = 0  # 无首选项
     431    ONE = 1
     432    TWO = 2
     433    THREE = 3
     434    FOUR = 4
     435    SIX = 6
     436    EIGHT = 8
     437    TWELVE = 12  # 12架飞机或12艘船
     438    ALL = 13  # 所有飞机或船
     439
     440
     441class StrikeFlyTimeMax(Enum):
     442    """
     443    允许飞行任务的最大飞行次数
     444    """
     445    NONE = 0
     446    ONE = 1
     447    TWO = 2
     448    THREE = 3
     449    FOUR = 4
     450    SIX = 6
     451    EIGHT = 8
     452    TWELVE = 12
     453
     454
     455class StrikeMinimumTrigger(Enum):
     456    """
     457    打击任务触发条件
     458    """
     459    Nil = 1  # 缺省，勿用
     460    NotFriendly = 2  # 非友方
     461    Hostile = 3  # 敌方
     462    Unknown = 4  # 未知
     463
     464
     465class StrikeRadarUsage(Enum):
     466    """
     467    任务雷达运用规则
     468    """
     469    ALL_PLAN = 1
     470    START_WINCHESTER = 2
     471    ATTACK_START_WINCHESTER = 3
     472
     473
     474class StrikeFuleAmmo(Enum):
     475    """
     476    燃油弹药规则
     477    """
     478    MOUNT_SET = 0
     479    FAR_DIST = 1
     480    CARRY_BACK = 2
     481
     482
     483class BehaviorTowardsAmbigousTarget(Enum):
     484    """
     485    接战模糊位置目标
     486    """
     487    # 忽略
     488    Ignore = 0
     489    # 乐观
     490    Optimistic = 1
     491    # 悲观
     492    Pessimistic = 2
     493    # 继承，和上级一致
     494    Inherit = 999
     495
     496
     497class EngageWithContactTarget(Enum):
     498    """
     499    接战临机出现目标
     500    """
     501    # 否 只与任务相关目标交战
     502    No_Only = 0
     503    # 是 可和任何目标交战
     504    Yes_AnyTarget = 1
     505    # 继承，和上级一致
     506    Inherit = 999
     507
     508
     509class EUseNuclear(Enum):
     510    """
     511    使用核武器选择枚举
     512    """
     513    # 不使用
     514    No = 0
     515    # 使用
     516    Yes = 1
     517    # 继承
     518    Inherit = 999
     519
     520
     521class WeaponControlStatus(Enum):
     522    """
     523    武器控制状态
     524    """
     525    # 自由开火
     526    Free = 0
     527    # 谨慎开火
     528    Tight = 1
     529    # 限制开火
     530    Hold = 2
     531    # 和上级一致
     532    Inherit = 999
     533
     534
     535class ERefuel(Enum):
     536    """
     537    条令设置，加油/补给
     538    """
     539    # 允许但不允许加油机给加油机加油
     540    Yes_NoTanker = 0
     541    # 不允许
     542    No = 1
     543    # 允许
     544    Yes = 2
     545    # 和上级一致
     546    Inherit = 999
     547
     548
     549class ERefuelSelect(Enum):
     550    """
     551    条令设置，加油/补给选择项设置
     552    """
     553    # 最近选择
     554    Nearest = 0
     555    # 选择我们和目标之间的加油机
     556    IncludeTarget = 1
     557    # 选择我们和目标之间的加油机，但不允许往回飞
     558    Include_NoBack = 2
     559    # 和上级一致
     560    Inherit = 999
     561
     562
     563class ERefuelAllied(Enum):
     564    """
     565    条令设置，对盟军单元进行加油
     566    """
     567    # 准许
     568    Yes = 0
     569    # 准许，仅接收
     570    YesReceiveOnly = 1
     571    # 准许，仅送出
     572    YesOffloadOnly = 2
     573    # 否
     574    No = 3
     575    # 和上级一致
     576    Inherit = 999
     577
     578
     579class AirOpsTempo(Enum):
     580    """
     581    空战节奏
     582    """
     583    # 快速出动
     584    Surge = 0
     585    # 一般强度出动
     586    Sustained = 1
     587    # 和上级一致
     588    Inherit = 999
     589
     590
     591class QuickTurnAround(Enum):
     592    """
     593    快速出动
     594    """
     595    # 是
     596    Yes = 0
     597    # 战斗机和反潜机-使非空对地挂载进行快速周转。空对地武器排除在外，并遵从整体速度准备就绪
     598    FightersAndASW = 1
     599    # 否，不允许快速周转。
     600    No = 2
     601    # 和上级一致
     602    Inherit = 999
     603
     604
     605class FuelState(Enum):
     606    """
     607    燃油状态
     608    """
     609    Bingo = 0
     610    Joker10Percent = 1
     611    Joker20Percent = 2
     612    Joker25Percent = 3
     613    Joker30Percent = 4
     614    Joker40Percent = 5
     615    Joker50Percent = 6
     616    Joker60Percent = 7
     617    Joker70Percent = 8
     618    Joker75Percent = 9
     619    Joker80Percent = 10
     620    Joker90Percent = 11
     621    Inherit = 999
     622
     623
     624class UseTorpedoesKinematicRange(Enum):
     625    """
     626    鱼雷使用动力航程
     627    """
     628    # 手动发射和自动发射使用动力航程
     629    Yes = 0
     630    # 仅手动发射使用动力航程
     631    YesOnlyManualLaunch = 1
     632    # 严格射程
     633    PracticalRange = 2
     634    Inherit = 999
     635
     636
     637class RefuelSelection(Enum):
     638    """
     639    对所选单元进行加油/补给
     640    """
     641    ClosestTanker = 0
     642    TankerLocateBetweenMeAndTarget = 1
     643    TankerLocateBetweenMeAndTarget_CantReturnBack = 2
     644    Inherit = 999
     645
     646
     647class IgnoreEMCONUnderAttack(Enum):
     648    """
     649    受到攻击时忽略电磁管控
     650    """
     651    No = 0
     652    Ignore_EMCON_While_Under_Attack = 1
     653    Inherit = 999
     654
     655
     656class AutomaticEvasion(Enum):
     657    """
     658    自动规避
     659    """
     660    No = 0
     661    Yes = 1
     662    Inherit = 999
     663
     664
     665class GunStrafeGroundTargets(Enum):
     666    """
     667    空对地扫射
     668    """
     669    No = 0
     670    Yes = 1
     671    Inherit = 999
     672
     673
     674class JettisonOrdnance(Enum):
     675    """
     676    丢弃武器
     677    """
     678    # 禁止
     679    No = 0
     680    # 允许
     681    Yes = 1
     682    Inherit = 999
     683
     684
     685class BvrLogic(Enum):
     686    """
     687    超视距交战
     688    """
     689    # 直接跟踪导弹. 飞机将持续跟踪导弹，径直驶向敌人。
     690    Weapon = 0
     691    # 相机而动, 飞机将“转弯”，调整制导雷达，使得导弹处于边缘位置并减速。这象征着一种如果可能则保持远距离的企图和训练效果。
     692    Operation = 1
     693    # 飞机不仅会转弯，且一旦导弹进入主动制导阶段，此时载机的制导不再必要，单元会“抽身”并远离目标。
     694    # 这象征着不惜任何代价保持远离目标的企图和技术。
     695    OperationAndGo = 2
     696    Inherit = 999
     697
     698
     699class UseSAMsInASuWMode(Enum):
     700    """
     701    反舰模式使用舰空导弹
     702    """
     703    # 否
     704    No = 0
     705    # 是
     706    Yes = 1
     707    Inherit = 999
     708
     709
     710class MaintainStandoff(Enum):
     711    """
     712    与目标保持距离
     713    """
     714    # 否
     715    No = 0
     716    # 是
     717    Yes = 1
     718    Inherit = 999
     719
     720
     721class NavigationAS(Enum):
     722    """
     723    反水面作战行动 导航
     724    """
     725    # 最短距离
     726    Min = 0
     727    # 深水航行
     728    DeepWater = 1
     729    # 近海航行
     730    Offshore = 2
     731    Inherit = 999
     732
     733
     734class AvoidContact(Enum):
     735    """
     736    反潜作战行动 规避搜索
     737    """
     738    No = 0
     739    YesExceptSelfDefence = 1
     740    YesAlways = 2
     741    Inherit = 999
     742
     743
     744class DiveOnThreat(Enum):
     745    """
     746    反潜作战行动 探测到威胁进行下潜
     747    """
     748    YesESMOnly = 0
     749    YesRadar = 1
     750    YesShips20nmAircraft30nm = 2
     751    No = 3
     752    Inherit = 999
     753
     754
     755class RechargePercent(Enum):
     756    """
     757    反潜作战行动 充电电池
     758    """
     759    RechargeEmpty = 0
     760    Recharge10Percent = 10
     761    Recharge20Percent = 20
     762    Recharge30Percent = 30
     763    Recharge40Percent = 40
     764    Recharge50Percent = 50
     765    Recharge60Percent = 60
     766    Recharge70Percent = 70
     767    Recharge80Percent = 80
     768    Recharge90Percent = 90
     769    Inherit = 999
     770
     771
     772class UseAIP(Enum):
     773    """
     774    反潜作战行动 使用AIP技术
     775    """
     776    No = 0
     777    YesAttackOnly = 1
     778    YesAlways = 2
     779    Inherit = 999
     780
     781
     782class DippingSonar(Enum):
     783    """
     784    反潜作战行动  吊放声呐
     785    """
     786    Automatically = 0
     787    Manual = 1
     788    Inherit = 999
     789
     790
     791class NavigationSub(Enum):
     792    """
     793    反潜作战行动 导航
     794    """
     795    Close = 0
     796    Deep = 1
     797    Attack = 2
     798    NearCoast = 3
     799    Inherit = 999
     800
     801
     802class NavigationLand(Enum):
     803    """
     804    陆战作战行动 导航
     805    """
     806    Shortest = 0  # 最短路径
     807    Nav1 = 1  # 预留位置，暂无效
     808    Nav2 = 2  # 预留位置，暂无效
     809    Nav3 = 3  # 预留位置，暂无效
     810    Nav4 = 4  # 预留位置，暂无效
     811    Nav5 = 5  # 预留位置，暂无效
     812    Nav6 = 6  # 预留位置，暂无效
     813    Nav7 = 7  # 预留位置，暂无效
     814    Inherit = 999  # 继承
     815
     816
     817class IgnorePlottedCourseWhenAttacking(Enum):
     818    """
     819    受到攻击时忽略计划航线
     820    """
     821    No = 0
     822    Yes = 1
     823    Inherit = 999
     824
     825
     826class WeaponStatePlanned(Enum):
     827    """
     828    武器状态，预先规划
     829    """
     830    # 没有值：
     831    NoneValue = 1001
     832    # 使用挂载设置：
     833    LoadSet = 0
     834    # 任务武器已耗光，立即脱离战斗：
     835    WinchesterDisengage = 2001
     836    # 任务武器已耗光.允许使用航炮对临机目标进行打击（推荐）：
     837    WinchesterUseAirGuns = 2002
     838    # 所有超视距与防区外打击武器已经耗光.立即脱离战斗：
     839    ShotgunBVRExpendedDisengage = 3001
     840    # 所有超视距与防区外打击武器已经耗光.允许使用视距内或防区内打击武器对较易攻击的临机出现目标进行攻击.不使用航炮：
     841    ShotgunBVRExpendedNoGuns = 3002
     842    # 所有超视距与防区外打击武器已经耗光.允许使用视距内、防区内打击武器或者航炮对较易攻击的临机出现目标进行攻击：
     843    ShotgunBVRExpendedGuns = 3003
     844    # 25 % 相关武器已经耗光.立即脱离战斗
     845    Shotgun25Disengage = 4001
     846    # 25%相关武器已经耗光. 允许与临机出现目标交战，包括航炮
     847    Shotgun25Airguns = 4002
     848    # 50%相关武器已经耗光. 立即脱离战斗
     849    Shotgun50Disengage = 4011
     850    # 50%相关武器已经耗光. 允许与临机出现目标交战，包括航炮
     851    Shotgun50Airguns = 4012
     852    # 75%相关武器已经耗光. 立即脱离战斗
     853    Shotgun75Disengage = 4021
     854    # 75%相关武器已经耗光. 允许与临机出现目标交战，包括航炮
     855    Shotgun75Airguns = 4022
     856    # 使用超视距或防区外打击武器进行一次交战.立即脱离战斗
     857    ShotgunOneEngageOutDisengage = 5001
     858    # 使用超视距或防区外打击武器进行一次交战.允许使用视距内或防区内打击武器对较易攻击的临机出现目标进行攻击.不使用航炮
     859    ShotgunOneEngageNoAirguns = 5002
     860    # 使用超视距或防区外打击武器进行一次交战.允许使用视距内、防区内打击武器或者航炮对较易攻击的临机出现目标进行攻击
     861    ShotgunOneEngageInAirguns = 5003
     862    # 同时使用超视距 / 视距内或防区外 / 防区内打击武器进行一次交战.不使用航炮
     863    ShotgunOneEngageStrikeNoAirguns = 5005
     864    # 同时使用超视距 / 视距内或防区外 / 防区内打击武器进行一次交战.允许使用航炮对较易攻击的临机出现目标进行攻击
     865    ShotgunOneEngageOutStrikeAirguns = 5006
     866    # 使用视距内或防区内打击武器进行一次交战.立即脱离战斗
     867    ShotgunOneEngageInDisengage = 5011
     868    # 使用视距内或防区内打击武器进行一次交战. 允许使用航炮与临机出现目标格斗
     869    ShotgunOneEngageInStrikeAirguns = 5012
     870    # 使用航炮进行一次交战
     871    ShotgunOneEngageAirguns = 5021
     872    # 和上级一致
     873    Inherit = 999
     874
     875
     876class WeaponStateRTB(Enum):
     877    """
     878    武器状态-返航
     879    """
     880    No = 0
     881    YesLastUnit = 1
     882    YesFirstUnit = 2
     883    YesLeaveGroup = 3
     884    Inherit = 999
     885
     886
     887class FuelStateRTB(Enum):
     888    """
     889    燃油状态-返航
     890    """
     891    No = 0
     892    YesLastUnit = 1
     893    YesFirstUnit = 2
     894    YesLeaveGroup = 3
     895    Inherit = 999
     896
     897
     898class RefuelAlliedUnits(Enum):
     899    """
     900    对盟军单元进行加油
     901    """
     902    Yes = 0
     903    Yes_ReceiveOnly = 1
     904    Yes_DeliverOnly = 2
     905    No = 3
     906    Inherit = 999
     907
     908
     909class DamageThreshold(Enum):
     910    """
     911    毁伤程度小于，则重新部署
     912    """
     913    Ignore = 0
     914    Percent5 = 1
     915    Percent25 = 2
     916    Percent50 = 3
     917    Percent75 = 4
     918    Inherit = 999
     919
     920
     921class FuelQuantityThreshold(Enum):
     922    """
     923    燃油状态重新部署
     924    """
     925    Ignore = 0
     926    Bingo = 1
     927    Percent25 = 2
     928    Percent50 = 3
     929    Percent75 = 4
     930    Percent100 = 5
     931    Inherit = 999
     932
     933
     934class WeaponQuantityThreshold(Enum):
     935    """
     936    武器状态重新部署
     937    """
     938    Ignore = 0
     939    Exhausted = 1
     940    Percent25 = 2
     941    Percent50 = 3
     942    Percent75 = 4
     943    Percent100 = 5
     944    LoadFullWeapons = 6
     945    Inherit = 999
     946
     947
     948class EMCON_SettingsMode(Enum):
     949    """
     950    电磁管控设置
     951    """
     952    Passive = 0
     953    Active = 1
     954    Inherit = 999
     955
     956
     957class WRA_WeaponTargetType(Enum):
     958    """
     959    武器打击目标代码
     960    """
     961    # None
     962    NoneValue = 1001
     963    # decoy
     964    Decoy = 1002
     965    # Air Contact - Unknown Type
     966    Air_Contact_Unknown_Type = 1999
     967    # Aircraft - Unspecified
     968    Aircraft_Unspecified = 2000
     969    # Aircraft - 5th Generation Fighter/Attack [Agility/Gen: 5.0+] (F-22, Eurofighter, Rafale)
     970    Aircraft_5th_Generation = 2001
     971    # Aircraft - 4th Generation Fighter/Attack [Agility/Gen: 4.0-4.9] (F-14, F-15, F-16, MiG-29, Su-27)
     972    Aircraft_4th_Generation = 2002
     973    # Aircraft - 3rd Generation Fighter/Attack [Agility/Gen: 3.0-3.9] (F-4, F-5, MiG-21, MiG-23)
     974    Aircraft_3rd_Generation = 2003
     975    # Aircraft - Less Capable Fighter/Attack [Agility: 2.0-2.9] (F-111, Lightning, Su-7, MiG-17)
     976    Aircraft_Less_Capable = 2004
     977    # Aircraft - High-performance Bombers [Agility: 2.0+] (B-1B, B-2A, Tu-22M
     978    Aircraft_High_Perf_Bombers = 2011
     979    # Aircraft - Medium-performance Bombers [Agility: 1.5-1.9] (B-52, Vulcan, Tu-16)
     980    Aircraft_Medium_Perf_Bombers = 2012
     981    # Aircraft - Low-performance Bombers [Agility: 1.0-1.4] (B-24, Canberra, Tu-95, Bison)
     982    Aircraft_Low_Perf_Bombers = 2013
     983    # Aircraft - High-Performance Reconnaissance and Electronic Warfare [Agility: 4.0+]
     984    Aircraft_High_Perf_Recon_EW = 2021
     985    # Aircraft - Medium-Performance Reconnaissance and Electronic Warfare [Agility: 3.0-3.9]
     986    Aircraft_Medium_Perf_Recon_EW = 2022
     987    # Aircraft - Low-Performance Reconnaissance and Electronic Warfare [Agility: 2.0-2.9]
     988    Aircraft_Low_Perf_Recon_EW = 2023
     989    # Aircraft - Airborne Early Warning and Control
     990    Aircraft_AEW = 2031
     991    # Aircraft - Micro UAV
     992    Aircraft_MicroUAV = 2032,
     993    # Helicopter - Unspecified
     994    Helicopter_Unspecified = 2100
     995    # Guided Weapon - Unspecified
     996    Guided_Weapon_Unspecified = 2200
     997    # Guided Weapon - Supersonic Sea-Skimming
     998    Guided_Weapon_Supersonic_Sea_Skimming = 2201
     999    # Guided Weapon - Subsonic Sea-Skimming
    1000    Guided_Weapon_Subsonic_Sea_Skimming = 2202
    1001    # Guided Weapon - Supersonic
    1002    Guided_Weapon_Supersonic = 2203
    1003    # Guided Weapon - Subsonic
    1004    Guided_Weapon_Subsonic = 2204
    1005    # Guided Weapon - Ballistic
    1006    Guided_Weapon_Ballistic = 2211
    1007    # Satellite - Unspecified
    1008    Satellite_Unspecified = 2300
    1009    # Surface Contact - Unknown Type
    1010    Surface_Contact_Unknown_Type = 2999
    1011    # Ship - Unspecified
    1012    Ship_Unspecified = 3000
    1013    # Ship - Carrier, 0-25000 tons
    1014    Ship_Carrier_0_25000_tons = 3001
    1015    # Ship - Carrier, 25001-45000 tons
    1016    Ship_Carrier_25001_45000_tons = 3002
    1017    # Ship - Carrier, 45001-95000 tons
    1018    Ship_Carrier_45001_95000_tons = 3003
    1019    # Ship - Carrier, 95000+ tons
    1020    Ship_Carrier_95000_tons = 3004
    1021    # Ship - Surface Combatant, 0-500 tons
    1022    Ship_Surface_Combatant_0_500_tons = 3101
    1023    # Ship - Surface Combatant, 501-1500 tons, plus Missile Boats with smaller displacement
    1024    Ship_Surface_Combatant_501_1500_tons = 3102
    1025    # Ship - Surface Combatant, 1501-5000 tons, plus Frigates and Corvettes with smaller displacement
    1026    Ship_Surface_Combatant_1501_5000_tons = 3103
    1027    # Ship - Surface Combatant, 5001-10000 tons, plus Destroyers with smaller displacement
    1028    Ship_Surface_Combatant_5001_10000_tons = 3104
    1029    # Ship - Surface Combatant, 10001-25000 tons, plus Cruisers with smaller displacement
    1030    Ship_Surface_Combatant_10001_25000_tons = 3105
    1031    # Ship - Surface Combatant, 25001-45000 tons
    1032    Ship_Surface_Combatant_25001_45000_tons = 3106
    1033    # Ship - Surface Combatant, 45001-95000 tons
    1034    Ship_Surface_Combatant_45001_95000_tons = 3107
    1035    # Ship - Surface Combatant, 95000+ tons
    1036    Ship_Surface_Combatant_95000_tons = 3108
    1037    # Ship - Amphibious, 0-500 tons
    1038    Ship_Amphibious_0_500_tons = 3201
    1039    # Ship - Amphibious, 501-1500 tons
    1040    Ship_Amphibious_501_1500_tons = 3202
    1041    # Ship - Amphibious, 1501-5000 tons
    1042    Ship_Amphibious_1501_5000_tons = 3203
    1043    # Ship - Amphibious, 5001-10000 tons
    1044    Ship_Amphibious_5001_10000_tons = 3204
    1045    # Ship - Amphibious, 10001-25000 tons
    1046    Ship_Amphibious_10001_25000_tons = 3205
    1047    # Ship - Amphibious, 25001-45000 tons
    1048    Ship_Amphibious_25001_45000_tons = 3206
    1049    # Ship - Amphibious, 45001-95000 tons
    1050    Ship_Amphibious_45001_95000_tons = 3207
    1051    # Ship - Amphibious, 95000+ tons
    1052    Ship_Amphibious_95000_tons = 3208
    1053    # Ship - Auxiliary, 0-500 tons
    1054    Ship_Auxiliary_0_500_tons = 3301
    1055    # Ship - Auxiliary, 501-1500 tons
    1056    Ship_Auxiliary_501_1500_tons = 3302
    1057    # Ship - Auxiliary, 1501-5000 tons
    1058    Ship_Auxiliary_1501_5000_tons = 3303
    1059    # Ship - Auxiliary, 5001-10000 tons
    1060    Ship_Auxiliary_5001_10000_tons = 3304
    1061    # Ship - Auxiliary, 10001-25000 tons
    1062    Ship_Auxiliary_10001_25000_tons = 3305
    1063    # Ship - Auxiliary, 25001-45000 tons
    1064    Ship_Auxiliary_25001_45000_tons = 3306
    1065    # Ship - Auxiliary, 45001-95000 tons
    1066    Ship_Auxiliary_45001_95000_tons = 3307
    1067    # Ship - Auxiliary, 95000+ tons
    1068    Ship_Auxiliary_95000_tons = 3308
    1069    # Ship - Merchant / Civilian, 0-500 tons
    1070    Ship_Merchant_Civilian_0_500_tons = 3401
    1071    # Ship - Merchant / Civilian, 501-1500 tons
    1072    Ship_Merchant_Civilian_501_1500_tons = 3402
    1073    # Ship - Merchant / Civilian, 1501-5000 tons
    1074    Ship_Merchant_Civilian_1501_5000_tons = 3403
    1075    # Ship - Merchant / Civilian, 5001-10000 tons
    1076    Ship_Merchant_Civilian_5001_10000_tons = 3404
    1077    # Ship - Merchant / Civilian, 10001-25000 tons
    1078    Ship_Merchant_Civilian_10001_25000_tons = 3405
    1079    # Ship - Merchant / Civilian, 25001-45000 tons
    1080    Ship_Merchant_Civilian_25001_45000_tons = 3406
    1081    # Ship - Merchant / Civilian, 45001-95000 tons
    1082    Ship_Merchant_Civilian_45001_95000_tons = 3407
    1083    # Ship - Merchant / Civilian, 95000+ tons
    1084    Ship_Merchant_Civilian_95000_tons = 3408
    1085    # Ship - Surfaced Submarine
    1086    Submarine_Surfaced = 3501
    1087    # Sub-Surface Contact - Unknown Type
    1088    Subsurface_Contact_Unknown_Type = 3999
    1089    # Submarine - Unspecified
    1090    Submarine_Unspecified = 4000
    1091    # Land Contact - Unknown Type
    1092    Land_Contact_Unknown_Type = 4999
    1093    # Land Structure - Soft - Unspecified
    1094    Land_Structure_Soft_Unspecified = 5000
    1095    # Land Structure - Soft - Building (Surface)
    1096    Land_Structure_Soft_Building_Surface = 5001
    1097    # Land Structure - Soft - Building (Reveted)
    1098    Land_Structure_Soft_Building_Reveted = 5002
    1099    # Land Structure - Soft - Structure (Open)
    1100    Land_Structure_Soft_Structure_Open = 5005
    1101    # Land Structure - Soft - Structure (Reveted)
    1102    Land_Structure_Soft_Structure_Reveted = 5006
    1103    # Land Structure - Soft - Aerostat Moring
    1104    Land_Structure_Soft_Aerostat_Moring = 5011
    1105    # Land Structure - Hardened - Unspecified
    1106    Land_Structure_Hardened_Unspecified = 5100
    1107    # Land Structure - Hardened - Building (Surface)
    1108    Land_Structure_Hardened_Building_Surface = 5101
    1109    # Land Structure - Hardened - Building (Reveted)
    1110    Land_Structure_Hardened_Building_Reveted = 5102
    1111    # Land Structure - Hardened - Building (Bunker)
    1112    Land_Structure_Hardened_Building_Bunker = 5103
    1113    # Land Structure - Hardened - Building (Underground)
    1114    Land_Structure_Hardened_Building_Underground = 5104
    1115    # Land Structure - Hardened - Structure (Open)
    1116    Land_Structure_Hardened_Structure_Open = 5105
    1117    # Land Structure - Hardened - Structure (Reveted)
    1118    Land_Structure_Hardened_Structure_Reveted = 5106
    1119    # Runway Facility - Unspecified
    1120    Runway_Facility_Unspecified = 5200
    1121    # Runway
    1122    Runway = 5201
    1123    # Runway-Grade Taxiway
    1124    Runway_Grade_Taxiway = 5202
    1125    # Runway Access Point
    1126    Runway_Access_Point = 5203
    1127    # Radar - Unspecified
    1128    Radar_Unspecified = 5300
    1129    # Mobile Target - Soft - Unspecified
    1130    Mobile_Target_Soft_Unspecified = 5400
    1131    # Mobile Target - Soft - Mobile Vehicle(s)
    1132    Mobile_Target_Soft_Mobile_Vehicle = 5401
    1133    # Mobile Target - Soft - Mobile Personnel
    1134    Mobile_Target_Soft_Mobile_Personnel = 5402
    1135    # Mobile Target - Hardened - Unspecified
    1136    Mobile_Target_Hardened_Unspecified = 5500
    1137    # Mobile Target - Hardened - Mobile Vehicle(s)
    1138    Mobile_Target_Hardened_Mobile_Vehicle = 5501
    1139    # Underwater Structure
    1140    Underwater_Structure = 5601
    1141    # Air Base (Single-Unit Airfield)
    1142    Air_Base_Single_Unit_Airfield = 5801
    1143
    1144
    1145class WRAWeaponQty(Enum):
    1146    """
    1147    齐射武器数
    1148    """
    1149    # 不使用
    1150    NotUse = 0
    1151    # 系统缺省 或 未配置
    1152    Default = -99
    1153    # 导弹防御值的1/4
    1154    MissileDefence25Percent = -6
    1155    MissileDefence50Percent = -5
    1156    MissileDefence400Percent = -4
    1157    MissileDefence200Percent = -3
    1158    # 导弹防御值
    1159    MissileDefence = -2
    1160    Rnd1 = 1
    1161    Rnds2 = 2
    1162    Rnds3 = 3
    1163    Rnds4 = 4
    1164    Rnds5 = 5
    1165    Rnds6 = 6
    1166    Rnds7 = 7
    1167    Rnds8 = 8
    1168    Rnd10 = 10
    1169    Rnds12 = 12
    1170    Rnds14 = 14
    1171    Rnds16 = 16
    1172    Rnds18 = 18
    1173    Rnds20 = 20
    1174    Rnds22 = 22
    1175    Rnds24 = 24
    1176    Rnds26 = 26
    1177    Rnds28 = 28
    1178    Rnds30 = 30
    1179    AllWeapon = 99
    1180    Inherit = 999
    1181
    1182
    1183class WRAShooterQty(Enum):
    1184    """
    1185    武器发射架数
    1186    """
    1187    # 系统缺省 或 未配置
    1188    Default = -99
    1189    # 开火的作战单元数满足武器的齐射要求数
    1190    FellowWeaponQty = -1
    1191    # 一个作战单元
    1192    One = 1
    1193    # 两个作战单元
    1194    Two = 2
    1195    # 四个作战单元
    1196    Four = 4
    1197    # 与上级一致
    1198    Inherit = 999
    1199
    1200
    1201class WRASelfAttackRange(Enum):
    1202    """
    1203    自动开火距离
    1204    """
    1205    # 系统缺省 或 未配置
    1206    Default = -99
    1207    # 最大射程
    1208    MaximumRange = 99
    1209    # 不自动开火
    1210    NoUseWeaponDefence = 0
    1211    TwoNm = 2
    1212    FiveNm = 5
    1213    TenNm = 10
    1214    FifteenNm = 15
    1215    TwentyNm = 20
    1216    TwentyFiveNm = 25
    1217    # 30海里
    1218    ThirtyNm = 30
    1219    ThirtyFiveNm = 35
    1220    FortyNm = 40
    1221    FortyFiveNm = 45
    1222    FiftyNm = 50
    1223    SixtyNm = 60
    1224    SeventyNm = 70
    1225    EightyNm = 80
    1226    NinetyNm = 90
    1227    # 100海里
    1228    OneHundred = 100
    1229    OneHundred25 = 125
    1230    OneHundred50 = 150
    1231    OneHundred70 = 170
    1232    TwoHundred = 200
    1233    # 250海里
    1234    TwoHundred50 = 250
    1235    ThreeHundred = 300
    1236    FiveHundred = 500
    1237    SevenHundred50 = 750
    1238    # 1000海里
    1239    OneThousand = 1000
    1240    OneThonsand500 = 1500
    1241    TwoThonsand = 2000
    1242    Inherit = 999
    1243
    1244
    1245class WRASelfDefenceRange(Enum):
    1246    """
    1247    武器自防御距离
    1248    """
    1249    # 系统缺省 或 未配置
    1250    Default = -99
    1251    # 最大防御距离
    1252    MaximumRange = -9
    1253    # 武器不用自防御
    1254    NoUseWeaponDefence = 0
    1255    # 1海里
    1256    OneNm = 1
    1257    # 2海里
    1258    TwoNm = 2
    1259    ThreeNm = 3
    1260    FourNm = 4
    1261    FiveNm = 5
    1262    SixNm = 6
    1263    SevenNm = 7
    1264    EightNm = 8
    1265    NineNm = 9
    1266    TenNm = 10
    1267    FifteenNm = 15
    1268    Inherit = 999
    1269
    1270
    1271class WayPointType(Enum):
    1272    """
    1273    航路点类型
    1274    """
    1275    ManualPlottedCourseWaypoint = 0
    1276    PatrolStation = 1
    1277
    1278
    1279waypointtype2str = {
    1280    0: "ManualPlottedCourseWaypoint",
    1281    1: "PatrolStation",
    1282    2: "TerminalPoint",
    1283    3: "LocalizationRun",
    1284    4: "PathfindingPoint",
    1285    5: "Assemble",
    1286    6: "TurningPoint",
    1287    7: "InitialPoint",
    1288    8: "Split",
    1289    9: "Formate",
    1290    10: "Target",
    1291    11: "LandingMarshal",
    1292    12: "StrikeIngress",
    1293    13: "StrikeEgress",
    1294    14: "Refuel",
    1295    15: "TakeOff",
    1296    16: "Marshal",
    1297    17: "WeaponLaunch",
    1298    18: "Land",
    1299    19: "WeaponTarget",
    1300    20: "StationStart_Racetrack",
    1301    21: "StationStart_FigureEight",
    1302    22: "StationStart_Area",
    1303    23: "StationStart_RaceTrackRandom",
    1304    24: "StationEnd",
    1305    25: "PickupPoint",
    1306    26: "HoldStart",
    1307    27: "HoldEnd",
    1308    28: "Launch",
    1309    29: "Activation",
    1310    30: "Termination"
    1311}
    1312
    1313
    1314# aircraft
    1315class BearingType(Enum):
    1316    # 固定的，不随领队朝向变化而变化
    1317    Fixed = 0
    1318    # 旋转的，随领队朝向改变旋转
    1319    Rotating = 1
    1320
    1321
    1322class AircraftCategory(Enum):
    1323    # 未知
    1324    NoneValue = 1001
    1325    # 固定翼
    1326    FixedWing = 2001
    1327    # 固定翼舰载机
    1328    FixedWing_CarrierCapable = 2002
    1329    # 直升机
    1330    Helicopter = 2003
    1331    # 倾转旋翼机
    1332    Tiltrotor = 2004
    1333    const_5 = 2005
    1334    # 飞艇
    1335    Airship = 2006
    1336    # 水上飞机
    1337    Seaplane = 2007
    1338    # 两栖飞机
    1339    Amphibian = 2008
    1340
    1341
    1342class AircraftType(Enum):
    1343    # 其他
    1344    NoneValue = 1001
    1345    # 战斗机
    1346    Fighter = 2001
    1347    # 多用途飞机
    1348    Multirole = 2002
    1349    # 反卫星飞机
    1350    ASAT = 2101
    1351    # 空中激光平台
    1352    AirborneLaserPlatform = 2102
    1353    # 攻击机
    1354    Attack = 3001
    1355    # 野鼬鼠 （防空压制）
    1356    WildWeasel = 3002
    1357    # 轰炸机
    1358    Bomber = 3101
    1359    # 战场空中拦截（BAI/ CAS）
    1360    CAS = 3401
    1361    # 电子战飞机
    1362    OECM = 4001
    1363    # 预警机
    1364    AEW = 4002
    1365    # 指挥机 （ACP）
    1366    AirborneCP = 4003
    1367    # 救援飞机
    1368    SAR = 4101
    1369    # 反水雷飞机
    1370    MCM = 4201
    1371    # 反潜作战飞机
    1372    ASW = 6001
    1373    # 海上巡逻机
    1374    MPA = 6002
    1375    # 前进观察员
    1376    ForwardObserver = 7001
    1377    # 区域监视
    1378    AreaSurveillance = 7002
    1379    # 侦察机
    1380    Recon = 7003
    1381    # 电子情报收集飞机
    1382    ELINT = 7004
    1383    # 信号情报收集飞机
    1384    SIGINT = 7005
    1385    # 运输机
    1386    Transport = 7101
    1387    # 货机
    1388    Cargo = 7201
    1389    # 商业飞机
    1390    Commercial = 7301
    1391    # 民用
    1392    Civilian = 7302
    1393    # 通用直升机
    1394    Utility = 7401
    1395    # 海军通用直升机
    1396    Utility_Naval = 7402
    1397    # 空中加油机
    1398    Tanker = 8001
    1399    # 教练机
    1400    Trainer = 8101
    1401    # 牵引机
    1402    TargetTowing = 8102
    1403    # 靶机
    1404    TargetDrone = 8103
    1405    # 无人机
    1406    UAV = 8201
    1407    # 无人作战飞行器
    1408    UCAV = 8202
    1409    # 飞艇
    1410    AirShip = 8901
    1411    # 航空器
    1412    Aerostat = 8902
    1413    IMGSAT = 9001
    1414    RORSAT = 9002
    1415    EORSAT = 9003
    1416
    1417
    1418"""
    1419地面装备-category:
    14201001	其他
    14212001	跑道
    14222002	滑行道(可作临时跑道)
    14232003	跑道入口
    14243001	建筑物 (地表)
    14253002	建筑物 (混凝土)
    14263003	建筑物 (地堡)
    14273004	建筑物 (地下)
    14283005	建筑结构 (开放)
    14293006	建筑结构 (混凝土)
    14304001	水下
    14315001	移动车辆
    14325002	移动人员
    14336001	航空器系泊设备
    14349001	空军基地
    1435
    1436舰船类别-category:
    14371001	其他
    14382001	航空母舰 (航空舰)
    14392002	水面战斗舰艇
    14402003	两栖舰艇
    14412004	辅助舰艇
    14422005	贸易船
    14432006	民用船
    14442007	水面战斗舰(航空能力)
    14452008	移动海上基地 (航空能力)
    1446
    1447舰船子类型-type
    14481001	其他
    14492001	CV - 航空母舰
    14502002	CVA - 攻击型航空母舰
    14512003	CVB - 大型航空母舰
    14522004	CVE - 护航航空母舰
    14532005	CVGH - 导弹直升机航母
    14542006	CVH - 直升机航母
    14552007	CVL - 轻型航空母舰
    14562008	CVN -核动力航空母舰
    14572009	CVS - 水上飞机母舰
    14582010	CVS - 反潜航空母舰
    14592011	AVT - 训练航母
    14603001	B - 战列舰
    14613002	BB - 战列舰
    14623003	BBC - 指挥战列舰
    14633004	BBG - 导弹战列舰
    14643005	BBH - 直升机战列舰
    14653006	BCGN - 核动力导弹战列巡洋舰
    14663007	BM - 小型浅水重炮舰
    14673101	C - 巡洋舰
    14683102	CA - 重型巡洋舰
    14693103	CAG - 重型导弹巡洋舰
    14703104	CB - 大型巡洋舰
    14713105	CBG - 大型导弹巡洋舰
    14723106	CG - 导弹巡洋舰
    14733107	CGH - 导弹直升机巡洋舰
    14743108	CGN - 核动力导弹巡洋舰
    14753109	CL - 轻型巡洋舰
    14763110	CLAA - 轻型防空巡洋舰
    14773111	CLC - 轻型指挥巡洋舰
    14783112	CLG - 轻型导弹巡洋舰
    14793113	CLH - 轻型直升机巡洋舰
    14803114	CS - 侦查巡洋舰
    14813201	D - 驱逐舰
    14823202	DD - 驱逐舰
    14833203	DDG - 导弹驱逐舰
    14843204	DDH - 直升机驱逐舰
    14853205	DDK - 反潜艇驱逐舰
    14863206	DDR - 雷达警戒驱逐舰
    14873207	DE - 护航驱逐舰
    14883208	DEG - 导弹护航驱逐舰
    14893209	DER - 雷达警戒护航驱逐舰
    14903210	DL - 驱逐舰
    14913211	DLG - 导弹驱逐舰
    14923212	DM - 布雷驱逐舰（改装自驱逐舰）
    14933301	F - 护卫舰
    14943302	FF - 护卫舰
    14953303	FFG - 导弹护卫舰
    14963304	FFG - 轻型护卫舰
    14973305	PF - 巡逻护卫舰
    14983306	LCS - 濒海战斗舰
    14993307	OPV - 海洋巡逻艇
    15003308	USV - 无人艇
    15013401	PB - 巡逻艇
    15023402	PC1 - 海岸巡逻艇
    15033403	PC2 - 猎潜艇
    15043404	PCE - 猎潜护航艇
    15053405	PCF - 快速巡逻艇
    15063406	PCFG - 快速导弹巡逻艇
    15073407	PG1 - 巡逻舰
    15083408	PG2 - 轻型护卫舰
    15093409	PGM - 导弹炮舰
    15103410	PH - 水翼炮艇
    15113411	PHM - 导弹水翼船
    15123412	PHT - 水翼鱼雷快艇
    15133413	PT - 巡逻鱼雷艇
    15143414	PTS - 小型鱼雷巡逻艇
    15153415	MTB - 鱼雷摩托艇
    15163416	WHEC - 海岸警卫队高续航快艇
    15173417	WMEC - 海岸警卫队中续航快艇
    15183418	WPB - 海岸警卫队巡逻船
    15193419	WPG - 海岸警卫队巡逻炮艇
    15203420	MCDV - 海事海防船
    15213421	WMEC - Medium Endurance Cutter
    15223422	WMSL - Maritime Security Cutter, Large
    15233423	WMSM - Maritime Security Cutter, Medium
    15244000	AGF1 - 指挥舰
    15254001	AGC - 两栖舰队旗舰
    15264002	LCAC - 气垫登陆艇
    15274003	LCC - 两栖指挥舰
    15284004	LCM - 机械化登陆艇
    15294005	LCP- 人员登陆艇
    15304006	LCT - 坦克登陆艇
    15314007	LCU - 通用登陆艇
    15324008	LCVP - 车辆及人员登陆艇
    15334009	LFR - 近岸火力支援船
    15344010	LHA - 通用两栖攻击舰
    15354011	LHD - 多用途两栖攻击舰
    15364012	LKA - 两栖货舰
    15374013	LPD - 两栖船坞运输舰
    15384014	LPH - 两栖攻击直升机航母
    15394015	LSD - 船坞登陆舰
    15404016	LSH - 未知！英国型号！
    15414017	LSL - 后勤登陆舰
    15424018	LSM - 中型登陆舰
    15434019	LSM(R) - 中型火箭登陆舰
    15444020	LST - 坦克登陆舰
    15454021	LSU - 通用登陆舰
    15464022	LSV - 车辆登陆舰
    15474023	LCI - 步兵登陆舰
    15484024	LSDV - 半潜水快艇
    15494025	LCPA - 气垫式人员登陆舰
    15504026	EPF - 远征快速运输舰
    15514027	ESD - 远征转运码头舰
    15524028	ESB - 远征移动基地舰
    15535001	A - 辅助船
    15545002	AD - 驱逐舰供应舰
    15555003	AE - 弹药船
    15565004	AF - 冷藏储运船
    15575005	AFS - 军需品储运船
    15585006	AG - 通用辅助船
    15595007	AGB - 重型破冰船
    15605008	AGF2 - 指挥舰
    15615009	AGI - 情报收集舰
    15625010	AGMR - 通信中继船
    15635011	AGOR - 海洋科学考察船
    15645012	AGOS - 海洋监测船
    15655013	AGR - 雷达警戒（改装自货船）
    15665014	AGS - 测量船
    15675015	AGTR - 技术考察船
    15685016	AH - 医疗船
    15695017	AK - 货船
    15705018	AKA - 武装货船
    15715019	AKE - 干货船
    15725020	AKR - 滚装船
    15735021	AKS - 通用存运船
    15745022	AO - 舰队油船
    15755023	AOE - 快速战斗支援舰
    15765024	AOL - 小型油船
    15775025	AOR - 补给油船
    15785026	AOT - 运油船
    15795027	APA - 攻击型人员运输舰
    15805028	APD - 运兵船（高速）
    15815029	AR - 修理船
    15825030	AS - 潜艇供应舰
    15835031	ATC - 武装运兵船 (靶船)
    15845032	ATA - 辅助远洋拖船
    15855033	ATS - 救助拖船
    15865034	AV - 水上飞机供应舰
    15875035	AX - 训练舰
    15885036	ASR - 潜艇救援舰
    15895037	AP - 人员运输舰
    15905038	DSV - 潜水支援船/深潜车
    15915039	AGM - 导弹射程测量船
    15925040	AD - 驱逐舰母舰
    15935041	DTV - Diving Tender
    15945042	GPV - General Purpose Vessel
    15955043	AGL - Buoy Tender
    15965101	T-AGOS - MSC (军事海运司令部) 海洋监测船
    15975102	T-AH  - MSC (军事海运司令部) 医疗船
    15985103	T-AK - MSC (军事海运司令部)货船
    15995104	T-AKE - MSC (军事海运司令部) 干货船
    16005105	T-AKR - MSC (军事海运司令部) 滚装船
    16015106	T-AO - MSC (军事海运司令部) 舰队油船
    16025107	T-AO - MSC (军事海运司令部) 运油船
    16035108	T-MLP - MSC (军事海运司令部) 移动登陆平台
    16046001	MCD - 反水雷无人机
    16056002	MCM - 反水雷舰
    16066003	MCS - 反水雷支援舰
    16076004	MHC - 沿岸猎雷艇
    16086005	ML - 布雷艇
    16096006	MSC - 沿海扫雷舰
    16106007	MSF - 钢壳舰队扫雷舰
    16116008	MSI - 近岸扫雷舰
    16126010	MSO - 远洋扫雷舰
    16136011	MST - 扫雷舰支援舰
    16146012	MHI - 近岸猎雷舰
    16156013	MM - 雷区养护舰
    16167001	YAG - 各类勤务船
    16177002	YRT - 鱼雷回收船
    16187003	YRM - 导弹回收船
    16199001	民用船只
    16209002	贸易船只
    16219003	平底驳船/海上钻井平台
    16229004	NGS Buoy 国家大地测量局浮标
    16239005	底部固定阵列声纳
    16249006	系泊声纳浮标
    16259007	特殊（地面单位/卫星）
    16269008	小艇
    16279011	MOB 移动式近海基地
    1628
    1629潜艇子类型
    16301001	其他
    16311900	SSQ - Auxillary Submarine, Communications
    16322001	AGSS - 辅助/实验潜艇
    16332002	APSS - 辅助货运潜艇
    16342003	SS - 攻击/舰队型潜艇
    16352004	SSB - 弹道导弹潜艇
    16362005	SSBN - 核动力弹道导弹潜艇
    16372006	SSG - 导弹攻击型潜艇
    16382007	SSGN - 核动力导弹攻击型潜艇
    16392008	SSK - 猎杀潜艇
    16402009	SSM - 小型潜水艇
    16412010	SSN - 核动力攻击型潜艇
    16422011	SSP - 运输潜艇
    16432012	SSR - 雷达预警潜艇
    16442013	SSRN - 核动力雷达预警潜艇
    16453001	SDV - 蛙人运送艇
    16464001	ROV - 遥控载具
    16474002	UUV - 无人水下航行器
    16484003	Unmanned UNderwater Glider
    16499001	生物
    16509002	假目标
    1651"""
    1652
    1653
    1654class AirOpsCondition(Enum):
    1655    # 空中
    1656    Airborne = 0
    1657    # 停泊
    1658    Parked = 1
    1659    # 正在滑行准备起飞
    1660    TaxyingToTakeOff = 2
    1661    # 正在滑行到停机位
    1662    TaxyingToPark = 3
    1663    # 正在起飞过程中
    1664    TakingOff = 4
    1665    # 最终进场
    1666    Landing_PreTouchdown = 5
    1667    # 正在完成降落
    1668    Landing_PostTouchdown = 6
    1669    # 正在进行出动准备
    1670    Readying = 7
    1671    # 等待可用的滑行道/升降机
    1672    HoldingForAvailableTransit = 8
    1673    # 等待跑道空闲
    1674    HoldingForAvailableRunway = 9
    1675    # 处于降落队列中
    1676    HoldingOnLandingQueue = 10
    1677    # 返回基地
    1678    RTB = 11
    1679    # 准备出动
    1680    PreparingToLaunch = 12
    1681    # 机动到加油阵位
    1682    ManoeuveringToRefuel = 13
    1683    # 正在加油
    1684    Refuelling = 14
    1685    # 卸载燃油
    1686    OffloadingFuel = 15
    1687    # 准备部署吊放式声纳，尚未到达部署点
    1688    DeployingDippingSonar = 16
    1689    # 紧急着陆
    1690    EmergencyLanding = 17
    1691    # 到飞行甲板
    1692    TaxyingToFlightDeck = 18
    1693    # 正在执行超视距攻击任务
    1694    BVRAttack = 19
    1695    # 超视距攻击往复运动？远距离攻击往复运动？
    1696    BVRCrank = 20
    1697    # 近距空中格斗
    1698    Dogfight = 21
    1699    # 投送货物
    1700    DeployingCargo = 22
    1701    # 滑行至加油区
    1702    TaxiToRefuelingArea = 23
    1703    # 滑行
    1704    Taxiing = 24
    1705    # 通过跑道滑行降落（用于演示功能）
    1706    TaxiToLanding = 25
    1707    # 通过跑道滑行起飞（用于演示功能）
    1708    TaxiToTakeOff = 26
    1709
    1710
    1711class AirValidStatus(Enum):
    1712    validToFly = 0  # 基地中可马上起飞
    1713    InAir = 1  # 在空，可分配巡逻，进攻，航路规划
    1714    InAirRTB = 2  # 在空中返航或降落
    1715    WaitReady = 3  # 基地中准备挂载武器中
    1716
    1717
    1718class MaintenanceLevel(Enum):
    1719    # 可用，准备就绪
    1720    const_0 = 0
    1721    # 武器状态已知，且考虑连发机关枪
    1722    const_1 = 1
    1723    # 不可用
    1724    Unavailable = 2
    1725    # 备用挂载方案？
    1726    ReserveLoadout = 3
    1727    # 没有挂载方案
    1728    const_4 = 4
    1729
    1730
    1731class IdentificationStatus(Enum):
    1732    # 未知
    1733    Unknown = 0
    1734    # 已知空域（如空中、地面）
    1735    KnownDomain = 1
    1736    # 已知类型（如飞机、导弹）
    1737    KnownType = 2
    1738    # 已知级别
    1739    KnownClass = 3
    1740    # 确认对象
    1741    PreciseID = 4
    1742
    1743
    1744# ficility
    1745class FicilityCategory(Enum):
    1746    NoneValue = 1001
    1747    # 跑道
    1748    Runway = 2001
    1749    # 滑行道
    1750    RunwayGrade_Taxiway = 2002
    1751    # 跑道入口
    1752    RunwayAccessPoint = 2003
    1753    # 建筑物（地表）
    1754    Building_Surface = 3001
    1755    # 建筑物（混凝土）
    1756    Building_Reveted = 3002
    1757    # 建筑物（地堡）
    1758    Building_Bunker = 3003
    1759    # 建筑物（地下）
    1760    Building_Underground = 3004
    1761    # 建筑结构（开放）
    1762    Structure_Open = 3005
    1763    # 建筑结构（混凝土）
    1764    Structure_Reveted = 3006
    1765    # 水下
    1766    Underwater = 4001
    1767    # 移动车辆
    1768    Mobile_Vehicle = 5001
    1769    # 移动人员
    1770    Mobile_Personnel = 5002
    1771    # 航空器系泊设备
    1772    AerostatMooring = 6001
    1773    # 空军基地
    1774    AirBase = 9001
    1775
    1776
    1777class FacilityType(Enum):
    1778    # 陆军分队
    1779    LandForce = 5001
    1780    # 火箭军导弹分队
    1781    MissileForce = 5002
    1782    # 地防导弹分队
    1783    LandAntiAir = 5003
    1784    # 雷达分队
    1785    RadarForce = 5004
    1786    # 空军基地
    1787    AirBase = 9001
    1788
    1789
    1790# group
    1791class GroupType(Enum):
    1792    # 飞机编组，或此枚举还要充当没有成员变量的枚举
    1793    AirGroup = 0
    1794    # 水面舰艇编组
    1795    SurfaceGroup = 1
    1796    # 潜艇编组
    1797    SubGroup = 2
    1798    # 设施编组
    1799    Installation = 3
    1800    # 车辆编组
    1801    MobileGroup = 4
    1802    # 空军基地
    1803    AirBase = 5
    1804    # 海军基地
    1805    NavalBase = 6
    1806
    1807
    1808# loadout
    1809class CargoType(Enum):
    1810    # 不可以编辑货物
    1811    NoCargo = 0
    1812    # 人员
    1813    Personnel = 1000
    1814    # 小型货物
    1815    SmallCargo = 2000
    1816    # 中型货物
    1817    MediumCargo = 3000
    1818    # 大型货物
    1819    LargeCargo = 4000
    1820    # 超大型货物
    1821    VeryLargeCargo = 5000
    1822
    1823
    1824# loggenMessage
    1825class MessageType(Enum):
    1826    # 其他
    1827    NoneValue = 0
    1828    # 发现新目标
    1829    NewContact = 1
    1830    # 目标状态变更
    1831    ContactChange = 2
    1832    # 武器末段计算
    1833    WeaponEndgame = 3
    1834    # 武器毁伤
    1835    WeaponDamage = 4
    1836    # 空中行动
    1837    AirOps = 5
    1838    # 作战单元损失
    1839    UnitLost = 6
    1840    # 作战单元毁伤
    1841    UnitDamage = 7
    1842    # 点防御
    1843    PointDefence = 8
    1844    # 用户界面
    1845    UI = 9
    1846    # 武器逻辑
    1847    WeaponLogic = 10
    1848    # 作战单元AI
    1849    UnitAI = 11
    1850    # 事件引擎
    1851    EventEngine = 13
    1852    # 新武器感知
    1853    NewWeaponContact = 14
    1854    # 停靠行动
    1855    DockingOps = 15
    1856    # 特殊消息
    1857    SpecialMessage = 16
    1858    # 发现新鱼雷目标
    1859    NewMineContact = 17
    1860    # 通信隔离消息
    1861    CommsIsolatedMessage = 18
    1862    # 发现新空中目标
    1863    NewAirContact = 19
    1864    # 发现新水面目标
    1865    NewSurfaceContact = 20
    1866    # 发现新水下目标
    1867    NewUnderwaterContact = 21
    1868    # 发现新地面目标
    1869    NewGroundContact = 22
    1870    # 非制导武器精度修正
    1871    UnguidedWeaponModifiers = 23
    1872    # 武器发射
    1873    WeaponFiring = 24
    1874    # 输出弹框内容
    1875    InputMessage = 25
    1876
    1877
    1878# Magazine
    1879class ComponentStatus(Enum):
    1880    # 正常工作
    1881    Operational = 0
    1882    # 受到毁伤
    1883    Damaged = 1
    1884    # 已被摧毁
    1885    Destroyed = 2
    1886
    1887
    1888class DamageSeverity(Enum):
    1889    # 轻
    1890    Light = 0
    1891    # 中
    1892    Medium = 1
    1893    # 重
    1894    Heavy = 2
    1895
    1896
    1897# Mission
    1898class MissionClass(Enum):
    1899    # 未知
    1900    NoneValue = 0
    1901    # 打击/截击
    1902    Strike = 1
    1903    # 巡逻
    1904    Patrol = 2
    1905    # 支援
    1906    Support = 3
    1907    # 转场
    1908    Ferry = 4
    1909    # 布雷
    1910    Mining = 5
    1911    # 扫雷
    1912    MineClearing = 6
    1913    # 护航
    1914    Escort = 7
    1915    # 投送选项
    1916    Cargo = 8
    1917
    1918
    1919class FlightSizeNum(Enum):
    1920    # 无，对应于没有编队大小限制
    1921    NoneValue = 0
    1922    # 单机
    1923    SingleAircraft = 1
    1924    # 2机编队
    1925    TwoAircraft = 2
    1926    # 3机编队
    1927    ThreeAircraft = 3
    1928    # 4机编队
    1929    FourAircraft = 4
    1930    # 6机编队
    1931    SixAircraft = 6
    1932
    1933
    1934# side
    1935class ProficiencyLevel(Enum):
    1936    # 新手
    1937    Novice = 0
    1938    # 实习
    1939    Cadet = 1
    1940    # 普通
    1941    Regular = 2
    1942    # 老手
    1943    Veteran = 3
    1944    # 顶级
    1945    Ace = 4
    1946
    1947
    1948class AwarenessLevel(Enum):
    1949    # 一无所知
    1950    Blind = -1
    1951    # 普通水平
    1952    Normal = 0
    1953    # 知其属方
    1954    AutoSideID = 1
    1955    # 知其属方及单元
    1956    AutoSideAndUnitID = 2
    1957    # 无所不知
    1958    Omniscient = 3
    1959
    1960
    1961# strikeMission
    1962class StrikeMissionType(Enum):
    1963    # 空中截击
    1964    Air_Intercept = 0
    1965    # 对陆打击
    1966    Land_Strike = 1
    1967    # 对海打击
    1968    Maritime_Strike = 2
    1969    # 对潜突击
    1970    Sub_Strike = 3
    1971
    1972
    1973class ContactStance(Enum):
    1974    #  中立
    1975    Neutral = 0
    1976    #  友方
    1977    Friendly = 1
    1978    # 不友好
    1979    Unfriendly = 2
    1980    # 敌对
    1981    Hostile = 3
    1982    #  未知
    1983    Unknown = 4
    1984
    1985
    1986class Bingo(Enum):
    1987    # 根据每个挂载方案的设置决定是消耗/抛弃还是带回空地弹药
    1988    const_0 = 0
    1989    # 在最远距离上抛弃空对地弹药，以获取最大打击
    1990    const_1 = 1
    1991    # 如果不能打击目标，则带回空对地弹药
    1992    BringBackIfTargetCanntStrike = 2
    1993
    1994
    1995class RadarBehaviour(Enum):
    1996    # 整个飞行计划全部使用任务电磁管控
    1997    const_0 = 0
    1998    # 从初始点到武器消耗光打开雷达：winchester
    1999    Land = 1
    2000    # 从攻击进入点到武器消耗光打开雷达
    2001    const_2 = 2
    2002    # 默认，缺省
    2003    Maritime = 3
    2004
    2005
    2006class UseRefuel(Enum):
    2007    # 允许，不允许加油机对加油机加油
    2008    Yes_ExcepTankerToTanker = 0
    2009    # 不允许
    2010    No = 1
    2011    # 允许
    2012    Yes = 2
    2013    # 多样
    2014    Various = 3
    2015    # 未配置
    2016    NotConfigured = 4
    2017
    2018
    2019class TankerUsage(Enum):
    2020    # 自动使用
    2021    Automatic = 0
    2022    # 任务中使用
    2023    Mission = 1
    2024
    2025
    2026# 舰船/潜艇编队规模
    2027class GroupSize(Enum):
    2028    # 无
    2029    NoneValue = 0
    2030    # 单舰
    2031    Single = 1
    2032    # 双舰
    2033    Double = 2
    2034    # 三舰
    2035    Three = 3
    2036    # 四舰
    2037    Four = 4
    2038    # 六舰
    2039    Six = 6
    2040
    2041
    2042class EscortFlightSize(Enum):
    2043    # 无，对应于没有编队大小限制
    2044    NoneValue = 0
    2045    # 单机
    2046    SingleAircraft = 1
    2047    # 2机编队
    2048    TwoAircraft = 2
    2049    # 3机编队
    2050    ThreeAircraft = 3
    2051    # 4机编队
    2052    FourAircraft = 4
    2053    # 6机编队
    2054    SixAircraft = 6
    2055
    2056
    2057class AircraftToFlyGroupSize(Enum):
    2058    # 所有飞机编队出动
    2059    All = -99
    2060    # 无偏好
    2061    NoPreferences = 0
    2062    # 一机编队
    2063    Flight_x1 = -97
    2064    Flight_x2 = -96
    2065    Flight_x3 = -95
    2066    Flight_x4 = -94
    2067    Flight_x6 = -93
    2068    Flight_x8 = -92
    2069    Flight_x12 = -91
    2070    Aircraft_x1 = -87
    2071    Aircraft_x2 = -86
    2072    Aircraft_x3 = -85
    2073    Aircraft_x4 = -84
    2074    Aircraft_x6 = -83
    2075    Aircraft_x8 = -82
    2076    Aircraft_x12 = -81
    2077
    2078
    2079class EscortGroupSize(Enum):
    2080    # 无
    2081    NoneValue = 0
    2082    # 单舰
    2083    Single = 1
    2084    # 双舰
    2085    Double = 2
    2086    # 三舰
    2087    Three = 3
    2088    # 四舰
    2089    Four = 4
    2090    # 六舰
    2091    Six = 6
    2092
    2093
    2094# unit
    2095class FireIntensityLevel(Enum):
    2096    # 无火
    2097    NoFire = 0
    2098    # 小火
    2099    Minor = 1
    2100    # 中火
    2101    Major = 2
    2102    # 猛火
    2103    Severe = 3
    2104    # 大火
    2105    Conflagration = 4
    2106
    2107
    2108class FloodingIntensityLevel(Enum):
    2109    # 未进水
    2110    NoFlooding = 0
    2111    # 少量
    2112    Minor = 1
    2113    # 中等
    2114    Major = 2
    2115    # 严重
    2116    Severe = 3
    2117    # 翻覆
    2118    Capsizing = 4
    2119
    2120
    2121class FerryBehavior(Enum):
    2122    # 单程
    2123    OneWay = 0
    2124    # 循环
    2125    Cycle = 1
    2126    # 随机
    2127    Random = 2
    2128
    2129
    2130class EActiveUnitStatus(Enum):
    2131    Unassigned = 0  # 未分配任务或指令
    2132    OnPlottedCourse = 1  # 正在标定的航线上
    2133    EngagedOffensive = 2  # 正在进攻，已发射的武器状态或正打击目标（对发出武器制导）时状态，或对目标有合适打击武器时
    2134    EngagedDefensive = 3  # 正在防御，受到目标威胁后状态
    2135    OnAttackRun = 4  # 正在攻击  （当前推演未使用）
    2136    OnPatrol = 5  # 正在巡逻任务
    2137    RTB = 6  # 返回基地
    2138    Tasked = 7  # 已分配任务--- 分配了巡逻、打击、支援、转场、布雷和扫雷等任务，但还没有执行（未起飞等情况）；
    2139    FormingUp = 8  # 编队
    2140    RTB_Manual = 10  # 手工选择返回基地
    2141    OnSupportMission = 11  # 正在支援任务
    2142    OnFerryMission = 12  # 正在转场任务
    2143    HeadingToRefuelPoint = 13  # 前往加油点
    2144    Refuelling = 14  # 加油中
    2145    RTB_MissionOver = 15  # 任务结束返回基地
    2146    GroupLead_SlowingToAllowFormUp = 16  # 减速以允许编队
    2147    RTB_Group = 19  # 编队返回基地
    2148    RTB_CalledOff = 20  # 取消返回基地
    2149    WaitForPathfinder = 21  # 等待寻路（设置航线后，正计算航路）
    2150    AttemptingToReestablishComms = 22  # 尝试建立通信（潜艇断开通信，重新发起通信连接后）
    2151
    2152
    2153"""
    2154国家ID:
    21551001	全部
    21561002	未知
    21571003	通用
    21581101	平民
    21591102	商业
    21601201	海盗
    21611202	叛军
    21621203	恐怖分子
    21632001	阿布扎比
    21642002	阿尔巴尼亚
    21652003	阿尔及利亚
    21662004	安哥拉
    21672005	阿根廷
    21682006	澳大利亚
    21692007	奥地利
    21702008	巴林
    21712009	孟加拉国
    21722010	白俄罗斯[1992  - ]
    21732011	比利时
    21742012	博茨瓦纳
    21752013	巴西
    21762014	文莱
    21772015	保加利亚
    21782016	加拿大
    21792017	智利
    21802018	中国
    21812019	哥伦比亚
    21822020	克罗地亚[1992  - ]
    21832021	古巴
    21842022	塞浦路斯
    21852023	捷克共和国[1993  - ]
    21862024	捷克斯洛伐克[-1992]
    21872025	丹麦
    21882026	多明尼加共和国
    21892027	厄瓜多尔
    21902028	埃及
    21912029	萨尔瓦多
    21922030	爱沙尼亚[1992  - ]
    21932031	芬兰
    21942032	法国
    21952033	加蓬
    21962034	德国[DDR（东德），-1990]
    21972035	德国[FRG /统一]
    21982036	希腊
    21992037	危地马拉
    22002038	洪都拉斯
    22012039	香港
    22022040	匈牙利
    22032041	印度
    22042042	印尼
    22052043	伊朗
    22062044	伊拉克
    22072045	爱尔兰
    22082046	以色列
    22092047	意大利
    22102048	日本
    22112049	约旦
    22122050	科威特
    22132051	拉脱维亚[1992  - ]
    22142052	黎巴嫩
    22152053	利比亚
    22162054	立陶宛[1992  - ]
    22172055	马来西亚
    22182056	墨西哥
    22192057	黑山[1992  - ]
    22202058	摩洛哥
    22212059	莫桑比克
    22222060	北约
    22232061	荷兰
    22242062	新西兰
    22252063	尼加拉瓜
    22262064	尼日利亚
    22272065	北朝鲜
    22282066	北越[-1975]
    22292067	挪威
    22302068	阿曼
    22312069	巴基斯坦
    22322070	巴拿马
    22332071	巴拉圭
    22342072	秘鲁
    22352073	菲律宾
    22362074	波兰
    22372075	葡萄牙
    22382076	卡塔尔
    22392077	罗得西亚
    22402078	罗马尼亚
    22412079	俄罗斯[1992  - ]
    22422080	沙特阿拉伯
    22432081	塞尔维亚[1992  - ]
    22442082	新加坡
    22452083	斯洛伐克[1993  - ]
    22462084	斯洛文尼亚
    22472085	南非
    22482086	韩国
    22492087	南越[-1975]
    22502088	苏联[-1991]
    22512089	西班牙
    22522090	斯里兰卡
    22532091	瑞典
    22542092	瑞士
    22552093	叙利亚
    22562094	中国台湾
    22572095	泰国
    22582096	突尼斯
    22592097	土耳其
    22602098	阿联酋
    22612099	乌克兰[1992  - ]
    22622100	英国
    22632101	美国
    22642102	委内瑞拉
    22652103	越南[1975  - ]
    22662104	也门
    22672105	南斯拉夫[-1992]
    22682106	扎伊尔
    22692107	津巴布韦
    22702108	乌拉圭
    22712109	索马里
    22722110	埃塞俄比亚
    22732111	冰岛
    22742112	土库曼斯坦
    22752113	缅甸
    22762114	苏丹
    22772115	南苏丹
    22782116	坦桑尼亚
    22792117	乌干达
    22802118	巴布亚新几内亚
    22812119	密克罗尼西亚联邦
    22822120	索罗门群岛
    22832121	汤加
    22842122	斐济
    22852123	赤道几内亚
    22862124	肯尼亚
    22872125	柬埔寨
    22882126	阿富汗
    22892127	喀麦隆
    22902128	伊斯兰抵抗运动
    22912129	哈萨克 [1992]
    22922130	纳米比亚
    22932131	吉布提
    22942132	土库曼斯坦
    22952133	Kyrgistan
    22962134	塔吉克斯坦
    22972135	乌兹别克斯坦
    22982136	阿塞拜疆
    22992137	巴哈马
    23002138	亚美尼亚
    23012139	赞比亚
    23022140	刚果（布）[1997-]
    23032141	加纳
    23042142	多哥
    2305"""
    2306
    2307
    2308class AltitudeLevel(Enum):
    2309    """
    2310    飞行高度层枚举，value 为字符串，用于与 API 交互。
    2311    """
    2312    MIN = 'MIN'  # 尽可能低
    2313    LOW1000 = 'LOW1000'  # 低空305米（约1000英尺）
    2314    LOW2000 = 'LOW2000'  # 低空610米（约2000英尺）
    2315    MEDIUM12000 = 'MEDIUM12000'  # 中高3658米（约12000英尺）
    2316    HIGH25000 = 'HIGH25000'  # 高空7620米（约25000英尺）
    2317    HIGH36000 = 'HIGH36000'  # 高空10973米（约36000英尺）
    2318    MAX = 'MAX'  # 尽可能高
    2319
    2320
    2321# 指令返回对象（类似）
    2322class Reply(object):
    2323    def __init__(self):
    2324        self.message = ""  # 返回结果，"OK"代表指令执行未报异常
    2325        """
    2326        resbin: 指令执行相关信息，例如单元设置速度、航向等，返回单元信息，
    2327                任务设置返回任务信息，条令设置返回条令信息，需utf-8解码为str类型:
    2328                self.resbin.decode("utf-8")
    2329        """
    2330        self.resbin = b""  # 指令执行相关信息, utf-8编码二进制数据

LOG_PATH = 'log/'
DATA_PATH = 'data/'
LUA_PATH = 'lua/'
class OperationError(builtins.Exception): View Source

    11class OperationError(Exception):
    12    pass

Common base class for all non-exit exceptions.

class ElementType(enum.Enum): View Source

     15class ElementType(Enum):
     16    """
     17    元素类型
     18    """
     19    # 推演方
     20    Side = 0
     21    # 打击任务
     22    StrikeMission = 11
     23    # 巡逻任务
     24    PatrolMission = 12
     25    # 支援任务
     26    SupportMission = 13
     27    # 转场任务
     28    FerryMission = 14
     29    # 布雷任务
     30    MineMission = 15
     31    # 扫雷任务
     32    MineClearMission = 16
     33    # 货运任务
     34    CargoMission = 17
     35    # 护航任务
     36    StrikeEscortMission = 18
     37    # 编队
     38    Group = 20
     39    # 飞机
     40    Aircraft = 31
     41    # 设施
     42    Facility = 32
     43    # 舰船
     44    Ship = 33
     45    # 潜艇
     46    Submarine = 34
     47    # 卫星
     48    Satellite = 35
     49    # 传感器
     50    Sensor = 41
     51    # 武器
     52    Weapon = 42
     53    # 挂架
     54    Mount = 43
     55    # 飞机挂载
     56    Loadout = 44
     57    # 条令
     58    Doctrine = 45
     59    # 弹药库
     60    Magazine = 46
     61    # 航路点
     62    WayPoint = 47
     63    # 非制导武器
     64    UnguidedWeapon = 48
     65    # 发现的非本方单元
     66    Contact = 61
     67    # 想定
     68    Scenario = 62
     69    # 推演
     70    Simulation = 63
     71    # 天气
     72    Weather = 64
     73    # 参考点
     74    ReferencePoint = 65
     75    # 空
     76    Empty = 66
     77    # 武器爆炸
     78    WeaponImpact = 67
     79    # 触发器--时间
     80    TriggerTime = 101
     81    # 触发器--实体损伤
     82    TriggerUnitDamaged = 102
     83    # 触发器--实体被摧毁
     84    TriggerUnitDestroyed = 103
     85    # 触发器--实体被发现
     86    TriggerUnitDetected = 104
     87    # 动作--终止推演
     88    ActionEndScenario = 151
     89    # 动作--得分
     90    ActionPoints = 152
     91    # 动作--消息
     92    ActionMessage = 153
     93    # 推演事件
     94    SimEvent = 199
     95    # 反馈
     96    Response = 201
     97    # 反馈消息
     98    LoggedMessage = 202
     99    # 删除
    100    Delete = 399

元素类型

Side = <ElementType.Side: 0>
StrikeMission = <ElementType.StrikeMission: 11>
PatrolMission = <ElementType.PatrolMission: 12>
SupportMission = <ElementType.SupportMission: 13>
FerryMission = <ElementType.FerryMission: 14>
MineMission = <ElementType.MineMission: 15>
MineClearMission = <ElementType.MineClearMission: 16>
CargoMission = <ElementType.CargoMission: 17>
StrikeEscortMission = <ElementType.StrikeEscortMission: 18>
Group = <ElementType.Group: 20>
Aircraft = <ElementType.Aircraft: 31>
Facility = <ElementType.Facility: 32>
Ship = <ElementType.Ship: 33>
Submarine = <ElementType.Submarine: 34>
Satellite = <ElementType.Satellite: 35>
Sensor = <ElementType.Sensor: 41>
Weapon = <ElementType.Weapon: 42>
Mount = <ElementType.Mount: 43>
Loadout = <ElementType.Loadout: 44>
Doctrine = <ElementType.Doctrine: 45>
Magazine = <ElementType.Magazine: 46>
WayPoint = <ElementType.WayPoint: 47>
UnguidedWeapon = <ElementType.UnguidedWeapon: 48>
Contact = <ElementType.Contact: 61>
Scenario = <ElementType.Scenario: 62>
Simulation = <ElementType.Simulation: 63>
Weather = <ElementType.Weather: 64>
ReferencePoint = <ElementType.ReferencePoint: 65>
Empty = <ElementType.Empty: 66>
WeaponImpact = <ElementType.WeaponImpact: 67>
TriggerTime = <ElementType.TriggerTime: 101>
TriggerUnitDamaged = <ElementType.TriggerUnitDamaged: 102>
TriggerUnitDestroyed = <ElementType.TriggerUnitDestroyed: 103>
TriggerUnitDetected = <ElementType.TriggerUnitDetected: 104>
ActionEndScenario = <ElementType.ActionEndScenario: 151>
ActionPoints = <ElementType.ActionPoints: 152>
ActionMessage = <ElementType.ActionMessage: 153>
SimEvent = <ElementType.SimEvent: 199>
Response = <ElementType.Response: 201>
LoggedMessage = <ElementType.LoggedMessage: 202>
Delete = <ElementType.Delete: 399>
classname2element = {'CCurrentScenario': <ElementType.Scenario: 62>, 'CSimulation': <ElementType.Simulation: 63>, 'CSide': <ElementType.Side: 0>, 'Strike': <ElementType.StrikeMission: 11>, 'Patrol': <ElementType.PatrolMission: 12>, 'Support': <ElementType.SupportMission: 13>, 'Ferry': <ElementType.FerryMission: 14>, 'Mining': <ElementType.MineMission: 15>, 'MineClearing': <ElementType.MineClearMission: 16>, 'Cargo': <ElementType.CargoMission: 17>, 'Group': <ElementType.Group: 20>, 'Aircraft': <ElementType.Aircraft: 31>, 'Facility': <ElementType.Facility: 32>, 'Ship': <ElementType.Ship: 33>, 'Submarine': <ElementType.Submarine: 34>, 'Satellite': <ElementType.Satellite: 35>, 'CMount': <ElementType.Mount: 43>, 'Weapon': <ElementType.Weapon: 42>, 'CSensor': <ElementType.Sensor: 41>, 'CLoadout': <ElementType.Loadout: 44>, 'CMagazine': <ElementType.Magazine: 46>, 'CWayPoint': <ElementType.WayPoint: 47>, 'CDoctrine': <ElementType.Doctrine: 45>, 'CReferencePoint': <ElementType.ReferencePoint: 65>, 'CTriggerTime': <ElementType.TriggerTime: 101>, 'CTriggerUnitDamaged': <ElementType.TriggerUnitDamaged: 102>, 'CTriggerUnitDestroyed': <ElementType.TriggerUnitDestroyed: 103>, 'CActionEndScenario': <ElementType.ActionEndScenario: 151>, 'CActionMessage': <ElementType.ActionMessage: 153>, 'CActionPoints': <ElementType.ActionPoints: 152>, 'CSimEvent': <ElementType.SimEvent: 199>, 'CContact': <ElementType.Contact: 61>, 'CWeather': <ElementType.Weather: 64>, 'CResponse': <ElementType.Response: 201>, 'Delete': <ElementType.Delete: 399>, 'Empty': <ElementType.Empty: 66>}
class SelectorCategory(enum.Enum): View Source

    143class SelectorCategory(Enum):
    144    """
    145    选择的元素类别, 可设置条令
    146    """
    147    # 推演方
    148    Side = 0
    149    # 任务
    150    Mission = 1
    151    # 编队
    152    Group = 2
    153    # 作战单元（飞机，导弹车等，不包含传感器、武器等作战单元的组件）
    154    Unit = 3
    155    # 武器
    156    Weapon = 4
    157    # 航路点
    158    WayPoint = 5
    159    # 护航任务
    160    EscortMission = 6

选择的元素类别, 可设置条令

Side = <SelectorCategory.Side: 0>
Mission = <SelectorCategory.Mission: 1>
Group = <SelectorCategory.Group: 2>
Unit = <SelectorCategory.Unit: 3>
Weapon = <SelectorCategory.Weapon: 4>
WayPoint = <SelectorCategory.WayPoint: 5>
EscortMission = <SelectorCategory.EscortMission: 6>
selector2str = {<SelectorCategory.Side: 0>: 'side', <SelectorCategory.Mission: 1>: 'mission', <SelectorCategory.Group: 2>: 'group', <SelectorCategory.Unit: 3>: 'unit', <SelectorCategory.Weapon: 4>: 'weapon', <SelectorCategory.WayPoint: 5>: 'WayPoint', <SelectorCategory.EscortMission: 6>: 'mission'}
class MissionCategory(enum.Enum): View Source

    174class MissionCategory(Enum):
    175    """
    176    任务类别
    177    """
    178    # 打击
    179    ATTACK = 0
    180    # 巡逻
    181    PATROL = 1
    182    # 支援
    183    SUPPORT = 2
    184    # 转场
    185    TRANSFOR = 3
    186    # 布雷
    187    MINE = 4
    188    # 扫雷
    189    SWEEP = 5
    190    # 投送
    191    DELIVER = 6

任务类别

ATTACK = <MissionCategory.ATTACK: 0>
PATROL = <MissionCategory.PATROL: 1>
SUPPORT = <MissionCategory.SUPPORT: 2>
TRANSFOR = <MissionCategory.TRANSFOR: 3>
MINE = <MissionCategory.MINE: 4>
SWEEP = <MissionCategory.SWEEP: 5>
DELIVER = <MissionCategory.DELIVER: 6>
class MissionPatrolType(enum.Enum): View Source

    194class MissionPatrolType(Enum):
    195    # 空战巡逻
    196    AIR = 6011
    197    # 反水面战巡逻(海上)
    198    ANTI_SHIP = 6012
    199    # 反水面战巡逻(陆上)
    200    ANTI_LAND = 6013
    201    # 反水面战巡逻(混合)
    202    ANTI_MLP = 6014
    203    # 反潜战巡逻
    204    ANTI_SUBMARINE = 6015
    205    # 压制敌防空巡逻
    206    SEAD = 6016
    207    # 海上控制巡逻
    208    SEA_CONTROL = 6017

An enumeration.

AIR = <MissionPatrolType.AIR: 6011>
ANTI_SHIP = <MissionPatrolType.ANTI_SHIP: 6012>
ANTI_LAND = <MissionPatrolType.ANTI_LAND: 6013>
ANTI_MLP = <MissionPatrolType.ANTI_MLP: 6014>
ANTI_SUBMARINE = <MissionPatrolType.ANTI_SUBMARINE: 6015>
SEAD = <MissionPatrolType.SEAD: 6016>
SEA_CONTROL = <MissionPatrolType.SEA_CONTROL: 6017>
class MissionStrikeType(enum.Enum): View Source

    211class MissionStrikeType(Enum):
    212    AIR = 6001
    213    LAND = 6002
    214    SHIP = 6003
    215    SUBMARINE = 6004

An enumeration.

AIR = <MissionStrikeType.AIR: 6001>
LAND = <MissionStrikeType.LAND: 6002>
SHIP = <MissionStrikeType.SHIP: 6003>
SUBMARINE = <MissionStrikeType.SUBMARINE: 6004>
mission_patrol_type_dict = {<MissionPatrolType.AIR: 6011>: 'AAW', <MissionPatrolType.ANTI_SHIP: 6012>: 'SUR_SEA', <MissionPatrolType.ANTI_LAND: 6013>: 'SUR_LAND', <MissionPatrolType.ANTI_MLP: 6014>: 'SUR_MIXED', <MissionPatrolType.ANTI_SUBMARINE: 6015>: 'SUB', <MissionPatrolType.SEAD: 6016>: 'SEAD', <MissionPatrolType.SEA_CONTROL: 6017>: 'SEA'}
mission_strike_type_dict = {<MissionStrikeType.AIR: 6001>: 'AIR', <MissionStrikeType.LAND: 6002>: 'LAND', <MissionStrikeType.SHIP: 6003>: 'SEA', <MissionStrikeType.SUBMARINE: 6004>: 'SUB'}
class ContactType(enum.Enum): View Source

    236class ContactType(Enum):
    237    # 空中目标
    238    Air = 0
    239    # 导弹
    240    Missile = 1
    241    # 水面 / 地面
    242    Surface = 2
    243    # 潜艇
    244    Submarine = 3
    245    # 未确定的海军
    246    UndeterminedNaval = 4
    247    # 瞄准点？？
    248    Aimpoint = 5
    249    # 轨道目标
    250    Orbital = 6
    251    # 固定设施
    252    Facility_Fixed = 7
    253    # 移动设施
    254    Facility_Mobile = 8
    255    # 鱼雷
    256    Torpedo = 9
    257    # 水雷
    258    Mine = 10
    259    # 爆炸
    260    Explosion = 11
    261    # 不确定
    262    Undetermined = 12
    263    # 空中诱饵
    264    Decoy_Air = 13
    265    # 表面诱饵
    266    Decoy_Surface = 14
    267    # 陆地诱饵
    268    Decoy_Land = 15
    269    # 水下诱饵
    270    Decoy_Sub = 16
    271    # 声纳浮标
    272    Sonobuoy = 17
    273    # 军事设施
    274    Installation = 18
    275    # 空军基地
    276    AirBase = 19
    277    # 海军基地
    278    NavalBase = 20
    279    # 移动集群
    280    MobileGroup = 21
    281    # 激活点：瞄准点
    282    ActivationPoint = 22

An enumeration.

Air = <ContactType.Air: 0>
Missile = <ContactType.Missile: 1>
Surface = <ContactType.Surface: 2>
Submarine = <ContactType.Submarine: 3>
UndeterminedNaval = <ContactType.UndeterminedNaval: 4>
Aimpoint = <ContactType.Aimpoint: 5>
Orbital = <ContactType.Orbital: 6>
Facility_Fixed = <ContactType.Facility_Fixed: 7>
Facility_Mobile = <ContactType.Facility_Mobile: 8>
Torpedo = <ContactType.Torpedo: 9>
Mine = <ContactType.Mine: 10>
Explosion = <ContactType.Explosion: 11>
Undetermined = <ContactType.Undetermined: 12>
Decoy_Air = <ContactType.Decoy_Air: 13>
Decoy_Surface = <ContactType.Decoy_Surface: 14>
Decoy_Land = <ContactType.Decoy_Land: 15>
Decoy_Sub = <ContactType.Decoy_Sub: 16>
Sonobuoy = <ContactType.Sonobuoy: 17>
Installation = <ContactType.Installation: 18>
AirBase = <ContactType.AirBase: 19>
NavalBase = <ContactType.NavalBase: 20>
MobileGroup = <ContactType.MobileGroup: 21>
ActivationPoint = <ContactType.ActivationPoint: 22>
class DoctrineItem(enum.Enum): View Source

    285class DoctrineItem(Enum):
    286    Nukes = 7002
    287    Nukes_Player = 7003
    288    WCS_Air = 7004
    289    WCS_Air_Player = 7005
    290    WCS_Surface = 7006
    291    WCS_Surface_Player = 7007
    292    WCS_Submarine = 7008
    293    WCS_Submarine_Player = 7009
    294    WCS_Land = 7010
    295    WCS_Player_Land = 7011
    296    IPCWA = 7012
    297    IPCWA_Player = 7013
    298    WinchesterShotgunRTB = 7014
    299    WinchesterShotgunRTB_Player = 7015
    300    BingoJokerRTB = 7016
    301    BingoJokerRTB_Player = 7017
    302    JettisonOrdnance = 7018
    303    JettisonOrdnance_Player = 7019
    304    BTAT = 7020
    305    BTAT_Player = 7021
    306    AE = 7022
    307    AE_Player = 7023
    308    MS = 7024
    309    MS_Player = 7025
    310    GS = 7026
    311    GS_Player = 7027
    312    UR = 7028
    313    UR_Player = 7029
    314    RS = 7030
    315    RS_Player = 7031
    316    ST = 7032
    317    ST_Player = 7033
    318    SAM_ASUW = 7034
    319    SAM_ASUW_Player = 7035
    320    E_Radar = 7036
    321    E_Sonar = 7037
    322    E_OECM = 7038
    323    QuickTurnAround = 7039
    324    QTA_Player = 7040
    325    AirOpsTempo = 7041
    326    AirOpsTempo_Player = 7042
    327    BingoJoker = 7043
    328    BingoJoker_Player = 7044
    329    WinchesterShotgun = 7045
    330    WinchesterShotgun_Player = 7046
    331    WithdrawDamageThreshold = 7047
    332    WithdrawFuelThreshold = 7048
    333    WithdrawAttackThreshold = 7049
    334    WithdrawDefenceThreshold = 7050
    335    RedeployDamageThreshold = 7051
    336    RedeployFuelThreshold = 7052
    337    RedeployAttackThreshold = 7053
    338    RedeployDefenceThreshold = 7054
    339    IgnoreEMCONUnderAttack = 7055
    340    IgnoreEMCONUnderAttack_Player = 7056
    341    UseTorpedoesKinematicRange = 7057
    342    UseTorpedoesKinematicRange_Player = 7058
    343    RefuelAllies = 7059
    344    RefuelAllies_Player = 7060
    345    AvoidContact = 7061
    346    AvoidContact_Player = 7062
    347    DiveWhenThreatsDetected = 7063
    348    DiveWhenThreatsDetected_Player = 7064
    349    RechargePercentagePatrol = 7065
    350    RechargePercentagePatrol_Player = 7066
    351    RechargePercentageAttack = 7067
    352    RechargePercentageAttack_Player = 7068
    353    AIPUsage = 7069
    354    AIPUsage_Player = 7070
    355    DippingSonar = 7071
    356    DippingSonar_Player = 7072
    357    WRA = 7073

An enumeration.

Nukes = <DoctrineItem.Nukes: 7002>
Nukes_Player = <DoctrineItem.Nukes_Player: 7003>
WCS_Air = <DoctrineItem.WCS_Air: 7004>
WCS_Air_Player = <DoctrineItem.WCS_Air_Player: 7005>
WCS_Surface = <DoctrineItem.WCS_Surface: 7006>
WCS_Surface_Player = <DoctrineItem.WCS_Surface_Player: 7007>
WCS_Submarine = <DoctrineItem.WCS_Submarine: 7008>
WCS_Submarine_Player = <DoctrineItem.WCS_Submarine_Player: 7009>
WCS_Land = <DoctrineItem.WCS_Land: 7010>
WCS_Player_Land = <DoctrineItem.WCS_Player_Land: 7011>
IPCWA = <DoctrineItem.IPCWA: 7012>
IPCWA_Player = <DoctrineItem.IPCWA_Player: 7013>
WinchesterShotgunRTB = <DoctrineItem.WinchesterShotgunRTB: 7014>
WinchesterShotgunRTB_Player = <DoctrineItem.WinchesterShotgunRTB_Player: 7015>
BingoJokerRTB = <DoctrineItem.BingoJokerRTB: 7016>
BingoJokerRTB_Player = <DoctrineItem.BingoJokerRTB_Player: 7017>
JettisonOrdnance = <DoctrineItem.JettisonOrdnance: 7018>
JettisonOrdnance_Player = <DoctrineItem.JettisonOrdnance_Player: 7019>
BTAT = <DoctrineItem.BTAT: 7020>
BTAT_Player = <DoctrineItem.BTAT_Player: 7021>
AE = <DoctrineItem.AE: 7022>
AE_Player = <DoctrineItem.AE_Player: 7023>
MS = <DoctrineItem.MS: 7024>
MS_Player = <DoctrineItem.MS_Player: 7025>
GS = <DoctrineItem.GS: 7026>
GS_Player = <DoctrineItem.GS_Player: 7027>
UR = <DoctrineItem.UR: 7028>
UR_Player = <DoctrineItem.UR_Player: 7029>
RS = <DoctrineItem.RS: 7030>
RS_Player = <DoctrineItem.RS_Player: 7031>
ST = <DoctrineItem.ST: 7032>
ST_Player = <DoctrineItem.ST_Player: 7033>
SAM_ASUW = <DoctrineItem.SAM_ASUW: 7034>
SAM_ASUW_Player = <DoctrineItem.SAM_ASUW_Player: 7035>
E_Radar = <DoctrineItem.E_Radar: 7036>
E_Sonar = <DoctrineItem.E_Sonar: 7037>
E_OECM = <DoctrineItem.E_OECM: 7038>
QuickTurnAround = <DoctrineItem.QuickTurnAround: 7039>
QTA_Player = <DoctrineItem.QTA_Player: 7040>
AirOpsTempo = <DoctrineItem.AirOpsTempo: 7041>
AirOpsTempo_Player = <DoctrineItem.AirOpsTempo_Player: 7042>
BingoJoker = <DoctrineItem.BingoJoker: 7043>
BingoJoker_Player = <DoctrineItem.BingoJoker_Player: 7044>
WinchesterShotgun = <DoctrineItem.WinchesterShotgun: 7045>
WinchesterShotgun_Player = <DoctrineItem.WinchesterShotgun_Player: 7046>
WithdrawDamageThreshold = <DoctrineItem.WithdrawDamageThreshold: 7047>
WithdrawFuelThreshold = <DoctrineItem.WithdrawFuelThreshold: 7048>
WithdrawAttackThreshold = <DoctrineItem.WithdrawAttackThreshold: 7049>
WithdrawDefenceThreshold = <DoctrineItem.WithdrawDefenceThreshold: 7050>
RedeployDamageThreshold = <DoctrineItem.RedeployDamageThreshold: 7051>
RedeployFuelThreshold = <DoctrineItem.RedeployFuelThreshold: 7052>
RedeployAttackThreshold = <DoctrineItem.RedeployAttackThreshold: 7053>
RedeployDefenceThreshold = <DoctrineItem.RedeployDefenceThreshold: 7054>
IgnoreEMCONUnderAttack = <DoctrineItem.IgnoreEMCONUnderAttack: 7055>
IgnoreEMCONUnderAttack_Player = <DoctrineItem.IgnoreEMCONUnderAttack_Player: 7056>
UseTorpedoesKinematicRange = <DoctrineItem.UseTorpedoesKinematicRange: 7057>
UseTorpedoesKinematicRange_Player = <DoctrineItem.UseTorpedoesKinematicRange_Player: 7058>
RefuelAllies = <DoctrineItem.RefuelAllies: 7059>
RefuelAllies_Player = <DoctrineItem.RefuelAllies_Player: 7060>
AvoidContact = <DoctrineItem.AvoidContact: 7061>
AvoidContact_Player = <DoctrineItem.AvoidContact_Player: 7062>
DiveWhenThreatsDetected = <DoctrineItem.DiveWhenThreatsDetected: 7063>
DiveWhenThreatsDetected_Player = <DoctrineItem.DiveWhenThreatsDetected_Player: 7064>
RechargePercentagePatrol = <DoctrineItem.RechargePercentagePatrol: 7065>
RechargePercentagePatrol_Player = <DoctrineItem.RechargePercentagePatrol_Player: 7066>
RechargePercentageAttack = <DoctrineItem.RechargePercentageAttack: 7067>
RechargePercentageAttack_Player = <DoctrineItem.RechargePercentageAttack_Player: 7068>
AIPUsage = <DoctrineItem.AIPUsage: 7069>
AIPUsage_Player = <DoctrineItem.AIPUsage_Player: 7070>
DippingSonar = <DoctrineItem.DippingSonar: 7071>
DippingSonar_Player = <DoctrineItem.DippingSonar_Player: 7072>
WRA = <DoctrineItem.WRA: 7073>
class HeightCategory(enum.Enum): View Source

    360class HeightCategory(Enum):
    361    """
    362    实体高度
    363    """
    364    Minimun = 0
    365    Low = 1
    366    Semi_Low = 2
    367    Medium = 3
    368    Semi_High = 4
    369    High = 5
    370    Maximun = 6

实体高度

Minimun = <HeightCategory.Minimun: 0>
Low = <HeightCategory.Low: 1>
Semi_Low = <HeightCategory.Semi_Low: 2>
Medium = <HeightCategory.Medium: 3>
Semi_High = <HeightCategory.Semi_High: 4>
High = <HeightCategory.High: 5>
Maximun = <HeightCategory.Maximun: 6>
class Throttle(enum.Enum): View Source

    373class Throttle(Enum):
    374    """
    375    实体油门
    376    """
    377    # 不确定
    378    Unspecified = 0
    379    # 停住
    380    FullStop = 1
    381    # 低速
    382    Loiter = 2
    383    # 巡航
    384    Cruise = 3
    385    # 全速
    386    Full = 4
    387    # 加力
    388    Flank = 5

实体油门

Unspecified = <Throttle.Unspecified: 0>
FullStop = <Throttle.FullStop: 1>
Loiter = <Throttle.Loiter: 2>
Cruise = <Throttle.Cruise: 3>
Full = <Throttle.Full: 4>
Flank = <Throttle.Flank: 5>
throttle_description = {<Throttle.Unspecified: 0>: 'Unspecified', <Throttle.FullStop: 1>: 'FullStop', <Throttle.Loiter: 2>: 'Loiter', <Throttle.Cruise: 3>: 'Cruise', <Throttle.Full: 4>: 'Full', <Throttle.Flank: 5>: 'Flank'}
class FlightSize(enum.Enum): View Source

    401class FlightSize(Enum):
    402    """
    403    编队规模
    404    """
    405    One = 1
    406    Two = 2
    407    Three = 3
    408    Four = 4
    409    Six = 5

编队规模

One = <FlightSize.One: 1>
Two = <FlightSize.Two: 2>
Three = <FlightSize.Three: 3>
Four = <FlightSize.Four: 4>
Six = <FlightSize.Six: 5>
class MinAircraftReq(enum.Enum): View Source

    412class MinAircraftReq(Enum):
    413    """
    414    启动任务所需最少就绪飞机数
    415    """
    416    NONE = 0  # 无首选项
    417    ONE = 1
    418    TWO = 2
    419    THREE = 3
    420    FOUR = 4
    421    SIX = 6
    422    EIGHT = 8
    423    TWELVE = 12  # 12架飞机
    424    ALL = 13  # 所有飞机出动

启动任务所需最少就绪飞机数

NONE = <MinAircraftReq.NONE: 0>
ONE = <MinAircraftReq.ONE: 1>
TWO = <MinAircraftReq.TWO: 2>
THREE = <MinAircraftReq.THREE: 3>
FOUR = <MinAircraftReq.FOUR: 4>
SIX = <MinAircraftReq.SIX: 6>
EIGHT = <MinAircraftReq.EIGHT: 8>
TWELVE = <MinAircraftReq.TWELVE: 12>
ALL = <MinAircraftReq.ALL: 13>
class EUnitCount(enum.Enum): View Source

    427class EUnitCount(Enum):
    428    """
    429    任务中设置飞机数
    430    """
    431    NONE = 0  # 无首选项
    432    ONE = 1
    433    TWO = 2
    434    THREE = 3
    435    FOUR = 4
    436    SIX = 6
    437    EIGHT = 8
    438    TWELVE = 12  # 12架飞机或12艘船
    439    ALL = 13  # 所有飞机或船

任务中设置飞机数

NONE = <EUnitCount.NONE: 0>
ONE = <EUnitCount.ONE: 1>
TWO = <EUnitCount.TWO: 2>
THREE = <EUnitCount.THREE: 3>
FOUR = <EUnitCount.FOUR: 4>
SIX = <EUnitCount.SIX: 6>
EIGHT = <EUnitCount.EIGHT: 8>
TWELVE = <EUnitCount.TWELVE: 12>
ALL = <EUnitCount.ALL: 13>
class StrikeFlyTimeMax(enum.Enum): View Source

    442class StrikeFlyTimeMax(Enum):
    443    """
    444    允许飞行任务的最大飞行次数
    445    """
    446    NONE = 0
    447    ONE = 1
    448    TWO = 2
    449    THREE = 3
    450    FOUR = 4
    451    SIX = 6
    452    EIGHT = 8
    453    TWELVE = 12

允许飞行任务的最大飞行次数

NONE = <StrikeFlyTimeMax.NONE: 0>
ONE = <StrikeFlyTimeMax.ONE: 1>
TWO = <StrikeFlyTimeMax.TWO: 2>
THREE = <StrikeFlyTimeMax.THREE: 3>
FOUR = <StrikeFlyTimeMax.FOUR: 4>
SIX = <StrikeFlyTimeMax.SIX: 6>
EIGHT = <StrikeFlyTimeMax.EIGHT: 8>
TWELVE = <StrikeFlyTimeMax.TWELVE: 12>
class StrikeMinimumTrigger(enum.Enum): View Source

    456class StrikeMinimumTrigger(Enum):
    457    """
    458    打击任务触发条件
    459    """
    460    Nil = 1  # 缺省，勿用
    461    NotFriendly = 2  # 非友方
    462    Hostile = 3  # 敌方
    463    Unknown = 4  # 未知

打击任务触发条件

Nil = <StrikeMinimumTrigger.Nil: 1>
NotFriendly = <StrikeMinimumTrigger.NotFriendly: 2>
Hostile = <StrikeMinimumTrigger.Hostile: 3>
Unknown = <StrikeMinimumTrigger.Unknown: 4>
class StrikeRadarUsage(enum.Enum): View Source

    466class StrikeRadarUsage(Enum):
    467    """
    468    任务雷达运用规则
    469    """
    470    ALL_PLAN = 1
    471    START_WINCHESTER = 2
    472    ATTACK_START_WINCHESTER = 3

任务雷达运用规则

ALL_PLAN = <StrikeRadarUsage.ALL_PLAN: 1>
START_WINCHESTER = <StrikeRadarUsage.START_WINCHESTER: 2>
ATTACK_START_WINCHESTER = <StrikeRadarUsage.ATTACK_START_WINCHESTER: 3>
class StrikeFuleAmmo(enum.Enum): View Source

    475class StrikeFuleAmmo(Enum):
    476    """
    477    燃油弹药规则
    478    """
    479    MOUNT_SET = 0
    480    FAR_DIST = 1
    481    CARRY_BACK = 2

燃油弹药规则

MOUNT_SET = <StrikeFuleAmmo.MOUNT_SET: 0>
FAR_DIST = <StrikeFuleAmmo.FAR_DIST: 1>
CARRY_BACK = <StrikeFuleAmmo.CARRY_BACK: 2>
class BehaviorTowardsAmbigousTarget(enum.Enum): View Source

    484class BehaviorTowardsAmbigousTarget(Enum):
    485    """
    486    接战模糊位置目标
    487    """
    488    # 忽略
    489    Ignore = 0
    490    # 乐观
    491    Optimistic = 1
    492    # 悲观
    493    Pessimistic = 2
    494    # 继承，和上级一致
    495    Inherit = 999

接战模糊位置目标

Ignore = <BehaviorTowardsAmbigousTarget.Ignore: 0>
Optimistic = <BehaviorTowardsAmbigousTarget.Optimistic: 1>
Pessimistic = <BehaviorTowardsAmbigousTarget.Pessimistic: 2>
Inherit = <BehaviorTowardsAmbigousTarget.Inherit: 999>
class EngageWithContactTarget(enum.Enum): View Source

    498class EngageWithContactTarget(Enum):
    499    """
    500    接战临机出现目标
    501    """
    502    # 否 只与任务相关目标交战
    503    No_Only = 0
    504    # 是 可和任何目标交战
    505    Yes_AnyTarget = 1
    506    # 继承，和上级一致
    507    Inherit = 999

接战临机出现目标

No_Only = <EngageWithContactTarget.No_Only: 0>
Yes_AnyTarget = <EngageWithContactTarget.Yes_AnyTarget: 1>
Inherit = <EngageWithContactTarget.Inherit: 999>
class EUseNuclear(enum.Enum): View Source

    510class EUseNuclear(Enum):
    511    """
    512    使用核武器选择枚举
    513    """
    514    # 不使用
    515    No = 0
    516    # 使用
    517    Yes = 1
    518    # 继承
    519    Inherit = 999

使用核武器选择枚举

No = <EUseNuclear.No: 0>
Yes = <EUseNuclear.Yes: 1>
Inherit = <EUseNuclear.Inherit: 999>
class WeaponControlStatus(enum.Enum): View Source

    522class WeaponControlStatus(Enum):
    523    """
    524    武器控制状态
    525    """
    526    # 自由开火
    527    Free = 0
    528    # 谨慎开火
    529    Tight = 1
    530    # 限制开火
    531    Hold = 2
    532    # 和上级一致
    533    Inherit = 999

武器控制状态

Free = <WeaponControlStatus.Free: 0>
Tight = <WeaponControlStatus.Tight: 1>
Hold = <WeaponControlStatus.Hold: 2>
Inherit = <WeaponControlStatus.Inherit: 999>
class ERefuel(enum.Enum): View Source

    536class ERefuel(Enum):
    537    """
    538    条令设置，加油/补给
    539    """
    540    # 允许但不允许加油机给加油机加油
    541    Yes_NoTanker = 0
    542    # 不允许
    543    No = 1
    544    # 允许
    545    Yes = 2
    546    # 和上级一致
    547    Inherit = 999

条令设置，加油/补给

Yes_NoTanker = <ERefuel.Yes_NoTanker: 0>
No = <ERefuel.No: 1>
Yes = <ERefuel.Yes: 2>
Inherit = <ERefuel.Inherit: 999>
class ERefuelSelect(enum.Enum): View Source

    550class ERefuelSelect(Enum):
    551    """
    552    条令设置，加油/补给选择项设置
    553    """
    554    # 最近选择
    555    Nearest = 0
    556    # 选择我们和目标之间的加油机
    557    IncludeTarget = 1
    558    # 选择我们和目标之间的加油机，但不允许往回飞
    559    Include_NoBack = 2
    560    # 和上级一致
    561    Inherit = 999

条令设置，加油/补给选择项设置

Nearest = <ERefuelSelect.Nearest: 0>
IncludeTarget = <ERefuelSelect.IncludeTarget: 1>
Include_NoBack = <ERefuelSelect.Include_NoBack: 2>
Inherit = <ERefuelSelect.Inherit: 999>
class ERefuelAllied(enum.Enum): View Source

    564class ERefuelAllied(Enum):
    565    """
    566    条令设置，对盟军单元进行加油
    567    """
    568    # 准许
    569    Yes = 0
    570    # 准许，仅接收
    571    YesReceiveOnly = 1
    572    # 准许，仅送出
    573    YesOffloadOnly = 2
    574    # 否
    575    No = 3
    576    # 和上级一致
    577    Inherit = 999

条令设置，对盟军单元进行加油

Yes = <ERefuelAllied.Yes: 0>
YesReceiveOnly = <ERefuelAllied.YesReceiveOnly: 1>
YesOffloadOnly = <ERefuelAllied.YesOffloadOnly: 2>
No = <ERefuelAllied.No: 3>
Inherit = <ERefuelAllied.Inherit: 999>
class AirOpsTempo(enum.Enum): View Source

    580class AirOpsTempo(Enum):
    581    """
    582    空战节奏
    583    """
    584    # 快速出动
    585    Surge = 0
    586    # 一般强度出动
    587    Sustained = 1
    588    # 和上级一致
    589    Inherit = 999

空战节奏

Surge = <AirOpsTempo.Surge: 0>
Sustained = <AirOpsTempo.Sustained: 1>
Inherit = <AirOpsTempo.Inherit: 999>
class QuickTurnAround(enum.Enum): View Source

    592class QuickTurnAround(Enum):
    593    """
    594    快速出动
    595    """
    596    # 是
    597    Yes = 0
    598    # 战斗机和反潜机-使非空对地挂载进行快速周转。空对地武器排除在外，并遵从整体速度准备就绪
    599    FightersAndASW = 1
    600    # 否，不允许快速周转。
    601    No = 2
    602    # 和上级一致
    603    Inherit = 999

快速出动

Yes = <QuickTurnAround.Yes: 0>
FightersAndASW = <QuickTurnAround.FightersAndASW: 1>
No = <QuickTurnAround.No: 2>
Inherit = <QuickTurnAround.Inherit: 999>
class FuelState(enum.Enum): View Source

    606class FuelState(Enum):
    607    """
    608    燃油状态
    609    """
    610    Bingo = 0
    611    Joker10Percent = 1
    612    Joker20Percent = 2
    613    Joker25Percent = 3
    614    Joker30Percent = 4
    615    Joker40Percent = 5
    616    Joker50Percent = 6
    617    Joker60Percent = 7
    618    Joker70Percent = 8
    619    Joker75Percent = 9
    620    Joker80Percent = 10
    621    Joker90Percent = 11
    622    Inherit = 999

燃油状态

Bingo = <FuelState.Bingo: 0>
Joker10Percent = <FuelState.Joker10Percent: 1>
Joker20Percent = <FuelState.Joker20Percent: 2>
Joker25Percent = <FuelState.Joker25Percent: 3>
Joker30Percent = <FuelState.Joker30Percent: 4>
Joker40Percent = <FuelState.Joker40Percent: 5>
Joker50Percent = <FuelState.Joker50Percent: 6>
Joker60Percent = <FuelState.Joker60Percent: 7>
Joker70Percent = <FuelState.Joker70Percent: 8>
Joker75Percent = <FuelState.Joker75Percent: 9>
Joker80Percent = <FuelState.Joker80Percent: 10>
Joker90Percent = <FuelState.Joker90Percent: 11>
Inherit = <FuelState.Inherit: 999>
class UseTorpedoesKinematicRange(enum.Enum): View Source

    625class UseTorpedoesKinematicRange(Enum):
    626    """
    627    鱼雷使用动力航程
    628    """
    629    # 手动发射和自动发射使用动力航程
    630    Yes = 0
    631    # 仅手动发射使用动力航程
    632    YesOnlyManualLaunch = 1
    633    # 严格射程
    634    PracticalRange = 2
    635    Inherit = 999

鱼雷使用动力航程

Yes = <UseTorpedoesKinematicRange.Yes: 0>
YesOnlyManualLaunch = <UseTorpedoesKinematicRange.YesOnlyManualLaunch: 1>
PracticalRange = <UseTorpedoesKinematicRange.PracticalRange: 2>
Inherit = <UseTorpedoesKinematicRange.Inherit: 999>
class RefuelSelection(enum.Enum): View Source

    638class RefuelSelection(Enum):
    639    """
    640    对所选单元进行加油/补给
    641    """
    642    ClosestTanker = 0
    643    TankerLocateBetweenMeAndTarget = 1
    644    TankerLocateBetweenMeAndTarget_CantReturnBack = 2
    645    Inherit = 999

对所选单元进行加油/补给

ClosestTanker = <RefuelSelection.ClosestTanker: 0>
TankerLocateBetweenMeAndTarget = <RefuelSelection.TankerLocateBetweenMeAndTarget: 1>
TankerLocateBetweenMeAndTarget_CantReturnBack = <RefuelSelection.TankerLocateBetweenMeAndTarget_CantReturnBack: 2>
Inherit = <RefuelSelection.Inherit: 999>
class IgnoreEMCONUnderAttack(enum.Enum): View Source

    648class IgnoreEMCONUnderAttack(Enum):
    649    """
    650    受到攻击时忽略电磁管控
    651    """
    652    No = 0
    653    Ignore_EMCON_While_Under_Attack = 1
    654    Inherit = 999

受到攻击时忽略电磁管控

No = <IgnoreEMCONUnderAttack.No: 0>
Ignore_EMCON_While_Under_Attack = <IgnoreEMCONUnderAttack.Ignore_EMCON_While_Under_Attack: 1>
Inherit = <IgnoreEMCONUnderAttack.Inherit: 999>
class AutomaticEvasion(enum.Enum): View Source

    657class AutomaticEvasion(Enum):
    658    """
    659    自动规避
    660    """
    661    No = 0
    662    Yes = 1
    663    Inherit = 999

自动规避

No = <AutomaticEvasion.No: 0>
Yes = <AutomaticEvasion.Yes: 1>
Inherit = <AutomaticEvasion.Inherit: 999>
class GunStrafeGroundTargets(enum.Enum): View Source

    666class GunStrafeGroundTargets(Enum):
    667    """
    668    空对地扫射
    669    """
    670    No = 0
    671    Yes = 1
    672    Inherit = 999

空对地扫射

No = <GunStrafeGroundTargets.No: 0>
Yes = <GunStrafeGroundTargets.Yes: 1>
Inherit = <GunStrafeGroundTargets.Inherit: 999>
class JettisonOrdnance(enum.Enum): View Source

    675class JettisonOrdnance(Enum):
    676    """
    677    丢弃武器
    678    """
    679    # 禁止
    680    No = 0
    681    # 允许
    682    Yes = 1
    683    Inherit = 999

丢弃武器

No = <JettisonOrdnance.No: 0>
Yes = <JettisonOrdnance.Yes: 1>
Inherit = <JettisonOrdnance.Inherit: 999>
class BvrLogic(enum.Enum): View Source

    686class BvrLogic(Enum):
    687    """
    688    超视距交战
    689    """
    690    # 直接跟踪导弹. 飞机将持续跟踪导弹，径直驶向敌人。
    691    Weapon = 0
    692    # 相机而动, 飞机将“转弯”，调整制导雷达，使得导弹处于边缘位置并减速。这象征着一种如果可能则保持远距离的企图和训练效果。
    693    Operation = 1
    694    # 飞机不仅会转弯，且一旦导弹进入主动制导阶段，此时载机的制导不再必要，单元会“抽身”并远离目标。
    695    # 这象征着不惜任何代价保持远离目标的企图和技术。
    696    OperationAndGo = 2
    697    Inherit = 999

超视距交战

Weapon = <BvrLogic.Weapon: 0>
Operation = <BvrLogic.Operation: 1>
OperationAndGo = <BvrLogic.OperationAndGo: 2>
Inherit = <BvrLogic.Inherit: 999>
class UseSAMsInASuWMode(enum.Enum): View Source

    700class UseSAMsInASuWMode(Enum):
    701    """
    702    反舰模式使用舰空导弹
    703    """
    704    # 否
    705    No = 0
    706    # 是
    707    Yes = 1
    708    Inherit = 999

反舰模式使用舰空导弹

No = <UseSAMsInASuWMode.No: 0>
Yes = <UseSAMsInASuWMode.Yes: 1>
Inherit = <UseSAMsInASuWMode.Inherit: 999>
class MaintainStandoff(enum.Enum): View Source

    711class MaintainStandoff(Enum):
    712    """
    713    与目标保持距离
    714    """
    715    # 否
    716    No = 0
    717    # 是
    718    Yes = 1
    719    Inherit = 999

与目标保持距离

No = <MaintainStandoff.No: 0>
Yes = <MaintainStandoff.Yes: 1>
Inherit = <MaintainStandoff.Inherit: 999>
class NavigationAS(enum.Enum): View Source

    722class NavigationAS(Enum):
    723    """
    724    反水面作战行动 导航
    725    """
    726    # 最短距离
    727    Min = 0
    728    # 深水航行
    729    DeepWater = 1
    730    # 近海航行
    731    Offshore = 2
    732    Inherit = 999

反水面作战行动 导航

Min = <NavigationAS.Min: 0>
DeepWater = <NavigationAS.DeepWater: 1>
Offshore = <NavigationAS.Offshore: 2>
Inherit = <NavigationAS.Inherit: 999>
class AvoidContact(enum.Enum): View Source

    735class AvoidContact(Enum):
    736    """
    737    反潜作战行动 规避搜索
    738    """
    739    No = 0
    740    YesExceptSelfDefence = 1
    741    YesAlways = 2
    742    Inherit = 999

反潜作战行动 规避搜索

No = <AvoidContact.No: 0>
YesExceptSelfDefence = <AvoidContact.YesExceptSelfDefence: 1>
YesAlways = <AvoidContact.YesAlways: 2>
Inherit = <AvoidContact.Inherit: 999>
class DiveOnThreat(enum.Enum): View Source

    745class DiveOnThreat(Enum):
    746    """
    747    反潜作战行动 探测到威胁进行下潜
    748    """
    749    YesESMOnly = 0
    750    YesRadar = 1
    751    YesShips20nmAircraft30nm = 2
    752    No = 3
    753    Inherit = 999

反潜作战行动 探测到威胁进行下潜

YesESMOnly = <DiveOnThreat.YesESMOnly: 0>
YesRadar = <DiveOnThreat.YesRadar: 1>
YesShips20nmAircraft30nm = <DiveOnThreat.YesShips20nmAircraft30nm: 2>
No = <DiveOnThreat.No: 3>
Inherit = <DiveOnThreat.Inherit: 999>
class RechargePercent(enum.Enum): View Source

    756class RechargePercent(Enum):
    757    """
    758    反潜作战行动 充电电池
    759    """
    760    RechargeEmpty = 0
    761    Recharge10Percent = 10
    762    Recharge20Percent = 20
    763    Recharge30Percent = 30
    764    Recharge40Percent = 40
    765    Recharge50Percent = 50
    766    Recharge60Percent = 60
    767    Recharge70Percent = 70
    768    Recharge80Percent = 80
    769    Recharge90Percent = 90
    770    Inherit = 999

反潜作战行动 充电电池

RechargeEmpty = <RechargePercent.RechargeEmpty: 0>
Recharge10Percent = <RechargePercent.Recharge10Percent: 10>
Recharge20Percent = <RechargePercent.Recharge20Percent: 20>
Recharge30Percent = <RechargePercent.Recharge30Percent: 30>
Recharge40Percent = <RechargePercent.Recharge40Percent: 40>
Recharge50Percent = <RechargePercent.Recharge50Percent: 50>
Recharge60Percent = <RechargePercent.Recharge60Percent: 60>
Recharge70Percent = <RechargePercent.Recharge70Percent: 70>
Recharge80Percent = <RechargePercent.Recharge80Percent: 80>
Recharge90Percent = <RechargePercent.Recharge90Percent: 90>
Inherit = <RechargePercent.Inherit: 999>
class UseAIP(enum.Enum): View Source

    773class UseAIP(Enum):
    774    """
    775    反潜作战行动 使用AIP技术
    776    """
    777    No = 0
    778    YesAttackOnly = 1
    779    YesAlways = 2
    780    Inherit = 999

反潜作战行动 使用AIP技术

No = <UseAIP.No: 0>
YesAttackOnly = <UseAIP.YesAttackOnly: 1>
YesAlways = <UseAIP.YesAlways: 2>
Inherit = <UseAIP.Inherit: 999>
class DippingSonar(enum.Enum): View Source

    783class DippingSonar(Enum):
    784    """
    785    反潜作战行动  吊放声呐
    786    """
    787    Automatically = 0
    788    Manual = 1
    789    Inherit = 999

反潜作战行动 吊放声呐

Automatically = <DippingSonar.Automatically: 0>
Manual = <DippingSonar.Manual: 1>
Inherit = <DippingSonar.Inherit: 999>
class NavigationSub(enum.Enum): View Source

    792class NavigationSub(Enum):
    793    """
    794    反潜作战行动 导航
    795    """
    796    Close = 0
    797    Deep = 1
    798    Attack = 2
    799    NearCoast = 3
    800    Inherit = 999

反潜作战行动 导航

Close = <NavigationSub.Close: 0>
Deep = <NavigationSub.Deep: 1>
Attack = <NavigationSub.Attack: 2>
NearCoast = <NavigationSub.NearCoast: 3>
Inherit = <NavigationSub.Inherit: 999>
class NavigationLand(enum.Enum): View Source

    803class NavigationLand(Enum):
    804    """
    805    陆战作战行动 导航
    806    """
    807    Shortest = 0  # 最短路径
    808    Nav1 = 1  # 预留位置，暂无效
    809    Nav2 = 2  # 预留位置，暂无效
    810    Nav3 = 3  # 预留位置，暂无效
    811    Nav4 = 4  # 预留位置，暂无效
    812    Nav5 = 5  # 预留位置，暂无效
    813    Nav6 = 6  # 预留位置，暂无效
    814    Nav7 = 7  # 预留位置，暂无效
    815    Inherit = 999  # 继承

陆战作战行动 导航

Shortest = <NavigationLand.Shortest: 0>
Nav1 = <NavigationLand.Nav1: 1>
Nav2 = <NavigationLand.Nav2: 2>
Nav3 = <NavigationLand.Nav3: 3>
Nav4 = <NavigationLand.Nav4: 4>
Nav5 = <NavigationLand.Nav5: 5>
Nav6 = <NavigationLand.Nav6: 6>
Nav7 = <NavigationLand.Nav7: 7>
Inherit = <NavigationLand.Inherit: 999>
class IgnorePlottedCourseWhenAttacking(enum.Enum): View Source

    818class IgnorePlottedCourseWhenAttacking(Enum):
    819    """
    820    受到攻击时忽略计划航线
    821    """
    822    No = 0
    823    Yes = 1
    824    Inherit = 999

受到攻击时忽略计划航线

No = <IgnorePlottedCourseWhenAttacking.No: 0>
Yes = <IgnorePlottedCourseWhenAttacking.Yes: 1>
Inherit = <IgnorePlottedCourseWhenAttacking.Inherit: 999>
class WeaponStatePlanned(enum.Enum): View Source

    827class WeaponStatePlanned(Enum):
    828    """
    829    武器状态，预先规划
    830    """
    831    # 没有值：
    832    NoneValue = 1001
    833    # 使用挂载设置：
    834    LoadSet = 0
    835    # 任务武器已耗光，立即脱离战斗：
    836    WinchesterDisengage = 2001
    837    # 任务武器已耗光.允许使用航炮对临机目标进行打击（推荐）：
    838    WinchesterUseAirGuns = 2002
    839    # 所有超视距与防区外打击武器已经耗光.立即脱离战斗：
    840    ShotgunBVRExpendedDisengage = 3001
    841    # 所有超视距与防区外打击武器已经耗光.允许使用视距内或防区内打击武器对较易攻击的临机出现目标进行攻击.不使用航炮：
    842    ShotgunBVRExpendedNoGuns = 3002
    843    # 所有超视距与防区外打击武器已经耗光.允许使用视距内、防区内打击武器或者航炮对较易攻击的临机出现目标进行攻击：
    844    ShotgunBVRExpendedGuns = 3003
    845    # 25 % 相关武器已经耗光.立即脱离战斗
    846    Shotgun25Disengage = 4001
    847    # 25%相关武器已经耗光. 允许与临机出现目标交战，包括航炮
    848    Shotgun25Airguns = 4002
    849    # 50%相关武器已经耗光. 立即脱离战斗
    850    Shotgun50Disengage = 4011
    851    # 50%相关武器已经耗光. 允许与临机出现目标交战，包括航炮
    852    Shotgun50Airguns = 4012
    853    # 75%相关武器已经耗光. 立即脱离战斗
    854    Shotgun75Disengage = 4021
    855    # 75%相关武器已经耗光. 允许与临机出现目标交战，包括航炮
    856    Shotgun75Airguns = 4022
    857    # 使用超视距或防区外打击武器进行一次交战.立即脱离战斗
    858    ShotgunOneEngageOutDisengage = 5001
    859    # 使用超视距或防区外打击武器进行一次交战.允许使用视距内或防区内打击武器对较易攻击的临机出现目标进行攻击.不使用航炮
    860    ShotgunOneEngageNoAirguns = 5002
    861    # 使用超视距或防区外打击武器进行一次交战.允许使用视距内、防区内打击武器或者航炮对较易攻击的临机出现目标进行攻击
    862    ShotgunOneEngageInAirguns = 5003
    863    # 同时使用超视距 / 视距内或防区外 / 防区内打击武器进行一次交战.不使用航炮
    864    ShotgunOneEngageStrikeNoAirguns = 5005
    865    # 同时使用超视距 / 视距内或防区外 / 防区内打击武器进行一次交战.允许使用航炮对较易攻击的临机出现目标进行攻击
    866    ShotgunOneEngageOutStrikeAirguns = 5006
    867    # 使用视距内或防区内打击武器进行一次交战.立即脱离战斗
    868    ShotgunOneEngageInDisengage = 5011
    869    # 使用视距内或防区内打击武器进行一次交战. 允许使用航炮与临机出现目标格斗
    870    ShotgunOneEngageInStrikeAirguns = 5012
    871    # 使用航炮进行一次交战
    872    ShotgunOneEngageAirguns = 5021
    873    # 和上级一致
    874    Inherit = 999

武器状态，预先规划

NoneValue = <WeaponStatePlanned.NoneValue: 1001>
LoadSet = <WeaponStatePlanned.LoadSet: 0>
WinchesterDisengage = <WeaponStatePlanned.WinchesterDisengage: 2001>
WinchesterUseAirGuns = <WeaponStatePlanned.WinchesterUseAirGuns: 2002>
ShotgunBVRExpendedDisengage = <WeaponStatePlanned.ShotgunBVRExpendedDisengage: 3001>
ShotgunBVRExpendedNoGuns = <WeaponStatePlanned.ShotgunBVRExpendedNoGuns: 3002>
ShotgunBVRExpendedGuns = <WeaponStatePlanned.ShotgunBVRExpendedGuns: 3003>
Shotgun25Disengage = <WeaponStatePlanned.Shotgun25Disengage: 4001>
Shotgun25Airguns = <WeaponStatePlanned.Shotgun25Airguns: 4002>
Shotgun50Disengage = <WeaponStatePlanned.Shotgun50Disengage: 4011>
Shotgun50Airguns = <WeaponStatePlanned.Shotgun50Airguns: 4012>
Shotgun75Disengage = <WeaponStatePlanned.Shotgun75Disengage: 4021>
Shotgun75Airguns = <WeaponStatePlanned.Shotgun75Airguns: 4022>
ShotgunOneEngageOutDisengage = <WeaponStatePlanned.ShotgunOneEngageOutDisengage: 5001>
ShotgunOneEngageNoAirguns = <WeaponStatePlanned.ShotgunOneEngageNoAirguns: 5002>
ShotgunOneEngageInAirguns = <WeaponStatePlanned.ShotgunOneEngageInAirguns: 5003>
ShotgunOneEngageStrikeNoAirguns = <WeaponStatePlanned.ShotgunOneEngageStrikeNoAirguns: 5005>
ShotgunOneEngageOutStrikeAirguns = <WeaponStatePlanned.ShotgunOneEngageOutStrikeAirguns: 5006>
ShotgunOneEngageInDisengage = <WeaponStatePlanned.ShotgunOneEngageInDisengage: 5011>
ShotgunOneEngageInStrikeAirguns = <WeaponStatePlanned.ShotgunOneEngageInStrikeAirguns: 5012>
ShotgunOneEngageAirguns = <WeaponStatePlanned.ShotgunOneEngageAirguns: 5021>
Inherit = <WeaponStatePlanned.Inherit: 999>
class WeaponStateRTB(enum.Enum): View Source

    877class WeaponStateRTB(Enum):
    878    """
    879    武器状态-返航
    880    """
    881    No = 0
    882    YesLastUnit = 1
    883    YesFirstUnit = 2
    884    YesLeaveGroup = 3
    885    Inherit = 999

武器状态-返航

No = <WeaponStateRTB.No: 0>
YesLastUnit = <WeaponStateRTB.YesLastUnit: 1>
YesFirstUnit = <WeaponStateRTB.YesFirstUnit: 2>
YesLeaveGroup = <WeaponStateRTB.YesLeaveGroup: 3>
Inherit = <WeaponStateRTB.Inherit: 999>
class FuelStateRTB(enum.Enum): View Source

    888class FuelStateRTB(Enum):
    889    """
    890    燃油状态-返航
    891    """
    892    No = 0
    893    YesLastUnit = 1
    894    YesFirstUnit = 2
    895    YesLeaveGroup = 3
    896    Inherit = 999

燃油状态-返航

No = <FuelStateRTB.No: 0>
YesLastUnit = <FuelStateRTB.YesLastUnit: 1>
YesFirstUnit = <FuelStateRTB.YesFirstUnit: 2>
YesLeaveGroup = <FuelStateRTB.YesLeaveGroup: 3>
Inherit = <FuelStateRTB.Inherit: 999>
class RefuelAlliedUnits(enum.Enum): View Source

    899class RefuelAlliedUnits(Enum):
    900    """
    901    对盟军单元进行加油
    902    """
    903    Yes = 0
    904    Yes_ReceiveOnly = 1
    905    Yes_DeliverOnly = 2
    906    No = 3
    907    Inherit = 999

对盟军单元进行加油

Yes = <RefuelAlliedUnits.Yes: 0>
Yes_ReceiveOnly = <RefuelAlliedUnits.Yes_ReceiveOnly: 1>
Yes_DeliverOnly = <RefuelAlliedUnits.Yes_DeliverOnly: 2>
No = <RefuelAlliedUnits.No: 3>
Inherit = <RefuelAlliedUnits.Inherit: 999>
class DamageThreshold(enum.Enum): View Source

    910class DamageThreshold(Enum):
    911    """
    912    毁伤程度小于，则重新部署
    913    """
    914    Ignore = 0
    915    Percent5 = 1
    916    Percent25 = 2
    917    Percent50 = 3
    918    Percent75 = 4
    919    Inherit = 999

毁伤程度小于，则重新部署

Ignore = <DamageThreshold.Ignore: 0>
Percent5 = <DamageThreshold.Percent5: 1>
Percent25 = <DamageThreshold.Percent25: 2>
Percent50 = <DamageThreshold.Percent50: 3>
Percent75 = <DamageThreshold.Percent75: 4>
Inherit = <DamageThreshold.Inherit: 999>
class FuelQuantityThreshold(enum.Enum): View Source

    922class FuelQuantityThreshold(Enum):
    923    """
    924    燃油状态重新部署
    925    """
    926    Ignore = 0
    927    Bingo = 1
    928    Percent25 = 2
    929    Percent50 = 3
    930    Percent75 = 4
    931    Percent100 = 5
    932    Inherit = 999

燃油状态重新部署

Ignore = <FuelQuantityThreshold.Ignore: 0>
Bingo = <FuelQuantityThreshold.Bingo: 1>
Percent25 = <FuelQuantityThreshold.Percent25: 2>
Percent50 = <FuelQuantityThreshold.Percent50: 3>
Percent75 = <FuelQuantityThreshold.Percent75: 4>
Percent100 = <FuelQuantityThreshold.Percent100: 5>
Inherit = <FuelQuantityThreshold.Inherit: 999>
class WeaponQuantityThreshold(enum.Enum): View Source

    935class WeaponQuantityThreshold(Enum):
    936    """
    937    武器状态重新部署
    938    """
    939    Ignore = 0
    940    Exhausted = 1
    941    Percent25 = 2
    942    Percent50 = 3
    943    Percent75 = 4
    944    Percent100 = 5
    945    LoadFullWeapons = 6
    946    Inherit = 999

武器状态重新部署

Ignore = <WeaponQuantityThreshold.Ignore: 0>
Exhausted = <WeaponQuantityThreshold.Exhausted: 1>
Percent25 = <WeaponQuantityThreshold.Percent25: 2>
Percent50 = <WeaponQuantityThreshold.Percent50: 3>
Percent75 = <WeaponQuantityThreshold.Percent75: 4>
Percent100 = <WeaponQuantityThreshold.Percent100: 5>
LoadFullWeapons = <WeaponQuantityThreshold.LoadFullWeapons: 6>
Inherit = <WeaponQuantityThreshold.Inherit: 999>
class EMCON_SettingsMode(enum.Enum): View Source

    949class EMCON_SettingsMode(Enum):
    950    """
    951    电磁管控设置
    952    """
    953    Passive = 0
    954    Active = 1
    955    Inherit = 999

电磁管控设置

Passive = <EMCON_SettingsMode.Passive: 0>
Active = <EMCON_SettingsMode.Active: 1>
Inherit = <EMCON_SettingsMode.Inherit: 999>
class WRA_WeaponTargetType(enum.Enum): View Source

     958class WRA_WeaponTargetType(Enum):
     959    """
     960    武器打击目标代码
     961    """
     962    # None
     963    NoneValue = 1001
     964    # decoy
     965    Decoy = 1002
     966    # Air Contact - Unknown Type
     967    Air_Contact_Unknown_Type = 1999
     968    # Aircraft - Unspecified
     969    Aircraft_Unspecified = 2000
     970    # Aircraft - 5th Generation Fighter/Attack [Agility/Gen: 5.0+] (F-22, Eurofighter, Rafale)
     971    Aircraft_5th_Generation = 2001
     972    # Aircraft - 4th Generation Fighter/Attack [Agility/Gen: 4.0-4.9] (F-14, F-15, F-16, MiG-29, Su-27)
     973    Aircraft_4th_Generation = 2002
     974    # Aircraft - 3rd Generation Fighter/Attack [Agility/Gen: 3.0-3.9] (F-4, F-5, MiG-21, MiG-23)
     975    Aircraft_3rd_Generation = 2003
     976    # Aircraft - Less Capable Fighter/Attack [Agility: 2.0-2.9] (F-111, Lightning, Su-7, MiG-17)
     977    Aircraft_Less_Capable = 2004
     978    # Aircraft - High-performance Bombers [Agility: 2.0+] (B-1B, B-2A, Tu-22M
     979    Aircraft_High_Perf_Bombers = 2011
     980    # Aircraft - Medium-performance Bombers [Agility: 1.5-1.9] (B-52, Vulcan, Tu-16)
     981    Aircraft_Medium_Perf_Bombers = 2012
     982    # Aircraft - Low-performance Bombers [Agility: 1.0-1.4] (B-24, Canberra, Tu-95, Bison)
     983    Aircraft_Low_Perf_Bombers = 2013
     984    # Aircraft - High-Performance Reconnaissance and Electronic Warfare [Agility: 4.0+]
     985    Aircraft_High_Perf_Recon_EW = 2021
     986    # Aircraft - Medium-Performance Reconnaissance and Electronic Warfare [Agility: 3.0-3.9]
     987    Aircraft_Medium_Perf_Recon_EW = 2022
     988    # Aircraft - Low-Performance Reconnaissance and Electronic Warfare [Agility: 2.0-2.9]
     989    Aircraft_Low_Perf_Recon_EW = 2023
     990    # Aircraft - Airborne Early Warning and Control
     991    Aircraft_AEW = 2031
     992    # Aircraft - Micro UAV
     993    Aircraft_MicroUAV = 2032,
     994    # Helicopter - Unspecified
     995    Helicopter_Unspecified = 2100
     996    # Guided Weapon - Unspecified
     997    Guided_Weapon_Unspecified = 2200
     998    # Guided Weapon - Supersonic Sea-Skimming
     999    Guided_Weapon_Supersonic_Sea_Skimming = 2201
    1000    # Guided Weapon - Subsonic Sea-Skimming
    1001    Guided_Weapon_Subsonic_Sea_Skimming = 2202
    1002    # Guided Weapon - Supersonic
    1003    Guided_Weapon_Supersonic = 2203
    1004    # Guided Weapon - Subsonic
    1005    Guided_Weapon_Subsonic = 2204
    1006    # Guided Weapon - Ballistic
    1007    Guided_Weapon_Ballistic = 2211
    1008    # Satellite - Unspecified
    1009    Satellite_Unspecified = 2300
    1010    # Surface Contact - Unknown Type
    1011    Surface_Contact_Unknown_Type = 2999
    1012    # Ship - Unspecified
    1013    Ship_Unspecified = 3000
    1014    # Ship - Carrier, 0-25000 tons
    1015    Ship_Carrier_0_25000_tons = 3001
    1016    # Ship - Carrier, 25001-45000 tons
    1017    Ship_Carrier_25001_45000_tons = 3002
    1018    # Ship - Carrier, 45001-95000 tons
    1019    Ship_Carrier_45001_95000_tons = 3003
    1020    # Ship - Carrier, 95000+ tons
    1021    Ship_Carrier_95000_tons = 3004
    1022    # Ship - Surface Combatant, 0-500 tons
    1023    Ship_Surface_Combatant_0_500_tons = 3101
    1024    # Ship - Surface Combatant, 501-1500 tons, plus Missile Boats with smaller displacement
    1025    Ship_Surface_Combatant_501_1500_tons = 3102
    1026    # Ship - Surface Combatant, 1501-5000 tons, plus Frigates and Corvettes with smaller displacement
    1027    Ship_Surface_Combatant_1501_5000_tons = 3103
    1028    # Ship - Surface Combatant, 5001-10000 tons, plus Destroyers with smaller displacement
    1029    Ship_Surface_Combatant_5001_10000_tons = 3104
    1030    # Ship - Surface Combatant, 10001-25000 tons, plus Cruisers with smaller displacement
    1031    Ship_Surface_Combatant_10001_25000_tons = 3105
    1032    # Ship - Surface Combatant, 25001-45000 tons
    1033    Ship_Surface_Combatant_25001_45000_tons = 3106
    1034    # Ship - Surface Combatant, 45001-95000 tons
    1035    Ship_Surface_Combatant_45001_95000_tons = 3107
    1036    # Ship - Surface Combatant, 95000+ tons
    1037    Ship_Surface_Combatant_95000_tons = 3108
    1038    # Ship - Amphibious, 0-500 tons
    1039    Ship_Amphibious_0_500_tons = 3201
    1040    # Ship - Amphibious, 501-1500 tons
    1041    Ship_Amphibious_501_1500_tons = 3202
    1042    # Ship - Amphibious, 1501-5000 tons
    1043    Ship_Amphibious_1501_5000_tons = 3203
    1044    # Ship - Amphibious, 5001-10000 tons
    1045    Ship_Amphibious_5001_10000_tons = 3204
    1046    # Ship - Amphibious, 10001-25000 tons
    1047    Ship_Amphibious_10001_25000_tons = 3205
    1048    # Ship - Amphibious, 25001-45000 tons
    1049    Ship_Amphibious_25001_45000_tons = 3206
    1050    # Ship - Amphibious, 45001-95000 tons
    1051    Ship_Amphibious_45001_95000_tons = 3207
    1052    # Ship - Amphibious, 95000+ tons
    1053    Ship_Amphibious_95000_tons = 3208
    1054    # Ship - Auxiliary, 0-500 tons
    1055    Ship_Auxiliary_0_500_tons = 3301
    1056    # Ship - Auxiliary, 501-1500 tons
    1057    Ship_Auxiliary_501_1500_tons = 3302
    1058    # Ship - Auxiliary, 1501-5000 tons
    1059    Ship_Auxiliary_1501_5000_tons = 3303
    1060    # Ship - Auxiliary, 5001-10000 tons
    1061    Ship_Auxiliary_5001_10000_tons = 3304
    1062    # Ship - Auxiliary, 10001-25000 tons
    1063    Ship_Auxiliary_10001_25000_tons = 3305
    1064    # Ship - Auxiliary, 25001-45000 tons
    1065    Ship_Auxiliary_25001_45000_tons = 3306
    1066    # Ship - Auxiliary, 45001-95000 tons
    1067    Ship_Auxiliary_45001_95000_tons = 3307
    1068    # Ship - Auxiliary, 95000+ tons
    1069    Ship_Auxiliary_95000_tons = 3308
    1070    # Ship - Merchant / Civilian, 0-500 tons
    1071    Ship_Merchant_Civilian_0_500_tons = 3401
    1072    # Ship - Merchant / Civilian, 501-1500 tons
    1073    Ship_Merchant_Civilian_501_1500_tons = 3402
    1074    # Ship - Merchant / Civilian, 1501-5000 tons
    1075    Ship_Merchant_Civilian_1501_5000_tons = 3403
    1076    # Ship - Merchant / Civilian, 5001-10000 tons
    1077    Ship_Merchant_Civilian_5001_10000_tons = 3404
    1078    # Ship - Merchant / Civilian, 10001-25000 tons
    1079    Ship_Merchant_Civilian_10001_25000_tons = 3405
    1080    # Ship - Merchant / Civilian, 25001-45000 tons
    1081    Ship_Merchant_Civilian_25001_45000_tons = 3406
    1082    # Ship - Merchant / Civilian, 45001-95000 tons
    1083    Ship_Merchant_Civilian_45001_95000_tons = 3407
    1084    # Ship - Merchant / Civilian, 95000+ tons
    1085    Ship_Merchant_Civilian_95000_tons = 3408
    1086    # Ship - Surfaced Submarine
    1087    Submarine_Surfaced = 3501
    1088    # Sub-Surface Contact - Unknown Type
    1089    Subsurface_Contact_Unknown_Type = 3999
    1090    # Submarine - Unspecified
    1091    Submarine_Unspecified = 4000
    1092    # Land Contact - Unknown Type
    1093    Land_Contact_Unknown_Type = 4999
    1094    # Land Structure - Soft - Unspecified
    1095    Land_Structure_Soft_Unspecified = 5000
    1096    # Land Structure - Soft - Building (Surface)
    1097    Land_Structure_Soft_Building_Surface = 5001
    1098    # Land Structure - Soft - Building (Reveted)
    1099    Land_Structure_Soft_Building_Reveted = 5002
    1100    # Land Structure - Soft - Structure (Open)
    1101    Land_Structure_Soft_Structure_Open = 5005
    1102    # Land Structure - Soft - Structure (Reveted)
    1103    Land_Structure_Soft_Structure_Reveted = 5006
    1104    # Land Structure - Soft - Aerostat Moring
    1105    Land_Structure_Soft_Aerostat_Moring = 5011
    1106    # Land Structure - Hardened - Unspecified
    1107    Land_Structure_Hardened_Unspecified = 5100
    1108    # Land Structure - Hardened - Building (Surface)
    1109    Land_Structure_Hardened_Building_Surface = 5101
    1110    # Land Structure - Hardened - Building (Reveted)
    1111    Land_Structure_Hardened_Building_Reveted = 5102
    1112    # Land Structure - Hardened - Building (Bunker)
    1113    Land_Structure_Hardened_Building_Bunker = 5103
    1114    # Land Structure - Hardened - Building (Underground)
    1115    Land_Structure_Hardened_Building_Underground = 5104
    1116    # Land Structure - Hardened - Structure (Open)
    1117    Land_Structure_Hardened_Structure_Open = 5105
    1118    # Land Structure - Hardened - Structure (Reveted)
    1119    Land_Structure_Hardened_Structure_Reveted = 5106
    1120    # Runway Facility - Unspecified
    1121    Runway_Facility_Unspecified = 5200
    1122    # Runway
    1123    Runway = 5201
    1124    # Runway-Grade Taxiway
    1125    Runway_Grade_Taxiway = 5202
    1126    # Runway Access Point
    1127    Runway_Access_Point = 5203
    1128    # Radar - Unspecified
    1129    Radar_Unspecified = 5300
    1130    # Mobile Target - Soft - Unspecified
    1131    Mobile_Target_Soft_Unspecified = 5400
    1132    # Mobile Target - Soft - Mobile Vehicle(s)
    1133    Mobile_Target_Soft_Mobile_Vehicle = 5401
    1134    # Mobile Target - Soft - Mobile Personnel
    1135    Mobile_Target_Soft_Mobile_Personnel = 5402
    1136    # Mobile Target - Hardened - Unspecified
    1137    Mobile_Target_Hardened_Unspecified = 5500
    1138    # Mobile Target - Hardened - Mobile Vehicle(s)
    1139    Mobile_Target_Hardened_Mobile_Vehicle = 5501
    1140    # Underwater Structure
    1141    Underwater_Structure = 5601
    1142    # Air Base (Single-Unit Airfield)
    1143    Air_Base_Single_Unit_Airfield = 5801

武器打击目标代码

NoneValue = <WRA_WeaponTargetType.NoneValue: 1001>
Decoy = <WRA_WeaponTargetType.Decoy: 1002>
Air_Contact_Unknown_Type = <WRA_WeaponTargetType.Air_Contact_Unknown_Type: 1999>
Aircraft_Unspecified = <WRA_WeaponTargetType.Aircraft_Unspecified: 2000>
Aircraft_5th_Generation = <WRA_WeaponTargetType.Aircraft_5th_Generation: 2001>
Aircraft_4th_Generation = <WRA_WeaponTargetType.Aircraft_4th_Generation: 2002>
Aircraft_3rd_Generation = <WRA_WeaponTargetType.Aircraft_3rd_Generation: 2003>
Aircraft_Less_Capable = <WRA_WeaponTargetType.Aircraft_Less_Capable: 2004>
Aircraft_High_Perf_Bombers = <WRA_WeaponTargetType.Aircraft_High_Perf_Bombers: 2011>
Aircraft_Medium_Perf_Bombers = <WRA_WeaponTargetType.Aircraft_Medium_Perf_Bombers: 2012>
Aircraft_Low_Perf_Bombers = <WRA_WeaponTargetType.Aircraft_Low_Perf_Bombers: 2013>
Aircraft_High_Perf_Recon_EW = <WRA_WeaponTargetType.Aircraft_High_Perf_Recon_EW: 2021>
Aircraft_Medium_Perf_Recon_EW = <WRA_WeaponTargetType.Aircraft_Medium_Perf_Recon_EW: 2022>
Aircraft_Low_Perf_Recon_EW = <WRA_WeaponTargetType.Aircraft_Low_Perf_Recon_EW: 2023>
Aircraft_AEW = <WRA_WeaponTargetType.Aircraft_AEW: 2031>
Aircraft_MicroUAV = <WRA_WeaponTargetType.Aircraft_MicroUAV: (2032,)>
Helicopter_Unspecified = <WRA_WeaponTargetType.Helicopter_Unspecified: 2100>
Guided_Weapon_Unspecified = <WRA_WeaponTargetType.Guided_Weapon_Unspecified: 2200>
Guided_Weapon_Supersonic_Sea_Skimming = <WRA_WeaponTargetType.Guided_Weapon_Supersonic_Sea_Skimming: 2201>
Guided_Weapon_Subsonic_Sea_Skimming = <WRA_WeaponTargetType.Guided_Weapon_Subsonic_Sea_Skimming: 2202>
Guided_Weapon_Supersonic = <WRA_WeaponTargetType.Guided_Weapon_Supersonic: 2203>
Guided_Weapon_Subsonic = <WRA_WeaponTargetType.Guided_Weapon_Subsonic: 2204>
Guided_Weapon_Ballistic = <WRA_WeaponTargetType.Guided_Weapon_Ballistic: 2211>
Satellite_Unspecified = <WRA_WeaponTargetType.Satellite_Unspecified: 2300>
Surface_Contact_Unknown_Type = <WRA_WeaponTargetType.Surface_Contact_Unknown_Type: 2999>
Ship_Unspecified = <WRA_WeaponTargetType.Ship_Unspecified: 3000>
Ship_Carrier_0_25000_tons = <WRA_WeaponTargetType.Ship_Carrier_0_25000_tons: 3001>
Ship_Carrier_25001_45000_tons = <WRA_WeaponTargetType.Ship_Carrier_25001_45000_tons: 3002>
Ship_Carrier_45001_95000_tons = <WRA_WeaponTargetType.Ship_Carrier_45001_95000_tons: 3003>
Ship_Carrier_95000_tons = <WRA_WeaponTargetType.Ship_Carrier_95000_tons: 3004>
Ship_Surface_Combatant_0_500_tons = <WRA_WeaponTargetType.Ship_Surface_Combatant_0_500_tons: 3101>
Ship_Surface_Combatant_501_1500_tons = <WRA_WeaponTargetType.Ship_Surface_Combatant_501_1500_tons: 3102>
Ship_Surface_Combatant_1501_5000_tons = <WRA_WeaponTargetType.Ship_Surface_Combatant_1501_5000_tons: 3103>
Ship_Surface_Combatant_5001_10000_tons = <WRA_WeaponTargetType.Ship_Surface_Combatant_5001_10000_tons: 3104>
Ship_Surface_Combatant_10001_25000_tons = <WRA_WeaponTargetType.Ship_Surface_Combatant_10001_25000_tons: 3105>
Ship_Surface_Combatant_25001_45000_tons = <WRA_WeaponTargetType.Ship_Surface_Combatant_25001_45000_tons: 3106>
Ship_Surface_Combatant_45001_95000_tons = <WRA_WeaponTargetType.Ship_Surface_Combatant_45001_95000_tons: 3107>
Ship_Surface_Combatant_95000_tons = <WRA_WeaponTargetType.Ship_Surface_Combatant_95000_tons: 3108>
Ship_Amphibious_0_500_tons = <WRA_WeaponTargetType.Ship_Amphibious_0_500_tons: 3201>
Ship_Amphibious_501_1500_tons = <WRA_WeaponTargetType.Ship_Amphibious_501_1500_tons: 3202>
Ship_Amphibious_1501_5000_tons = <WRA_WeaponTargetType.Ship_Amphibious_1501_5000_tons: 3203>
Ship_Amphibious_5001_10000_tons = <WRA_WeaponTargetType.Ship_Amphibious_5001_10000_tons: 3204>
Ship_Amphibious_10001_25000_tons = <WRA_WeaponTargetType.Ship_Amphibious_10001_25000_tons: 3205>
Ship_Amphibious_25001_45000_tons = <WRA_WeaponTargetType.Ship_Amphibious_25001_45000_tons: 3206>
Ship_Amphibious_45001_95000_tons = <WRA_WeaponTargetType.Ship_Amphibious_45001_95000_tons: 3207>
Ship_Amphibious_95000_tons = <WRA_WeaponTargetType.Ship_Amphibious_95000_tons: 3208>
Ship_Auxiliary_0_500_tons = <WRA_WeaponTargetType.Ship_Auxiliary_0_500_tons: 3301>
Ship_Auxiliary_501_1500_tons = <WRA_WeaponTargetType.Ship_Auxiliary_501_1500_tons: 3302>
Ship_Auxiliary_1501_5000_tons = <WRA_WeaponTargetType.Ship_Auxiliary_1501_5000_tons: 3303>
Ship_Auxiliary_5001_10000_tons = <WRA_WeaponTargetType.Ship_Auxiliary_5001_10000_tons: 3304>
Ship_Auxiliary_10001_25000_tons = <WRA_WeaponTargetType.Ship_Auxiliary_10001_25000_tons: 3305>
Ship_Auxiliary_25001_45000_tons = <WRA_WeaponTargetType.Ship_Auxiliary_25001_45000_tons: 3306>
Ship_Auxiliary_45001_95000_tons = <WRA_WeaponTargetType.Ship_Auxiliary_45001_95000_tons: 3307>
Ship_Auxiliary_95000_tons = <WRA_WeaponTargetType.Ship_Auxiliary_95000_tons: 3308>
Ship_Merchant_Civilian_0_500_tons = <WRA_WeaponTargetType.Ship_Merchant_Civilian_0_500_tons: 3401>
Ship_Merchant_Civilian_501_1500_tons = <WRA_WeaponTargetType.Ship_Merchant_Civilian_501_1500_tons: 3402>
Ship_Merchant_Civilian_1501_5000_tons = <WRA_WeaponTargetType.Ship_Merchant_Civilian_1501_5000_tons: 3403>
Ship_Merchant_Civilian_5001_10000_tons = <WRA_WeaponTargetType.Ship_Merchant_Civilian_5001_10000_tons: 3404>
Ship_Merchant_Civilian_10001_25000_tons = <WRA_WeaponTargetType.Ship_Merchant_Civilian_10001_25000_tons: 3405>
Ship_Merchant_Civilian_25001_45000_tons = <WRA_WeaponTargetType.Ship_Merchant_Civilian_25001_45000_tons: 3406>
Ship_Merchant_Civilian_45001_95000_tons = <WRA_WeaponTargetType.Ship_Merchant_Civilian_45001_95000_tons: 3407>
Ship_Merchant_Civilian_95000_tons = <WRA_WeaponTargetType.Ship_Merchant_Civilian_95000_tons: 3408>
Submarine_Surfaced = <WRA_WeaponTargetType.Submarine_Surfaced: 3501>
Subsurface_Contact_Unknown_Type = <WRA_WeaponTargetType.Subsurface_Contact_Unknown_Type: 3999>
Submarine_Unspecified = <WRA_WeaponTargetType.Submarine_Unspecified: 4000>
Land_Contact_Unknown_Type = <WRA_WeaponTargetType.Land_Contact_Unknown_Type: 4999>
Land_Structure_Soft_Unspecified = <WRA_WeaponTargetType.Land_Structure_Soft_Unspecified: 5000>
Land_Structure_Soft_Building_Surface = <WRA_WeaponTargetType.Land_Structure_Soft_Building_Surface: 5001>
Land_Structure_Soft_Building_Reveted = <WRA_WeaponTargetType.Land_Structure_Soft_Building_Reveted: 5002>
Land_Structure_Soft_Structure_Open = <WRA_WeaponTargetType.Land_Structure_Soft_Structure_Open: 5005>
Land_Structure_Soft_Structure_Reveted = <WRA_WeaponTargetType.Land_Structure_Soft_Structure_Reveted: 5006>
Land_Structure_Soft_Aerostat_Moring = <WRA_WeaponTargetType.Land_Structure_Soft_Aerostat_Moring: 5011>
Land_Structure_Hardened_Unspecified = <WRA_WeaponTargetType.Land_Structure_Hardened_Unspecified: 5100>
Land_Structure_Hardened_Building_Surface = <WRA_WeaponTargetType.Land_Structure_Hardened_Building_Surface: 5101>
Land_Structure_Hardened_Building_Reveted = <WRA_WeaponTargetType.Land_Structure_Hardened_Building_Reveted: 5102>
Land_Structure_Hardened_Building_Bunker = <WRA_WeaponTargetType.Land_Structure_Hardened_Building_Bunker: 5103>
Land_Structure_Hardened_Building_Underground = <WRA_WeaponTargetType.Land_Structure_Hardened_Building_Underground: 5104>
Land_Structure_Hardened_Structure_Open = <WRA_WeaponTargetType.Land_Structure_Hardened_Structure_Open: 5105>
Land_Structure_Hardened_Structure_Reveted = <WRA_WeaponTargetType.Land_Structure_Hardened_Structure_Reveted: 5106>
Runway_Facility_Unspecified = <WRA_WeaponTargetType.Runway_Facility_Unspecified: 5200>
Runway = <WRA_WeaponTargetType.Runway: 5201>
Runway_Grade_Taxiway = <WRA_WeaponTargetType.Runway_Grade_Taxiway: 5202>
Runway_Access_Point = <WRA_WeaponTargetType.Runway_Access_Point: 5203>
Radar_Unspecified = <WRA_WeaponTargetType.Radar_Unspecified: 5300>
Mobile_Target_Soft_Unspecified = <WRA_WeaponTargetType.Mobile_Target_Soft_Unspecified: 5400>
Mobile_Target_Soft_Mobile_Vehicle = <WRA_WeaponTargetType.Mobile_Target_Soft_Mobile_Vehicle: 5401>
Mobile_Target_Soft_Mobile_Personnel = <WRA_WeaponTargetType.Mobile_Target_Soft_Mobile_Personnel: 5402>
Mobile_Target_Hardened_Unspecified = <WRA_WeaponTargetType.Mobile_Target_Hardened_Unspecified: 5500>
Mobile_Target_Hardened_Mobile_Vehicle = <WRA_WeaponTargetType.Mobile_Target_Hardened_Mobile_Vehicle: 5501>
Underwater_Structure = <WRA_WeaponTargetType.Underwater_Structure: 5601>
Air_Base_Single_Unit_Airfield = <WRA_WeaponTargetType.Air_Base_Single_Unit_Airfield: 5801>
class WRAWeaponQty(enum.Enum): View Source

    1146class WRAWeaponQty(Enum):
    1147    """
    1148    齐射武器数
    1149    """
    1150    # 不使用
    1151    NotUse = 0
    1152    # 系统缺省 或 未配置
    1153    Default = -99
    1154    # 导弹防御值的1/4
    1155    MissileDefence25Percent = -6
    1156    MissileDefence50Percent = -5
    1157    MissileDefence400Percent = -4
    1158    MissileDefence200Percent = -3
    1159    # 导弹防御值
    1160    MissileDefence = -2
    1161    Rnd1 = 1
    1162    Rnds2 = 2
    1163    Rnds3 = 3
    1164    Rnds4 = 4
    1165    Rnds5 = 5
    1166    Rnds6 = 6
    1167    Rnds7 = 7
    1168    Rnds8 = 8
    1169    Rnd10 = 10
    1170    Rnds12 = 12
    1171    Rnds14 = 14
    1172    Rnds16 = 16
    1173    Rnds18 = 18
    1174    Rnds20 = 20
    1175    Rnds22 = 22
    1176    Rnds24 = 24
    1177    Rnds26 = 26
    1178    Rnds28 = 28
    1179    Rnds30 = 30
    1180    AllWeapon = 99
    1181    Inherit = 999

齐射武器数

NotUse = <WRAWeaponQty.NotUse: 0>
Default = <WRAWeaponQty.Default: -99>
MissileDefence25Percent = <WRAWeaponQty.MissileDefence25Percent: -6>
MissileDefence50Percent = <WRAWeaponQty.MissileDefence50Percent: -5>
MissileDefence400Percent = <WRAWeaponQty.MissileDefence400Percent: -4>
MissileDefence200Percent = <WRAWeaponQty.MissileDefence200Percent: -3>
MissileDefence = <WRAWeaponQty.MissileDefence: -2>
Rnd1 = <WRAWeaponQty.Rnd1: 1>
Rnds2 = <WRAWeaponQty.Rnds2: 2>
Rnds3 = <WRAWeaponQty.Rnds3: 3>
Rnds4 = <WRAWeaponQty.Rnds4: 4>
Rnds5 = <WRAWeaponQty.Rnds5: 5>
Rnds6 = <WRAWeaponQty.Rnds6: 6>
Rnds7 = <WRAWeaponQty.Rnds7: 7>
Rnds8 = <WRAWeaponQty.Rnds8: 8>
Rnd10 = <WRAWeaponQty.Rnd10: 10>
Rnds12 = <WRAWeaponQty.Rnds12: 12>
Rnds14 = <WRAWeaponQty.Rnds14: 14>
Rnds16 = <WRAWeaponQty.Rnds16: 16>
Rnds18 = <WRAWeaponQty.Rnds18: 18>
Rnds20 = <WRAWeaponQty.Rnds20: 20>
Rnds22 = <WRAWeaponQty.Rnds22: 22>
Rnds24 = <WRAWeaponQty.Rnds24: 24>
Rnds26 = <WRAWeaponQty.Rnds26: 26>
Rnds28 = <WRAWeaponQty.Rnds28: 28>
Rnds30 = <WRAWeaponQty.Rnds30: 30>
AllWeapon = <WRAWeaponQty.AllWeapon: 99>
Inherit = <WRAWeaponQty.Inherit: 999>
class WRAShooterQty(enum.Enum): View Source

    1184class WRAShooterQty(Enum):
    1185    """
    1186    武器发射架数
    1187    """
    1188    # 系统缺省 或 未配置
    1189    Default = -99
    1190    # 开火的作战单元数满足武器的齐射要求数
    1191    FellowWeaponQty = -1
    1192    # 一个作战单元
    1193    One = 1
    1194    # 两个作战单元
    1195    Two = 2
    1196    # 四个作战单元
    1197    Four = 4
    1198    # 与上级一致
    1199    Inherit = 999

武器发射架数

Default = <WRAShooterQty.Default: -99>
FellowWeaponQty = <WRAShooterQty.FellowWeaponQty: -1>
One = <WRAShooterQty.One: 1>
Two = <WRAShooterQty.Two: 2>
Four = <WRAShooterQty.Four: 4>
Inherit = <WRAShooterQty.Inherit: 999>
class WRASelfAttackRange(enum.Enum): View Source

    1202class WRASelfAttackRange(Enum):
    1203    """
    1204    自动开火距离
    1205    """
    1206    # 系统缺省 或 未配置
    1207    Default = -99
    1208    # 最大射程
    1209    MaximumRange = 99
    1210    # 不自动开火
    1211    NoUseWeaponDefence = 0
    1212    TwoNm = 2
    1213    FiveNm = 5
    1214    TenNm = 10
    1215    FifteenNm = 15
    1216    TwentyNm = 20
    1217    TwentyFiveNm = 25
    1218    # 30海里
    1219    ThirtyNm = 30
    1220    ThirtyFiveNm = 35
    1221    FortyNm = 40
    1222    FortyFiveNm = 45
    1223    FiftyNm = 50
    1224    SixtyNm = 60
    1225    SeventyNm = 70
    1226    EightyNm = 80
    1227    NinetyNm = 90
    1228    # 100海里
    1229    OneHundred = 100
    1230    OneHundred25 = 125
    1231    OneHundred50 = 150
    1232    OneHundred70 = 170
    1233    TwoHundred = 200
    1234    # 250海里
    1235    TwoHundred50 = 250
    1236    ThreeHundred = 300
    1237    FiveHundred = 500
    1238    SevenHundred50 = 750
    1239    # 1000海里
    1240    OneThousand = 1000
    1241    OneThonsand500 = 1500
    1242    TwoThonsand = 2000
    1243    Inherit = 999

自动开火距离

Default = <WRASelfAttackRange.Default: -99>
MaximumRange = <WRASelfAttackRange.MaximumRange: 99>
NoUseWeaponDefence = <WRASelfAttackRange.NoUseWeaponDefence: 0>
TwoNm = <WRASelfAttackRange.TwoNm: 2>
FiveNm = <WRASelfAttackRange.FiveNm: 5>
TenNm = <WRASelfAttackRange.TenNm: 10>
FifteenNm = <WRASelfAttackRange.FifteenNm: 15>
TwentyNm = <WRASelfAttackRange.TwentyNm: 20>
TwentyFiveNm = <WRASelfAttackRange.TwentyFiveNm: 25>
ThirtyNm = <WRASelfAttackRange.ThirtyNm: 30>
ThirtyFiveNm = <WRASelfAttackRange.ThirtyFiveNm: 35>
FortyNm = <WRASelfAttackRange.FortyNm: 40>
FortyFiveNm = <WRASelfAttackRange.FortyFiveNm: 45>
FiftyNm = <WRASelfAttackRange.FiftyNm: 50>
SixtyNm = <WRASelfAttackRange.SixtyNm: 60>
SeventyNm = <WRASelfAttackRange.SeventyNm: 70>
EightyNm = <WRASelfAttackRange.EightyNm: 80>
NinetyNm = <WRASelfAttackRange.NinetyNm: 90>
OneHundred = <WRASelfAttackRange.OneHundred: 100>
OneHundred25 = <WRASelfAttackRange.OneHundred25: 125>
OneHundred50 = <WRASelfAttackRange.OneHundred50: 150>
OneHundred70 = <WRASelfAttackRange.OneHundred70: 170>
TwoHundred = <WRASelfAttackRange.TwoHundred: 200>
TwoHundred50 = <WRASelfAttackRange.TwoHundred50: 250>
ThreeHundred = <WRASelfAttackRange.ThreeHundred: 300>
FiveHundred = <WRASelfAttackRange.FiveHundred: 500>
SevenHundred50 = <WRASelfAttackRange.SevenHundred50: 750>
OneThousand = <WRASelfAttackRange.OneThousand: 1000>
OneThonsand500 = <WRASelfAttackRange.OneThonsand500: 1500>
TwoThonsand = <WRASelfAttackRange.TwoThonsand: 2000>
Inherit = <WRASelfAttackRange.Inherit: 999>
class WRASelfDefenceRange(enum.Enum): View Source

    1246class WRASelfDefenceRange(Enum):
    1247    """
    1248    武器自防御距离
    1249    """
    1250    # 系统缺省 或 未配置
    1251    Default = -99
    1252    # 最大防御距离
    1253    MaximumRange = -9
    1254    # 武器不用自防御
    1255    NoUseWeaponDefence = 0
    1256    # 1海里
    1257    OneNm = 1
    1258    # 2海里
    1259    TwoNm = 2
    1260    ThreeNm = 3
    1261    FourNm = 4
    1262    FiveNm = 5
    1263    SixNm = 6
    1264    SevenNm = 7
    1265    EightNm = 8
    1266    NineNm = 9
    1267    TenNm = 10
    1268    FifteenNm = 15
    1269    Inherit = 999

武器自防御距离

Default = <WRASelfDefenceRange.Default: -99>
MaximumRange = <WRASelfDefenceRange.MaximumRange: -9>
NoUseWeaponDefence = <WRASelfDefenceRange.NoUseWeaponDefence: 0>
OneNm = <WRASelfDefenceRange.OneNm: 1>
TwoNm = <WRASelfDefenceRange.TwoNm: 2>
ThreeNm = <WRASelfDefenceRange.ThreeNm: 3>
FourNm = <WRASelfDefenceRange.FourNm: 4>
FiveNm = <WRASelfDefenceRange.FiveNm: 5>
SixNm = <WRASelfDefenceRange.SixNm: 6>
SevenNm = <WRASelfDefenceRange.SevenNm: 7>
EightNm = <WRASelfDefenceRange.EightNm: 8>
NineNm = <WRASelfDefenceRange.NineNm: 9>
TenNm = <WRASelfDefenceRange.TenNm: 10>
FifteenNm = <WRASelfDefenceRange.FifteenNm: 15>
Inherit = <WRASelfDefenceRange.Inherit: 999>
class WayPointType(enum.Enum): View Source

    1272class WayPointType(Enum):
    1273    """
    1274    航路点类型
    1275    """
    1276    ManualPlottedCourseWaypoint = 0
    1277    PatrolStation = 1

航路点类型

ManualPlottedCourseWaypoint = <WayPointType.ManualPlottedCourseWaypoint: 0>
PatrolStation = <WayPointType.PatrolStation: 1>
waypointtype2str = {0: 'ManualPlottedCourseWaypoint', 1: 'PatrolStation', 2: 'TerminalPoint', 3: 'LocalizationRun', 4: 'PathfindingPoint', 5: 'Assemble', 6: 'TurningPoint', 7: 'InitialPoint', 8: 'Split', 9: 'Formate', 10: 'Target', 11: 'LandingMarshal', 12: 'StrikeIngress', 13: 'StrikeEgress', 14: 'Refuel', 15: 'TakeOff', 16: 'Marshal', 17: 'WeaponLaunch', 18: 'Land', 19: 'WeaponTarget', 20: 'StationStart_Racetrack', 21: 'StationStart_FigureEight', 22: 'StationStart_Area', 23: 'StationStart_RaceTrackRandom', 24: 'StationEnd', 25: 'PickupPoint', 26: 'HoldStart', 27: 'HoldEnd', 28: 'Launch', 29: 'Activation', 30: 'Termination'}
class BearingType(enum.Enum): View Source

    1316class BearingType(Enum):
    1317    # 固定的，不随领队朝向变化而变化
    1318    Fixed = 0
    1319    # 旋转的，随领队朝向改变旋转
    1320    Rotating = 1

An enumeration.

Fixed = <BearingType.Fixed: 0>
Rotating = <BearingType.Rotating: 1>
class AircraftCategory(enum.Enum): View Source

    1323class AircraftCategory(Enum):
    1324    # 未知
    1325    NoneValue = 1001
    1326    # 固定翼
    1327    FixedWing = 2001
    1328    # 固定翼舰载机
    1329    FixedWing_CarrierCapable = 2002
    1330    # 直升机
    1331    Helicopter = 2003
    1332    # 倾转旋翼机
    1333    Tiltrotor = 2004
    1334    const_5 = 2005
    1335    # 飞艇
    1336    Airship = 2006
    1337    # 水上飞机
    1338    Seaplane = 2007
    1339    # 两栖飞机
    1340    Amphibian = 2008

An enumeration.

NoneValue = <AircraftCategory.NoneValue: 1001>
FixedWing = <AircraftCategory.FixedWing: 2001>
FixedWing_CarrierCapable = <AircraftCategory.FixedWing_CarrierCapable: 2002>
Helicopter = <AircraftCategory.Helicopter: 2003>
Tiltrotor = <AircraftCategory.Tiltrotor: 2004>
const_5 = <AircraftCategory.const_5: 2005>
Airship = <AircraftCategory.Airship: 2006>
Seaplane = <AircraftCategory.Seaplane: 2007>
Amphibian = <AircraftCategory.Amphibian: 2008>
class AircraftType(enum.Enum): View Source

    1343class AircraftType(Enum):
    1344    # 其他
    1345    NoneValue = 1001
    1346    # 战斗机
    1347    Fighter = 2001
    1348    # 多用途飞机
    1349    Multirole = 2002
    1350    # 反卫星飞机
    1351    ASAT = 2101
    1352    # 空中激光平台
    1353    AirborneLaserPlatform = 2102
    1354    # 攻击机
    1355    Attack = 3001
    1356    # 野鼬鼠 （防空压制）
    1357    WildWeasel = 3002
    1358    # 轰炸机
    1359    Bomber = 3101
    1360    # 战场空中拦截（BAI/ CAS）
    1361    CAS = 3401
    1362    # 电子战飞机
    1363    OECM = 4001
    1364    # 预警机
    1365    AEW = 4002
    1366    # 指挥机 （ACP）
    1367    AirborneCP = 4003
    1368    # 救援飞机
    1369    SAR = 4101
    1370    # 反水雷飞机
    1371    MCM = 4201
    1372    # 反潜作战飞机
    1373    ASW = 6001
    1374    # 海上巡逻机
    1375    MPA = 6002
    1376    # 前进观察员
    1377    ForwardObserver = 7001
    1378    # 区域监视
    1379    AreaSurveillance = 7002
    1380    # 侦察机
    1381    Recon = 7003
    1382    # 电子情报收集飞机
    1383    ELINT = 7004
    1384    # 信号情报收集飞机
    1385    SIGINT = 7005
    1386    # 运输机
    1387    Transport = 7101
    1388    # 货机
    1389    Cargo = 7201
    1390    # 商业飞机
    1391    Commercial = 7301
    1392    # 民用
    1393    Civilian = 7302
    1394    # 通用直升机
    1395    Utility = 7401
    1396    # 海军通用直升机
    1397    Utility_Naval = 7402
    1398    # 空中加油机
    1399    Tanker = 8001
    1400    # 教练机
    1401    Trainer = 8101
    1402    # 牵引机
    1403    TargetTowing = 8102
    1404    # 靶机
    1405    TargetDrone = 8103
    1406    # 无人机
    1407    UAV = 8201
    1408    # 无人作战飞行器
    1409    UCAV = 8202
    1410    # 飞艇
    1411    AirShip = 8901
    1412    # 航空器
    1413    Aerostat = 8902
    1414    IMGSAT = 9001
    1415    RORSAT = 9002
    1416    EORSAT = 9003

An enumeration.

NoneValue = <AircraftType.NoneValue: 1001>
Fighter = <AircraftType.Fighter: 2001>
Multirole = <AircraftType.Multirole: 2002>
ASAT = <AircraftType.ASAT: 2101>
AirborneLaserPlatform = <AircraftType.AirborneLaserPlatform: 2102>
Attack = <AircraftType.Attack: 3001>
WildWeasel = <AircraftType.WildWeasel: 3002>
Bomber = <AircraftType.Bomber: 3101>
CAS = <AircraftType.CAS: 3401>
OECM = <AircraftType.OECM: 4001>
AEW = <AircraftType.AEW: 4002>
AirborneCP = <AircraftType.AirborneCP: 4003>
SAR = <AircraftType.SAR: 4101>
MCM = <AircraftType.MCM: 4201>
ASW = <AircraftType.ASW: 6001>
MPA = <AircraftType.MPA: 6002>
ForwardObserver = <AircraftType.ForwardObserver: 7001>
AreaSurveillance = <AircraftType.AreaSurveillance: 7002>
Recon = <AircraftType.Recon: 7003>
ELINT = <AircraftType.ELINT: 7004>
SIGINT = <AircraftType.SIGINT: 7005>
Transport = <AircraftType.Transport: 7101>
Cargo = <AircraftType.Cargo: 7201>
Commercial = <AircraftType.Commercial: 7301>
Civilian = <AircraftType.Civilian: 7302>
Utility = <AircraftType.Utility: 7401>
Utility_Naval = <AircraftType.Utility_Naval: 7402>
Tanker = <AircraftType.Tanker: 8001>
Trainer = <AircraftType.Trainer: 8101>
TargetTowing = <AircraftType.TargetTowing: 8102>
TargetDrone = <AircraftType.TargetDrone: 8103>
UAV = <AircraftType.UAV: 8201>
UCAV = <AircraftType.UCAV: 8202>
AirShip = <AircraftType.AirShip: 8901>
Aerostat = <AircraftType.Aerostat: 8902>
IMGSAT = <AircraftType.IMGSAT: 9001>
RORSAT = <AircraftType.RORSAT: 9002>
EORSAT = <AircraftType.EORSAT: 9003>
class AirOpsCondition(enum.Enum): View Source

    1655class AirOpsCondition(Enum):
    1656    # 空中
    1657    Airborne = 0
    1658    # 停泊
    1659    Parked = 1
    1660    # 正在滑行准备起飞
    1661    TaxyingToTakeOff = 2
    1662    # 正在滑行到停机位
    1663    TaxyingToPark = 3
    1664    # 正在起飞过程中
    1665    TakingOff = 4
    1666    # 最终进场
    1667    Landing_PreTouchdown = 5
    1668    # 正在完成降落
    1669    Landing_PostTouchdown = 6
    1670    # 正在进行出动准备
    1671    Readying = 7
    1672    # 等待可用的滑行道/升降机
    1673    HoldingForAvailableTransit = 8
    1674    # 等待跑道空闲
    1675    HoldingForAvailableRunway = 9
    1676    # 处于降落队列中
    1677    HoldingOnLandingQueue = 10
    1678    # 返回基地
    1679    RTB = 11
    1680    # 准备出动
    1681    PreparingToLaunch = 12
    1682    # 机动到加油阵位
    1683    ManoeuveringToRefuel = 13
    1684    # 正在加油
    1685    Refuelling = 14
    1686    # 卸载燃油
    1687    OffloadingFuel = 15
    1688    # 准备部署吊放式声纳，尚未到达部署点
    1689    DeployingDippingSonar = 16
    1690    # 紧急着陆
    1691    EmergencyLanding = 17
    1692    # 到飞行甲板
    1693    TaxyingToFlightDeck = 18
    1694    # 正在执行超视距攻击任务
    1695    BVRAttack = 19
    1696    # 超视距攻击往复运动？远距离攻击往复运动？
    1697    BVRCrank = 20
    1698    # 近距空中格斗
    1699    Dogfight = 21
    1700    # 投送货物
    1701    DeployingCargo = 22
    1702    # 滑行至加油区
    1703    TaxiToRefuelingArea = 23
    1704    # 滑行
    1705    Taxiing = 24
    1706    # 通过跑道滑行降落（用于演示功能）
    1707    TaxiToLanding = 25
    1708    # 通过跑道滑行起飞（用于演示功能）
    1709    TaxiToTakeOff = 26

An enumeration.

Airborne = <AirOpsCondition.Airborne: 0>
Parked = <AirOpsCondition.Parked: 1>
TaxyingToTakeOff = <AirOpsCondition.TaxyingToTakeOff: 2>
TaxyingToPark = <AirOpsCondition.TaxyingToPark: 3>
TakingOff = <AirOpsCondition.TakingOff: 4>
Landing_PreTouchdown = <AirOpsCondition.Landing_PreTouchdown: 5>
Landing_PostTouchdown = <AirOpsCondition.Landing_PostTouchdown: 6>
Readying = <AirOpsCondition.Readying: 7>
HoldingForAvailableTransit = <AirOpsCondition.HoldingForAvailableTransit: 8>
HoldingForAvailableRunway = <AirOpsCondition.HoldingForAvailableRunway: 9>
HoldingOnLandingQueue = <AirOpsCondition.HoldingOnLandingQueue: 10>
RTB = <AirOpsCondition.RTB: 11>
PreparingToLaunch = <AirOpsCondition.PreparingToLaunch: 12>
ManoeuveringToRefuel = <AirOpsCondition.ManoeuveringToRefuel: 13>
Refuelling = <AirOpsCondition.Refuelling: 14>
OffloadingFuel = <AirOpsCondition.OffloadingFuel: 15>
DeployingDippingSonar = <AirOpsCondition.DeployingDippingSonar: 16>
EmergencyLanding = <AirOpsCondition.EmergencyLanding: 17>
TaxyingToFlightDeck = <AirOpsCondition.TaxyingToFlightDeck: 18>
BVRAttack = <AirOpsCondition.BVRAttack: 19>
BVRCrank = <AirOpsCondition.BVRCrank: 20>
Dogfight = <AirOpsCondition.Dogfight: 21>
DeployingCargo = <AirOpsCondition.DeployingCargo: 22>
TaxiToRefuelingArea = <AirOpsCondition.TaxiToRefuelingArea: 23>
Taxiing = <AirOpsCondition.Taxiing: 24>
TaxiToLanding = <AirOpsCondition.TaxiToLanding: 25>
TaxiToTakeOff = <AirOpsCondition.TaxiToTakeOff: 26>
class AirValidStatus(enum.Enum): View Source

    1712class AirValidStatus(Enum):
    1713    validToFly = 0  # 基地中可马上起飞
    1714    InAir = 1  # 在空，可分配巡逻，进攻，航路规划
    1715    InAirRTB = 2  # 在空中返航或降落
    1716    WaitReady = 3  # 基地中准备挂载武器中

An enumeration.

validToFly = <AirValidStatus.validToFly: 0>
InAir = <AirValidStatus.InAir: 1>
InAirRTB = <AirValidStatus.InAirRTB: 2>
WaitReady = <AirValidStatus.WaitReady: 3>
class MaintenanceLevel(enum.Enum): View Source

    1719class MaintenanceLevel(Enum):
    1720    # 可用，准备就绪
    1721    const_0 = 0
    1722    # 武器状态已知，且考虑连发机关枪
    1723    const_1 = 1
    1724    # 不可用
    1725    Unavailable = 2
    1726    # 备用挂载方案？
    1727    ReserveLoadout = 3
    1728    # 没有挂载方案
    1729    const_4 = 4

An enumeration.

const_0 = <MaintenanceLevel.const_0: 0>
const_1 = <MaintenanceLevel.const_1: 1>
Unavailable = <MaintenanceLevel.Unavailable: 2>
ReserveLoadout = <MaintenanceLevel.ReserveLoadout: 3>
const_4 = <MaintenanceLevel.const_4: 4>
class IdentificationStatus(enum.Enum): View Source

    1732class IdentificationStatus(Enum):
    1733    # 未知
    1734    Unknown = 0
    1735    # 已知空域（如空中、地面）
    1736    KnownDomain = 1
    1737    # 已知类型（如飞机、导弹）
    1738    KnownType = 2
    1739    # 已知级别
    1740    KnownClass = 3
    1741    # 确认对象
    1742    PreciseID = 4

An enumeration.

Unknown = <IdentificationStatus.Unknown: 0>
KnownDomain = <IdentificationStatus.KnownDomain: 1>
KnownType = <IdentificationStatus.KnownType: 2>
KnownClass = <IdentificationStatus.KnownClass: 3>
PreciseID = <IdentificationStatus.PreciseID: 4>
class FicilityCategory(enum.Enum): View Source

    1746class FicilityCategory(Enum):
    1747    NoneValue = 1001
    1748    # 跑道
    1749    Runway = 2001
    1750    # 滑行道
    1751    RunwayGrade_Taxiway = 2002
    1752    # 跑道入口
    1753    RunwayAccessPoint = 2003
    1754    # 建筑物（地表）
    1755    Building_Surface = 3001
    1756    # 建筑物（混凝土）
    1757    Building_Reveted = 3002
    1758    # 建筑物（地堡）
    1759    Building_Bunker = 3003
    1760    # 建筑物（地下）
    1761    Building_Underground = 3004
    1762    # 建筑结构（开放）
    1763    Structure_Open = 3005
    1764    # 建筑结构（混凝土）
    1765    Structure_Reveted = 3006
    1766    # 水下
    1767    Underwater = 4001
    1768    # 移动车辆
    1769    Mobile_Vehicle = 5001
    1770    # 移动人员
    1771    Mobile_Personnel = 5002
    1772    # 航空器系泊设备
    1773    AerostatMooring = 6001
    1774    # 空军基地
    1775    AirBase = 9001

An enumeration.

NoneValue = <FicilityCategory.NoneValue: 1001>
Runway = <FicilityCategory.Runway: 2001>
RunwayGrade_Taxiway = <FicilityCategory.RunwayGrade_Taxiway: 2002>
RunwayAccessPoint = <FicilityCategory.RunwayAccessPoint: 2003>
Building_Surface = <FicilityCategory.Building_Surface: 3001>
Building_Reveted = <FicilityCategory.Building_Reveted: 3002>
Building_Bunker = <FicilityCategory.Building_Bunker: 3003>
Building_Underground = <FicilityCategory.Building_Underground: 3004>
Structure_Open = <FicilityCategory.Structure_Open: 3005>
Structure_Reveted = <FicilityCategory.Structure_Reveted: 3006>
Underwater = <FicilityCategory.Underwater: 4001>
Mobile_Vehicle = <FicilityCategory.Mobile_Vehicle: 5001>
Mobile_Personnel = <FicilityCategory.Mobile_Personnel: 5002>
AerostatMooring = <FicilityCategory.AerostatMooring: 6001>
AirBase = <FicilityCategory.AirBase: 9001>
class FacilityType(enum.Enum): View Source

    1778class FacilityType(Enum):
    1779    # 陆军分队
    1780    LandForce = 5001
    1781    # 火箭军导弹分队
    1782    MissileForce = 5002
    1783    # 地防导弹分队
    1784    LandAntiAir = 5003
    1785    # 雷达分队
    1786    RadarForce = 5004
    1787    # 空军基地
    1788    AirBase = 9001

An enumeration.

LandForce = <FacilityType.LandForce: 5001>
MissileForce = <FacilityType.MissileForce: 5002>
LandAntiAir = <FacilityType.LandAntiAir: 5003>
RadarForce = <FacilityType.RadarForce: 5004>
AirBase = <FacilityType.AirBase: 9001>
class GroupType(enum.Enum): View Source

    1792class GroupType(Enum):
    1793    # 飞机编组，或此枚举还要充当没有成员变量的枚举
    1794    AirGroup = 0
    1795    # 水面舰艇编组
    1796    SurfaceGroup = 1
    1797    # 潜艇编组
    1798    SubGroup = 2
    1799    # 设施编组
    1800    Installation = 3
    1801    # 车辆编组
    1802    MobileGroup = 4
    1803    # 空军基地
    1804    AirBase = 5
    1805    # 海军基地
    1806    NavalBase = 6

An enumeration.

AirGroup = <GroupType.AirGroup: 0>
SurfaceGroup = <GroupType.SurfaceGroup: 1>
SubGroup = <GroupType.SubGroup: 2>
Installation = <GroupType.Installation: 3>
MobileGroup = <GroupType.MobileGroup: 4>
AirBase = <GroupType.AirBase: 5>
NavalBase = <GroupType.NavalBase: 6>
class CargoType(enum.Enum): View Source

    1810class CargoType(Enum):
    1811    # 不可以编辑货物
    1812    NoCargo = 0
    1813    # 人员
    1814    Personnel = 1000
    1815    # 小型货物
    1816    SmallCargo = 2000
    1817    # 中型货物
    1818    MediumCargo = 3000
    1819    # 大型货物
    1820    LargeCargo = 4000
    1821    # 超大型货物
    1822    VeryLargeCargo = 5000

An enumeration.

NoCargo = <CargoType.NoCargo: 0>
Personnel = <CargoType.Personnel: 1000>
SmallCargo = <CargoType.SmallCargo: 2000>
MediumCargo = <CargoType.MediumCargo: 3000>
LargeCargo = <CargoType.LargeCargo: 4000>
VeryLargeCargo = <CargoType.VeryLargeCargo: 5000>
class MessageType(enum.Enum): View Source

    1826class MessageType(Enum):
    1827    # 其他
    1828    NoneValue = 0
    1829    # 发现新目标
    1830    NewContact = 1
    1831    # 目标状态变更
    1832    ContactChange = 2
    1833    # 武器末段计算
    1834    WeaponEndgame = 3
    1835    # 武器毁伤
    1836    WeaponDamage = 4
    1837    # 空中行动
    1838    AirOps = 5
    1839    # 作战单元损失
    1840    UnitLost = 6
    1841    # 作战单元毁伤
    1842    UnitDamage = 7
    1843    # 点防御
    1844    PointDefence = 8
    1845    # 用户界面
    1846    UI = 9
    1847    # 武器逻辑
    1848    WeaponLogic = 10
    1849    # 作战单元AI
    1850    UnitAI = 11
    1851    # 事件引擎
    1852    EventEngine = 13
    1853    # 新武器感知
    1854    NewWeaponContact = 14
    1855    # 停靠行动
    1856    DockingOps = 15
    1857    # 特殊消息
    1858    SpecialMessage = 16
    1859    # 发现新鱼雷目标
    1860    NewMineContact = 17
    1861    # 通信隔离消息
    1862    CommsIsolatedMessage = 18
    1863    # 发现新空中目标
    1864    NewAirContact = 19
    1865    # 发现新水面目标
    1866    NewSurfaceContact = 20
    1867    # 发现新水下目标
    1868    NewUnderwaterContact = 21
    1869    # 发现新地面目标
    1870    NewGroundContact = 22
    1871    # 非制导武器精度修正
    1872    UnguidedWeaponModifiers = 23
    1873    # 武器发射
    1874    WeaponFiring = 24
    1875    # 输出弹框内容
    1876    InputMessage = 25

An enumeration.

NoneValue = <MessageType.NoneValue: 0>
NewContact = <MessageType.NewContact: 1>
ContactChange = <MessageType.ContactChange: 2>
WeaponEndgame = <MessageType.WeaponEndgame: 3>
WeaponDamage = <MessageType.WeaponDamage: 4>
AirOps = <MessageType.AirOps: 5>
UnitLost = <MessageType.UnitLost: 6>
UnitDamage = <MessageType.UnitDamage: 7>
PointDefence = <MessageType.PointDefence: 8>
UI = <MessageType.UI: 9>
WeaponLogic = <MessageType.WeaponLogic: 10>
UnitAI = <MessageType.UnitAI: 11>
EventEngine = <MessageType.EventEngine: 13>
NewWeaponContact = <MessageType.NewWeaponContact: 14>
DockingOps = <MessageType.DockingOps: 15>
SpecialMessage = <MessageType.SpecialMessage: 16>
NewMineContact = <MessageType.NewMineContact: 17>
CommsIsolatedMessage = <MessageType.CommsIsolatedMessage: 18>
NewAirContact = <MessageType.NewAirContact: 19>
NewSurfaceContact = <MessageType.NewSurfaceContact: 20>
NewUnderwaterContact = <MessageType.NewUnderwaterContact: 21>
NewGroundContact = <MessageType.NewGroundContact: 22>
UnguidedWeaponModifiers = <MessageType.UnguidedWeaponModifiers: 23>
WeaponFiring = <MessageType.WeaponFiring: 24>
InputMessage = <MessageType.InputMessage: 25>
class ComponentStatus(enum.Enum): View Source

    1880class ComponentStatus(Enum):
    1881    # 正常工作
    1882    Operational = 0
    1883    # 受到毁伤
    1884    Damaged = 1
    1885    # 已被摧毁
    1886    Destroyed = 2

An enumeration.

Operational = <ComponentStatus.Operational: 0>
Damaged = <ComponentStatus.Damaged: 1>
Destroyed = <ComponentStatus.Destroyed: 2>
class DamageSeverity(enum.Enum): View Source

    1889class DamageSeverity(Enum):
    1890    # 轻
    1891    Light = 0
    1892    # 中
    1893    Medium = 1
    1894    # 重
    1895    Heavy = 2

An enumeration.

Light = <DamageSeverity.Light: 0>
Medium = <DamageSeverity.Medium: 1>
Heavy = <DamageSeverity.Heavy: 2>
class MissionClass(enum.Enum): View Source

    1899class MissionClass(Enum):
    1900    # 未知
    1901    NoneValue = 0
    1902    # 打击/截击
    1903    Strike = 1
    1904    # 巡逻
    1905    Patrol = 2
    1906    # 支援
    1907    Support = 3
    1908    # 转场
    1909    Ferry = 4
    1910    # 布雷
    1911    Mining = 5
    1912    # 扫雷
    1913    MineClearing = 6
    1914    # 护航
    1915    Escort = 7
    1916    # 投送选项
    1917    Cargo = 8

An enumeration.

NoneValue = <MissionClass.NoneValue: 0>
Strike = <MissionClass.Strike: 1>
Patrol = <MissionClass.Patrol: 2>
Support = <MissionClass.Support: 3>
Ferry = <MissionClass.Ferry: 4>
Mining = <MissionClass.Mining: 5>
MineClearing = <MissionClass.MineClearing: 6>
Escort = <MissionClass.Escort: 7>
Cargo = <MissionClass.Cargo: 8>
class FlightSizeNum(enum.Enum): View Source

    1920class FlightSizeNum(Enum):
    1921    # 无，对应于没有编队大小限制
    1922    NoneValue = 0
    1923    # 单机
    1924    SingleAircraft = 1
    1925    # 2机编队
    1926    TwoAircraft = 2
    1927    # 3机编队
    1928    ThreeAircraft = 3
    1929    # 4机编队
    1930    FourAircraft = 4
    1931    # 6机编队
    1932    SixAircraft = 6

An enumeration.

NoneValue = <FlightSizeNum.NoneValue: 0>
SingleAircraft = <FlightSizeNum.SingleAircraft: 1>
TwoAircraft = <FlightSizeNum.TwoAircraft: 2>
ThreeAircraft = <FlightSizeNum.ThreeAircraft: 3>
FourAircraft = <FlightSizeNum.FourAircraft: 4>
SixAircraft = <FlightSizeNum.SixAircraft: 6>
class ProficiencyLevel(enum.Enum): View Source

    1936class ProficiencyLevel(Enum):
    1937    # 新手
    1938    Novice = 0
    1939    # 实习
    1940    Cadet = 1
    1941    # 普通
    1942    Regular = 2
    1943    # 老手
    1944    Veteran = 3
    1945    # 顶级
    1946    Ace = 4

An enumeration.

Novice = <ProficiencyLevel.Novice: 0>
Cadet = <ProficiencyLevel.Cadet: 1>
Regular = <ProficiencyLevel.Regular: 2>
Veteran = <ProficiencyLevel.Veteran: 3>
Ace = <ProficiencyLevel.Ace: 4>
class AwarenessLevel(enum.Enum): View Source

    1949class AwarenessLevel(Enum):
    1950    # 一无所知
    1951    Blind = -1
    1952    # 普通水平
    1953    Normal = 0
    1954    # 知其属方
    1955    AutoSideID = 1
    1956    # 知其属方及单元
    1957    AutoSideAndUnitID = 2
    1958    # 无所不知
    1959    Omniscient = 3

An enumeration.

Blind = <AwarenessLevel.Blind: -1>
Normal = <AwarenessLevel.Normal: 0>
AutoSideID = <AwarenessLevel.AutoSideID: 1>
AutoSideAndUnitID = <AwarenessLevel.AutoSideAndUnitID: 2>
Omniscient = <AwarenessLevel.Omniscient: 3>
class StrikeMissionType(enum.Enum): View Source

    1963class StrikeMissionType(Enum):
    1964    # 空中截击
    1965    Air_Intercept = 0
    1966    # 对陆打击
    1967    Land_Strike = 1
    1968    # 对海打击
    1969    Maritime_Strike = 2
    1970    # 对潜突击
    1971    Sub_Strike = 3

An enumeration.

Air_Intercept = <StrikeMissionType.Air_Intercept: 0>
Land_Strike = <StrikeMissionType.Land_Strike: 1>
Maritime_Strike = <StrikeMissionType.Maritime_Strike: 2>
Sub_Strike = <StrikeMissionType.Sub_Strike: 3>
class ContactStance(enum.Enum): View Source

    1974class ContactStance(Enum):
    1975    #  中立
    1976    Neutral = 0
    1977    #  友方
    1978    Friendly = 1
    1979    # 不友好
    1980    Unfriendly = 2
    1981    # 敌对
    1982    Hostile = 3
    1983    #  未知
    1984    Unknown = 4

An enumeration.

Neutral = <ContactStance.Neutral: 0>
Friendly = <ContactStance.Friendly: 1>
Unfriendly = <ContactStance.Unfriendly: 2>
Hostile = <ContactStance.Hostile: 3>
Unknown = <ContactStance.Unknown: 4>
class Bingo(enum.Enum): View Source

    1987class Bingo(Enum):
    1988    # 根据每个挂载方案的设置决定是消耗/抛弃还是带回空地弹药
    1989    const_0 = 0
    1990    # 在最远距离上抛弃空对地弹药，以获取最大打击
    1991    const_1 = 1
    1992    # 如果不能打击目标，则带回空对地弹药
    1993    BringBackIfTargetCanntStrike = 2

An enumeration.

const_0 = <Bingo.const_0: 0>
const_1 = <Bingo.const_1: 1>
BringBackIfTargetCanntStrike = <Bingo.BringBackIfTargetCanntStrike: 2>
class RadarBehaviour(enum.Enum): View Source

    1996class RadarBehaviour(Enum):
    1997    # 整个飞行计划全部使用任务电磁管控
    1998    const_0 = 0
    1999    # 从初始点到武器消耗光打开雷达：winchester
    2000    Land = 1
    2001    # 从攻击进入点到武器消耗光打开雷达
    2002    const_2 = 2
    2003    # 默认，缺省
    2004    Maritime = 3

An enumeration.

const_0 = <RadarBehaviour.const_0: 0>
Land = <RadarBehaviour.Land: 1>
const_2 = <RadarBehaviour.const_2: 2>
Maritime = <RadarBehaviour.Maritime: 3>
class UseRefuel(enum.Enum): View Source

    2007class UseRefuel(Enum):
    2008    # 允许，不允许加油机对加油机加油
    2009    Yes_ExcepTankerToTanker = 0
    2010    # 不允许
    2011    No = 1
    2012    # 允许
    2013    Yes = 2
    2014    # 多样
    2015    Various = 3
    2016    # 未配置
    2017    NotConfigured = 4

An enumeration.

Yes_ExcepTankerToTanker = <UseRefuel.Yes_ExcepTankerToTanker: 0>
No = <UseRefuel.No: 1>
Yes = <UseRefuel.Yes: 2>
Various = <UseRefuel.Various: 3>
NotConfigured = <UseRefuel.NotConfigured: 4>
class TankerUsage(enum.Enum): View Source

    2020class TankerUsage(Enum):
    2021    # 自动使用
    2022    Automatic = 0
    2023    # 任务中使用
    2024    Mission = 1

An enumeration.

Automatic = <TankerUsage.Automatic: 0>
Mission = <TankerUsage.Mission: 1>
class GroupSize(enum.Enum): View Source

    2028class GroupSize(Enum):
    2029    # 无
    2030    NoneValue = 0
    2031    # 单舰
    2032    Single = 1
    2033    # 双舰
    2034    Double = 2
    2035    # 三舰
    2036    Three = 3
    2037    # 四舰
    2038    Four = 4
    2039    # 六舰
    2040    Six = 6

An enumeration.

NoneValue = <GroupSize.NoneValue: 0>
Single = <GroupSize.Single: 1>
Double = <GroupSize.Double: 2>
Three = <GroupSize.Three: 3>
Four = <GroupSize.Four: 4>
Six = <GroupSize.Six: 6>
class EscortFlightSize(enum.Enum): View Source

    2043class EscortFlightSize(Enum):
    2044    # 无，对应于没有编队大小限制
    2045    NoneValue = 0
    2046    # 单机
    2047    SingleAircraft = 1
    2048    # 2机编队
    2049    TwoAircraft = 2
    2050    # 3机编队
    2051    ThreeAircraft = 3
    2052    # 4机编队
    2053    FourAircraft = 4
    2054    # 6机编队
    2055    SixAircraft = 6

An enumeration.

NoneValue = <EscortFlightSize.NoneValue: 0>
SingleAircraft = <EscortFlightSize.SingleAircraft: 1>
TwoAircraft = <EscortFlightSize.TwoAircraft: 2>
ThreeAircraft = <EscortFlightSize.ThreeAircraft: 3>
FourAircraft = <EscortFlightSize.FourAircraft: 4>
SixAircraft = <EscortFlightSize.SixAircraft: 6>
class AircraftToFlyGroupSize(enum.Enum): View Source

    2058class AircraftToFlyGroupSize(Enum):
    2059    # 所有飞机编队出动
    2060    All = -99
    2061    # 无偏好
    2062    NoPreferences = 0
    2063    # 一机编队
    2064    Flight_x1 = -97
    2065    Flight_x2 = -96
    2066    Flight_x3 = -95
    2067    Flight_x4 = -94
    2068    Flight_x6 = -93
    2069    Flight_x8 = -92
    2070    Flight_x12 = -91
    2071    Aircraft_x1 = -87
    2072    Aircraft_x2 = -86
    2073    Aircraft_x3 = -85
    2074    Aircraft_x4 = -84
    2075    Aircraft_x6 = -83
    2076    Aircraft_x8 = -82
    2077    Aircraft_x12 = -81

An enumeration.

All = <AircraftToFlyGroupSize.All: -99>
NoPreferences = <AircraftToFlyGroupSize.NoPreferences: 0>
Flight_x1 = <AircraftToFlyGroupSize.Flight_x1: -97>
Flight_x2 = <AircraftToFlyGroupSize.Flight_x2: -96>
Flight_x3 = <AircraftToFlyGroupSize.Flight_x3: -95>
Flight_x4 = <AircraftToFlyGroupSize.Flight_x4: -94>
Flight_x6 = <AircraftToFlyGroupSize.Flight_x6: -93>
Flight_x8 = <AircraftToFlyGroupSize.Flight_x8: -92>
Flight_x12 = <AircraftToFlyGroupSize.Flight_x12: -91>
Aircraft_x1 = <AircraftToFlyGroupSize.Aircraft_x1: -87>
Aircraft_x2 = <AircraftToFlyGroupSize.Aircraft_x2: -86>
Aircraft_x3 = <AircraftToFlyGroupSize.Aircraft_x3: -85>
Aircraft_x4 = <AircraftToFlyGroupSize.Aircraft_x4: -84>
Aircraft_x6 = <AircraftToFlyGroupSize.Aircraft_x6: -83>
Aircraft_x8 = <AircraftToFlyGroupSize.Aircraft_x8: -82>
Aircraft_x12 = <AircraftToFlyGroupSize.Aircraft_x12: -81>
class EscortGroupSize(enum.Enum): View Source

    2080class EscortGroupSize(Enum):
    2081    # 无
    2082    NoneValue = 0
    2083    # 单舰
    2084    Single = 1
    2085    # 双舰
    2086    Double = 2
    2087    # 三舰
    2088    Three = 3
    2089    # 四舰
    2090    Four = 4
    2091    # 六舰
    2092    Six = 6

An enumeration.

NoneValue = <EscortGroupSize.NoneValue: 0>
Single = <EscortGroupSize.Single: 1>
Double = <EscortGroupSize.Double: 2>
Three = <EscortGroupSize.Three: 3>
Four = <EscortGroupSize.Four: 4>
Six = <EscortGroupSize.Six: 6>
class FireIntensityLevel(enum.Enum): View Source

    2096class FireIntensityLevel(Enum):
    2097    # 无火
    2098    NoFire = 0
    2099    # 小火
    2100    Minor = 1
    2101    # 中火
    2102    Major = 2
    2103    # 猛火
    2104    Severe = 3
    2105    # 大火
    2106    Conflagration = 4

An enumeration.

NoFire = <FireIntensityLevel.NoFire: 0>
Minor = <FireIntensityLevel.Minor: 1>
Major = <FireIntensityLevel.Major: 2>
Severe = <FireIntensityLevel.Severe: 3>
Conflagration = <FireIntensityLevel.Conflagration: 4>
class FloodingIntensityLevel(enum.Enum): View Source

    2109class FloodingIntensityLevel(Enum):
    2110    # 未进水
    2111    NoFlooding = 0
    2112    # 少量
    2113    Minor = 1
    2114    # 中等
    2115    Major = 2
    2116    # 严重
    2117    Severe = 3
    2118    # 翻覆
    2119    Capsizing = 4

An enumeration.

NoFlooding = <FloodingIntensityLevel.NoFlooding: 0>
Minor = <FloodingIntensityLevel.Minor: 1>
Major = <FloodingIntensityLevel.Major: 2>
Severe = <FloodingIntensityLevel.Severe: 3>
Capsizing = <FloodingIntensityLevel.Capsizing: 4>
class FerryBehavior(enum.Enum): View Source

    2122class FerryBehavior(Enum):
    2123    # 单程
    2124    OneWay = 0
    2125    # 循环
    2126    Cycle = 1
    2127    # 随机
    2128    Random = 2

An enumeration.

OneWay = <FerryBehavior.OneWay: 0>
Cycle = <FerryBehavior.Cycle: 1>
Random = <FerryBehavior.Random: 2>
class EActiveUnitStatus(enum.Enum): View Source

    2131class EActiveUnitStatus(Enum):
    2132    Unassigned = 0  # 未分配任务或指令
    2133    OnPlottedCourse = 1  # 正在标定的航线上
    2134    EngagedOffensive = 2  # 正在进攻，已发射的武器状态或正打击目标（对发出武器制导）时状态，或对目标有合适打击武器时
    2135    EngagedDefensive = 3  # 正在防御，受到目标威胁后状态
    2136    OnAttackRun = 4  # 正在攻击  （当前推演未使用）
    2137    OnPatrol = 5  # 正在巡逻任务
    2138    RTB = 6  # 返回基地
    2139    Tasked = 7  # 已分配任务--- 分配了巡逻、打击、支援、转场、布雷和扫雷等任务，但还没有执行（未起飞等情况）；
    2140    FormingUp = 8  # 编队
    2141    RTB_Manual = 10  # 手工选择返回基地
    2142    OnSupportMission = 11  # 正在支援任务
    2143    OnFerryMission = 12  # 正在转场任务
    2144    HeadingToRefuelPoint = 13  # 前往加油点
    2145    Refuelling = 14  # 加油中
    2146    RTB_MissionOver = 15  # 任务结束返回基地
    2147    GroupLead_SlowingToAllowFormUp = 16  # 减速以允许编队
    2148    RTB_Group = 19  # 编队返回基地
    2149    RTB_CalledOff = 20  # 取消返回基地
    2150    WaitForPathfinder = 21  # 等待寻路（设置航线后，正计算航路）
    2151    AttemptingToReestablishComms = 22  # 尝试建立通信（潜艇断开通信，重新发起通信连接后）

An enumeration.

Unassigned = <EActiveUnitStatus.Unassigned: 0>
OnPlottedCourse = <EActiveUnitStatus.OnPlottedCourse: 1>
EngagedOffensive = <EActiveUnitStatus.EngagedOffensive: 2>
EngagedDefensive = <EActiveUnitStatus.EngagedDefensive: 3>
OnAttackRun = <EActiveUnitStatus.OnAttackRun: 4>
OnPatrol = <EActiveUnitStatus.OnPatrol: 5>
RTB = <EActiveUnitStatus.RTB: 6>
Tasked = <EActiveUnitStatus.Tasked: 7>
FormingUp = <EActiveUnitStatus.FormingUp: 8>
RTB_Manual = <EActiveUnitStatus.RTB_Manual: 10>
OnSupportMission = <EActiveUnitStatus.OnSupportMission: 11>
OnFerryMission = <EActiveUnitStatus.OnFerryMission: 12>
HeadingToRefuelPoint = <EActiveUnitStatus.HeadingToRefuelPoint: 13>
Refuelling = <EActiveUnitStatus.Refuelling: 14>
RTB_MissionOver = <EActiveUnitStatus.RTB_MissionOver: 15>
GroupLead_SlowingToAllowFormUp = <EActiveUnitStatus.GroupLead_SlowingToAllowFormUp: 16>
RTB_Group = <EActiveUnitStatus.RTB_Group: 19>
RTB_CalledOff = <EActiveUnitStatus.RTB_CalledOff: 20>
WaitForPathfinder = <EActiveUnitStatus.WaitForPathfinder: 21>
AttemptingToReestablishComms = <EActiveUnitStatus.AttemptingToReestablishComms: 22>
class AltitudeLevel(enum.Enum): View Source

    2309class AltitudeLevel(Enum):
    2310    """
    2311    飞行高度层枚举，value 为字符串，用于与 API 交互。
    2312    """
    2313    MIN = 'MIN'  # 尽可能低
    2314    LOW1000 = 'LOW1000'  # 低空305米（约1000英尺）
    2315    LOW2000 = 'LOW2000'  # 低空610米（约2000英尺）
    2316    MEDIUM12000 = 'MEDIUM12000'  # 中高3658米（约12000英尺）
    2317    HIGH25000 = 'HIGH25000'  # 高空7620米（约25000英尺）
    2318    HIGH36000 = 'HIGH36000'  # 高空10973米（约36000英尺）
    2319    MAX = 'MAX'  # 尽可能高

飞行高度层枚举，value 为字符串，用于与 API 交互。

MIN = <AltitudeLevel.MIN: 'MIN'>
LOW1000 = <AltitudeLevel.LOW1000: 'LOW1000'>
LOW2000 = <AltitudeLevel.LOW2000: 'LOW2000'>
MEDIUM12000 = <AltitudeLevel.MEDIUM12000: 'MEDIUM12000'>
HIGH25000 = <AltitudeLevel.HIGH25000: 'HIGH25000'>
HIGH36000 = <AltitudeLevel.HIGH36000: 'HIGH36000'>
MAX = <AltitudeLevel.MAX: 'MAX'>
class Reply: View Source

    2323class Reply(object):
    2324    def __init__(self):
    2325        self.message = ""  # 返回结果，"OK"代表指令执行未报异常
    2326        """
    2327        resbin: 指令执行相关信息，例如单元设置速度、航向等，返回单元信息，
    2328                任务设置返回任务信息，条令设置返回条令信息，需utf-8解码为str类型:
    2329                self.resbin.decode("utf-8")
    2330        """
    2331        self.resbin = b""  # 指令执行相关信息, utf-8编码二进制数据

message

resbin: 指令执行相关信息，例如单元设置速度、航向等，返回单元信息， 任务设置返回任务信息，条令设置返回条令信息，需utf-8解码为str类型: self.resbin.decode("utf-8")

resbin