package com.fizz.business.domain.msg;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "出口段/工艺段测量电文")
public class AppMeasureExitMessage extends OpcMessage {

    @Schema(description = "系统计数器 (ms)")
    private Integer systemCounter;

    @Schema(description = "钢带位置 (m)，0 表示头部在参考点 (weld detector 3)")
    private BigDecimal stripLocation;

    @Schema(description = "钢带张力 BR8 – BR9 (daN)")
    private BigDecimal tensionBr8Br9;

    @Schema(description = "出口活套位置(m)")
    private BigDecimal cxlLength;

    @Schema(description = "出口活套百分比(m)")
    private BigDecimal cxlCapacity;

    @Schema(description = "出口活套张力(m)")
    private BigDecimal tensionCxl ;

    @Schema(description = "涂油标志 (0=no, 1=yes)")
    private Integer oilingFlag;

    @Schema(description = "上层涂油量 (g/m²)")
    private BigDecimal oilingAmountTop;

    @Schema(description = "下层涂油量 (g/m²)")
    private BigDecimal oilingAmountBottom;

    @Schema(description = "钢带张力 BR9 – TR (daN)")
    private BigDecimal tensionBr9Tr;

    @Schema(description = "出口段钢带速度 (m/min)")
    private BigDecimal speedExitSection;

    @Schema(description = "钢卷长度 (m)")
    private BigDecimal coilLength;
}

