| | |
| | | package com.ard.tianyu.netty.command.manual; |
| | | |
| | | import com.ard.tianyu.model.dto.manual.FlyPointControlDTO; |
| | | import com.ard.tianyu.domain.dto.manual.FlyPointControlDTO; |
| | | import com.ard.tianyu.netty.command.BaseCmd; |
| | | import io.netty.buffer.ByteBuf; |
| | | |
| | |
| | | |
| | | public FlyPointControlCmd(FlyPointControlDTO flyPointControlDTO) { |
| | | setDataHeader((short) 0x7479); |
| | | setDataLength((short) 36); |
| | | setDataLength((short) 43); |
| | | setBoxSn(flyPointControlDTO.getBoxSn().getBytes()); |
| | | setCmdCode((byte) 0xD1); |
| | | this.longitude = flyPointControlDTO.getLongitude(); |