package com.cmvr.test.model.vo.inspection;

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

import java.util.List;

/** 仪表读数识别工作流节点参数。 */
@Data
@ApiModel(value = "InspectionMeterRecognizeConfigVO",
        description = "INSPECTION_METER_RECOGNIZE节点参数")
public class InspectionMeterRecognizeConfigVO
{
    @ApiModelProperty(value = "前置拍照节点输出的MinIO图片地址", required = true,
            example = "http://127.0.0.1:9000/cmvr/inspection/pressure.jpg")
    private String imageUrl;

    @ApiModelProperty(value = "仪表或检查项名称，默认仪表读数", example = "1号压力表")
    private String resultName;

    @ApiModelProperty(value = "仪表单位", example = "MPa")
    private String unit;

    @ApiModelProperty("多级告警规则；为空时只识别和保存，不产生读数告警")
    private List<InspectionAlarmRuleVO> alarmRules;
}
