package com.its.bis.api.dto;

import io.swagger.annotations.ApiModel;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

@Data
@Builder
@ApiModel("AgipObeGnss")
public class AgipObeGnss implements Serializable {
    private static final long serialVersionUID = 1L;

    private String deviceId;    // 기기의 아이디, "6D-45-C4-08-AA-B6"
    private Object deviceTime;  // 기기의 시간, timestamp, 1619505737630
    private String type;        // 위치정보의 타입 (nmea/navsol), "nmea"
    private String raw;         // 위치정보값, "$GPGGA,064217.63,3729.1261326,N,12653.6691112,E,1,00,1.0,19.203,M,0.000,M,0.0,*4C\r\n$GNRMC,064217.63,A,3729.1261326,N,12653.6691112,E,1.34,250.29,270421,0.0,E,A,V*5F\r\n$GNVTG,250.29,T,,M,1.339,N,2.480,K,D*2C\r\n$GNGST,064217.63,10,1.000,1.000,1.000,0.700,5.960,8.770*61\r"
    private Integer hertz;      // 전송주기, 0
    private Double latitude;    // 위도, 37.48543554333333
    private Double longitude;   // 경도, 126.89448518666667
    private Double height;      // 높이(m), 19.203
    private Double speed;       // 속도(km/h), 2.48
    private Double angle;       // 방위각, 250.29
    private Integer pdop;       // 0
    private String fixStatus;   // "NORMAL"
    private String baseStation; // 기준국, "UNKNOWN"
    private Double rmsX;        // 5.96
    private Double rmsY;        // 0.7
    private Double rmsZ;        // 8.77
    private Double ecefX;       // ECEF X좌표, -3042181.7143300786
    private Double ecefY;       // ECEF Y좌표, 4052617.9642652427
    private Double ecefZ;       // ECEF Z좌표, 3860293.232899369
    private Object satellites;  // 위성 정보, []

}
