| New file | 
|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrBase.rtuUpgrade.task; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.dy.common.webUtil.QueryConditionVo; | 
|---|
|  |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
|---|
|  |  |  | import lombok.*; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @Author: liurunyu | 
|---|
|  |  |  | * @Date: 2024/11/13 16:36 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @EqualsAndHashCode(callSuper = false) | 
|---|
|  |  |  | @ToString(callSuper = true) | 
|---|
|  |  |  | @NoArgsConstructor | 
|---|
|  |  |  | @AllArgsConstructor | 
|---|
|  |  |  | @Builder | 
|---|
|  |  |  | @Schema(name = "查询升级任务RTU升级结果的条件") | 
|---|
|  |  |  | public class QueryUgResultVo extends QueryConditionVo { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "升级任务id") | 
|---|
|  |  |  | public Long taskId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "取水口编号") | 
|---|
|  |  |  | public String intakeNum; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "控制器地址") | 
|---|
|  |  |  | public String rtuAddr; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "升级结果:1升级成功,0升级失败") | 
|---|
|  |  |  | public Integer state; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "失败类型:3一包死失败,4多包死失败,5离线失败") | 
|---|
|  |  |  | public Integer fail; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|