package com.huashe.park.domain.dto.cons;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huashe.common.annotation.Excel;
import com.huashe.park.domain.entity.ConsPileHoleInfo;
import com.huashe.park.domain.entity.PileMachineInfo;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class PileRealtimeIndex extends ConsPileHoleInfo {
    private String machineByteKey;

    private Long machineId;

    private Double tiltAngle;

    private Double forwardTiltAngle;

    /** 桩机实际深度 */
    @Excel(name = "桩机实际深度")
    private Double depth;

    /** 电机电流 */
    @Excel(name = "电机电流")
    private Double current;

    /** 垂直偏差 */
    @Excel(name = "垂直偏差")
    private Double verticalDeviation;

    /** 灌浆体积（m³）ups200送带量 */
    @Excel(name = "回带量", readConverterExp = "m=³")
    private Double sprayVolume;

    @Excel(name = "送带量", readConverterExp = "m=³")
    private Double sendSprayVolume;

    /** 喷浆压力 ups200 压力值 */
    @Excel(name = "喷浆压力 ups200 压力值")
    private Double sprayPressure;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date indexStartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date indexEndTime;

    /** 桩点状态 */
    @Excel(name = "桩点状态")
    private String status;

    private Double realX;

    private Double realY;

    private Double realLat;

    private Double realLng;

    private PileMachineInfo pileMachineInfo;
}
