package com.ruoyi.device.mqtt.domain.decoder;

import com.ruoyi.device.mqtt.domain.BaseJsonBody;
import com.ruoyi.device.mqtt.domain.decoder.opw.OpwTankRow;

import java.util.List;

/**
 * 液位仪查询页上行数据
 *
 * @author lwm
 */
public class OpwQueryDataUp extends BaseJsonBody
{
    /** 总罐数 */
    private Integer totalTankCount;

    /** 执行结果 */
    private String queryResult;

    /** 原始日志 HEX 文本 */
    private String rawLog;

    /** 罐表数据 */
    private List<OpwTankRow> tankList;

    /** 按钮操作（A口/B口/485查询、查看原始日志等） */
    private String buttonType;

    public OpwQueryDataUp()
    {
        super();
    }

    public Integer getTotalTankCount()
    {
        return totalTankCount;
    }

    public void setTotalTankCount(Integer totalTankCount)
    {
        this.totalTankCount = totalTankCount;
    }

    public String getQueryResult()
    {
        return queryResult;
    }

    public void setQueryResult(String queryResult)
    {
        this.queryResult = queryResult;
    }

    public String getRawLog()
    {
        return rawLog;
    }

    public void setRawLog(String rawLog)
    {
        this.rawLog = rawLog;
    }

    public List<OpwTankRow> getTankList()
    {
        return tankList;
    }

    public void setTankList(List<OpwTankRow> tankList)
    {
        this.tankList = tankList;
    }

    public String getButtonType()
    {
        return buttonType;
    }

    public void setButtonType(String buttonType)
    {
        this.buttonType = buttonType;
    }
}
