pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/AnnotationCodeDown.java
@@ -11,7 +11,7 @@ public @interface AnnotationCodeDown { /** * 协议名称,各个协议名称不能有重复现象 * 功能码 */ String value() default ProtocolConstant.anyCode ;//参数为空时,表示是除明确注解的功能码外的协议其他功能码 String[] ifAny() default{} ; pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/AnnotationCodeUp.java
@@ -10,7 +10,7 @@ @Retention(RetentionPolicy.RUNTIME) public @interface AnnotationCodeUp { /** * 得到对应的功能码 * 功能码 */ String value() default ProtocolConstant.anyCode ;//参数为空时,表示是除明确注解的功能码外的协议其他功能码 String[] ifAny() default{} ; pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/UpComResVo.java
@@ -6,6 +6,6 @@ * @Description RTU上行命令应答数据接口定义 */ public interface UpComResVo extends UpDataVo { public String comLog() ; public String comLog(String code) ; String comLog() ; String comLog(String code) ; } pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/UpDataVo.java
@@ -6,5 +6,5 @@ * @Description RTU上行数据接口定义 */ public interface UpDataVo { public String toString() ; String toString() ; } pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voUg/VoRtuTask.java
@@ -36,7 +36,7 @@ * 创建人 */ @Schema(description = "创建人", requiredMode = Schema.RequiredMode.REQUIRED) @Length(message = "备注不大于{max}字,不小于{min}字", min = 1, max = 50) @Length(message = "创建人不大于{max}字,不小于{min}字", min = 1, max = 50) public String creator; /** * 备注 pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/files/FileCtrl.java
@@ -3,6 +3,7 @@ import com.dy.common.util.NumUtil; import com.dy.pipIrrWebFile.util.*; import lombok.extern.slf4j.Slf4j; import org.jcodec.scale.AWTUtil; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; @@ -159,6 +160,8 @@ }else { //存储成功, 生成缩略图 BufferedImage bufImg = new VideoUtils(VideoZipPicFileType, VideoZipPicFromFrame).fetchFrame(file) ; // 向右旋转90度 // bufImg = AWTUtil.rotate90ToRight(bufImg) ; String zipFilePath = filePath.substring(0, filePath.lastIndexOf(".")) + "_." + VideoZipPicFileType ; Integer photoZipWidth = 400 ; if(photoZipWidthStr != null && NumUtil.isPlusIntNumber(photoZipWidthStr)){