| | |
| | | import com.ard.tianyu.netty.command.register.HeartbeatReplyCmd; |
| | | import com.ard.tianyu.netty.command.register.RegisterReplyCmd; |
| | | import com.ard.tianyu.netty.command.register.UavInitReplyCmd; |
| | | import com.ard.tianyu.netty.command.wayline.WayLineUploadReplyCmd; |
| | | import com.ard.tianyu.netty.command.wayline.*; |
| | | import com.ard.tianyu.netty.protobuf.TelemetryDataPB; |
| | | import com.google.protobuf.InvalidProtocolBufferException; |
| | | import io.netty.buffer.ByteBuf; |
| | |
| | | return new LandReplyCmd(boxSn, result, errorCode); |
| | | case 0x15: |
| | | return new LandCancelReplyCmd(boxSn, result, errorCode); |
| | | case 0x17: |
| | | return new WayLineBeginReplyCmd(boxSn, result, errorCode); |
| | | case 0x18: |
| | | return new WayLinePauseReplyCmd(boxSn, result, errorCode); |
| | | case 0x19: |
| | | return new WayLineResumeReplyCmd(boxSn, result, errorCode); |
| | | case 0x20: |
| | | return new WayLineEndReplyCmd(boxSn, result, errorCode); |
| | | case 0x29: |
| | | return new LandForcedReplyCmd(boxSn, result, errorCode); |
| | | case 0x32: |