Files
ECAP_Server/module/Local_Server/Aircraft/Flight_VTO.h
T
2026-07-24 18:09:37 +08:00

18 lines
724 B
C++

#pragma once
#include "global.h"
struct Flight_VTO {
std::string icao; // 飞机身份标识(四字节十六进制代码)
time_t time_stamp{}; // 时间(原始时间数据,可能需要翻译显示)
bool mlat;
RET<SSR::CPR::Position> pos; // 纬度(飞机的当前位置纬度)
RET<double> track; // 航迹(航迹方向,单位:度)
RET<double> speed; // 航速(单位:米/秒)
RET<double> vert_speed; // 航速(单位:米/秒)
RET<double> altitude; // 米
RET<std::string> call_sign;
RET<std::string> squawk;
Psc::JSON to_json();
static std::string time_to_string(time_t time_stamp);
static Flight_VTO to_VTO(SSR::Aircraft_Info* info);
};