All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.gratour.jt808core.protocol.msg.JT808Msg_0805_TakePhotoAck Maven / Gradle / Ivy

Go to download

`jt-core` is a java/scala communication processing library for JT808/JT809/JT1078 standard.

The newest version!
/*******************************************************************************
 *  Copyright (c) 2019, 2020 lucendar.com.
 *  All rights reserved.
 *
 *  Contributors:
 *     KwanKin Yau ([email protected]) - initial API and implementation
 *******************************************************************************/
package info.gratour.jt808core.protocol.msg;

import info.gratour.jt808core.protocol.JT808FrameHeader;
import info.gratour.jt808core.protocol.JT808Msg;
import info.gratour.jt808core.protocol.JT808MsgConsts;
import info.gratour.jt808core.protocol.msg.types.ackparams.JT808AckParams_0805_TakePhotoAck;
import info.gratour.jtcommon.JTMsgId;

import java.util.Arrays;

@JTMsgId(JT808MsgConsts.TAKE_PHOTO_ACK_0805)
public class JT808Msg_0805_TakePhotoAck extends JT808Msg {

    public static final int MSG_ID = JT808MsgConsts.TAKE_PHOTO_ACK_0805;

    public JT808Msg_0805_TakePhotoAck() {
        setMsgId(MSG_ID);
    }

    public JT808Msg_0805_TakePhotoAck(JT808FrameHeader header) {
        super(header);
    }

    private int ackSeqNo;
    private JT808AckParams_0805_TakePhotoAck ackParams;

    public int getAckSeqNo() {
        return ackSeqNo;
    }

    public void setAckSeqNo(int ackSeqNo) {
        this.ackSeqNo = ackSeqNo;
    }

    public JT808AckParams_0805_TakePhotoAck getAckParams() {
        return ackParams;
    }

    public void setAckParams(JT808AckParams_0805_TakePhotoAck ackParams) {
        this.ackParams = ackParams;
    }

    @Override
    public String toString() {
        return "JT808Msg_0805_TakePhotoAck{" +
                "ackSeqNo=" + ackSeqNo +
                ", ackParams=" + ackParams +
                "} " + super.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy