| | |
| | | package com.dji.sample.control.model.param; |
| | | |
| | | import com.dji.sample.manage.model.enums.DroneRcLostActionEnum; |
| | | import com.dji.sample.manage.model.enums.WaylineRcLostActionEnum; |
| | | import com.dji.sample.manage.model.enums.*; |
| | | import lombok.Data; |
| | | import org.hibernate.validator.constraints.Range; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.Min; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | /** |
| | |
| | | @Range(min = 1, max = 15) |
| | | @NotNull |
| | | private Double maxSpeed; |
| | | |
| | | private RthModeEnum rthMode; |
| | | |
| | | private CommanderModeLostActionEnum commanderModeLostAction; |
| | | |
| | | private CommanderFlightModeEnum commanderFlightMode; |
| | | |
| | | @Min(2) |
| | | @Max(3000) |
| | | private Float commanderFlightHeight; |
| | | |
| | | } |