| | |
| | | package com.ard.sample.manage.model.receiver; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import com.fasterxml.jackson.databind.PropertyNamingStrategy; |
| | | import com.fasterxml.jackson.databind.annotation.JsonNaming; |
| | | import lombok.Data; |
| | |
| | | @JsonIgnoreProperties(ignoreUnknown = true) |
| | | @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) |
| | | public class OsdSubDeviceReceiver { |
| | | |
| | | // zwy 2025-10-14 修改增加注解对应json字段 |
| | | @JsonProperty("attitude_head") |
| | | private Float attitudeHead; |
| | | |
| | | @JsonProperty("attitude_pitch") |
| | | private Double attitudePitch; |
| | | |
| | | @JsonProperty("attitude_roll") |
| | | private Double attitudeRoll; |
| | | |
| | | @JsonProperty("elevation") |
| | | private Double elevation; |
| | | |
| | | @JsonProperty("battery") |
| | | private BatteryReceiver battery; |
| | | |
| | | @JsonProperty("firmware_version") |
| | | private String firmwareVersion; |
| | | |
| | | @JsonProperty("gear") |
| | | private Integer gear; |
| | | |
| | | @JsonProperty("height") |
| | | private Double height; |
| | | |
| | | @JsonProperty("home_distance") |
| | | private Double homeDistance; |
| | | |
| | | @JsonProperty("horizontal_speed") |
| | | private Float horizontalSpeed; |
| | | |
| | | @JsonProperty("latitude") |
| | | private Double latitude; |
| | | |
| | | @JsonProperty("longitude") |
| | | private Double longitude; |
| | | |
| | | @JsonProperty("mode_code") |
| | | private Integer modeCode; |
| | | |
| | | @JsonProperty("total_flight_distance") |
| | | private Double totalFlightDistance; |
| | | |
| | | @JsonProperty("total_flight_time") |
| | | private Double totalFlightTime; |
| | | |
| | | @JsonProperty("vertical_speed") |
| | | private Float verticalSpeed; |
| | | |
| | | @JsonProperty("wind_direction") |
| | | private Double windDirection; |
| | | |
| | | @JsonProperty("wind_speed") |
| | | private Float windSpeed; |
| | | |
| | | /** |
| | | * 搜星状态 struct |
| | | * */ |
| | | @JsonProperty("position_state") |
| | | private PositionStateReceiver positionState; |
| | | |
| | | @JsonProperty("payloads") |
| | | private List<OsdPayloadReceiver> payloads; |
| | | |
| | | @JsonProperty("storage") |
| | | private StorageReceiver storage; |
| | | |
| | | @JsonProperty("night_lights_state") |
| | | private Integer nightLightsState; |
| | | |
| | | @JsonProperty("height_limit") |
| | | private Integer heightLimit; |
| | | |
| | | @JsonProperty("distance_limit_status") |
| | | private DistanceLimitStatusReceiver distanceLimitStatus; |
| | | |
| | | @JsonProperty("obstacle_avoidance") |
| | | private ObstacleAvoidanceReceiver obstacleAvoidance; |
| | | |
| | | } |