package com.njzscloud.common.localizer.mqtt.result;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

@Getter
@Setter
@ToString
@Accessors(chain = true)
public class RealtimeLocationResult {
    private String terminalId;
    private int type;

    /**
     * 1 1：超速报警 标志维持至报警条件解除
     * 7 1：终端主电源欠压 标志维持至报警条件解除
     * 8 1:声控录音报警
     */
    private long alarmFlag;
    /**
     * 0  0：ACC 关 1：ACC 开
     * 1 0：未定位 1：定位
     * 2  0：北纬 1：南纬
     * 3 0：东经 1：西经
     */
    private long status;
    private double longitude;
    private double latitude;
    private int altitude;
    private double speed;
    private int direction;
    private String time;
    private boolean overspeed;
    private boolean powerUnderVoltage;
    private boolean soundAlarm;
    private boolean accOn;
    private boolean position;
    private boolean south;
    private boolean west;
}
