package com.fizz.business.domain.msg;


import com.fizz.business.constants.enums.ExitCutTypeEnum;
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 ExitCutMessage extends OpcMessage {

    @Schema(description = "计数器")
    private Integer counter;

    @Schema(description = "剪切类型：0=split, 1=weldSeam, 2=stripBreak")
    private ExitCutTypeEnum cutType;

    @Schema(description = "剪切时卷取长度 (m)")
    private BigDecimal cutLength;

    @Schema(description = "计算卷取外径 (mm)")
    private BigDecimal outerDiameter;

    @Schema(description = "下一个焊缝到飞剪的距离 (m)")
    private BigDecimal leftLength;

    @Schema(description = "breakPosition，含义待定")
    private BigDecimal breakPosition;
}
