package com.djhk.uav.uav.model.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @description 无人机姿态vo
 * @author jiachengshuai
 * @date 2022/10/11 11:08:12
 * @version 1.0
 */
@Data
public class UavPoseVo implements Serializable
{
    private static final long serialVersionUID = 1L;

   /* {
        "GPSNum": 5,
            "GPSTime": "2022-09-28 09:10:44",
            "GS": 0.0,
            "Pan": "-84.2",
            "Power": "0.6",
            "TAS": 0.0,
            "Tilt": "3.4",
            "UAVNum": "3N3BHCT0120149",
            "UAVTime": "2022-09-28 09:10:44",
            "height": 0.0,
            "lat": 0.0,
            "lng": 0.0
    }*/

    @JsonProperty("GPSNum")
    private Long GPSNum;

//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("GPSTime")
    private String GPSTime;

    @JsonProperty("GS")
    private String GS;

    @JsonProperty("Pan")
    private String Pan;

    @JsonProperty("Power")
    private String Power;

    @JsonProperty("TAS")
    private String Tas;

    @JsonProperty("Tilt")
    private String Tilt;

    @JsonProperty("UAVNum")
    private String UAVNum;

//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("UAVTime")
    private String UAVTime;

    /** 经度 */
    private String lng;

    /** 维度 */
    private String lat;

    /** 高度 */
    private String height;

    /** 海拔高度 */
    @JsonProperty("ASL")
    private String ASL;

    private String Roll;

    private String velocityX;   // 南北方向的速度，向北为正，向南为负

    private String velocityY;  // 东西方向的速度，向东为正，向西为负

    private String velocityZ;  // 垂直的速度，向上为正，向下为负

    private String flightPlanNo;



}
