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
@Schema(description = "设定电文")
public class PdiSetup extends OpcMessage{
    @Schema(description = "钢卷号")
    private String coilId;

    @Schema(description = "开卷机号")
    private Integer PORFlag;

    @Schema(description = "数据有效修改")
    private Integer counter;

    @Schema(description = "入口钢卷厚度")
    private BigDecimal entryCoilWeight;

    @Schema(description = "入口钢卷长度")
    private BigDecimal entryCoilLength;
    @Schema(description = "入口钢卷宽度")
    private BigDecimal entryCoilWidth;
    @Schema(description = "入口钢卷厚度")
    private BigDecimal entryCoilThick;
    @Schema(description = "入口钢卷内径")
    private BigDecimal entryCoilInnerDia;
    @Schema(description = "入口钢卷外径")
    private BigDecimal entryCoilOuterDia;
    @Schema(description = "合金代码")
    private String alloyCode;
    @Schema(description = "钢种")
    private String steelGrade;

    @Schema(description = "分切数")
    private Integer splitNum;
    @Schema(description = "出口长度1")
    private BigDecimal  exitLength1;
    @Schema(description = "出口长度2")
    private BigDecimal  exitLength2;
    @Schema(description = "出口长度3")
    private BigDecimal  exitLength3;
    @Schema(description = "出口长度4")
    private BigDecimal  exitLength4;
    @Schema(description = "出口长度5")
    private BigDecimal  exitLength5;
    @Schema(description = "出口长度6")
    private BigDecimal  exitLength6;

    @Schema(description = "开卷机张力")
    private BigDecimal  tensionPorBR1;
    @Schema(description = "BR1- BR2 张力")
    private BigDecimal  tensionBR1BR2;
    @Schema(description = "BR2- BR3 张力")
    private BigDecimal  tensionBR2BR3;
    @Schema(description = "BR3 张力")
    private BigDecimal  tensionBR3;
    @Schema(description = "炉区张力1")
    private BigDecimal  tensionFur1;
    @Schema(description = "炉区张力2")
    private BigDecimal  tensionFur2;
    @Schema(description = "BR4- BR5 张力")
    private BigDecimal  tensionBR4BR5;
    @Schema(description = "目标锌层重量-上表面")
    private BigDecimal  aimCoatingWeightTop;
    @Schema(description = "目标锌层重量-下表面")
    private BigDecimal  aimCoatingWeightBottom;

    @Schema(description = "光整投入")
    private Integer  TMFlag;
    @Schema(description = "光整类型")
    private Integer  TMType;
    @Schema(description = "轧制模式")
    private Integer  TMMode;
    @Schema(description = "BR5- BR6 张力")
    private BigDecimal  tensionBR5BR6;
    @Schema(description = "BR5- TM 张力")
    private BigDecimal  tensionBR5TM;
    @Schema(description = "TM-BR6 张力")
    private BigDecimal  tensionTMBR6;
    @Schema(description = "延伸率")
    private BigDecimal  TMElongation;
    @Schema(description = "轧制力")
    private BigDecimal  TMRollforce;
    @Schema(description = "弯辊力")
    private BigDecimal  TMBendforce;
    @Schema(description = "防邹辊插入量")
    private BigDecimal  ACRMesh;
    @Schema(description = "张力辊插入量")
    private BigDecimal  BRMesh;

    @Schema(description = "拉矫投入")
    private Integer  TLFlag;
    @Schema(description = "拉矫延伸率")
    private Integer  TLElongation;
    @Schema(description = "BR6- BR7 张力")
    private BigDecimal  tensionBR6BR7;
    @Schema(description = "TL- BR7 张力")
    private BigDecimal  tensionTLBR7;
    @Schema(description = "拉矫插入量1")
    private BigDecimal  LevelingMesh1;
    @Schema(description = "拉矫插入量2")
    private BigDecimal  LevelingMesh2;
    @Schema(description = "弯曲辊插入量")
    private BigDecimal  AntiCrossBowUnitMesh;

    @Schema(description = "BR7- BR8 张力")
    private BigDecimal  tensionBR7BR8;
    @Schema(description = "铬化投入")
    private Integer  chromatingFlag;
    @Schema(description = "铬化代码")
    private Integer  chromatingCode;

    @Schema(description = "BR8- BR9 张力")
    private BigDecimal  tensionBR8BR9;
    @Schema(description = "BR9-TR 张力")
    private BigDecimal  tensionBR9TR;

    @Schema(description = "涂油投入")
    private Integer  oilingFlag;
    @Schema(description = "上表面涂油量")
    private BigDecimal  oilingAmountTop;
    @Schema(description = "下表面涂油量")
    private BigDecimal  oilingAmountBottom;
}
