Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / vo / PumpFiveSecDataVo.java
package com.newfiber.api.pc.model.vo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 5秒钟刷新一次的泵机状态,电流、电压、前池液位、状态、模式
 * @description: TODO
 * @author: 张鸿志
 * @date: 2020/12/24 13:25
 * @version: v1.0
 */
@Data
@ApiModel("模拟自控实时数据返回的视图类")
public class PumpFiveSecDataVo implements Serializable {
    @ApiModelProperty("泵机编号")
    private String pumpNo;
    @ApiModelProperty("泵机名称")
    private String pumpName;
    @ApiModelProperty("电流")
    private BigDecimal electric;
    @ApiModelProperty("电压")
    private BigDecimal voltage;
    @ApiModelProperty("泵机状态,1为开启,0为关闭")
    private Integer state;
    @ApiModelProperty("模式:1为手动,0为自动")
    private Integer model;
    @ApiModelProperty("检测时间")
    private Date monitoringTime;
}