package com.zksy.electricity.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 按table_number（表号）分组，汇总其对应的用电量、功率、电压等参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MessageParseVo {
    /**
     * 表号
     */
    private String tableNumber;
    /**
     * 总用电量
     */
    private BigDecimal totalElectricity;
    /**
     * A相平均电压
     */
    private BigDecimal avgAVoltage;
    private BigDecimal avgBVoltage;
    private BigDecimal avgCVoltage;
    /**
     * A相平均电流
     */
    private BigDecimal avgACurrent;
    private BigDecimal avgBCurrent;
    private BigDecimal avgCCurrent;
    /**
     * 平均总有功功率
     */
    private BigDecimal avgTotalActivePower;
}
