Преглед на файлове

完善液位高度和宽度

hfxc226 преди 2 години
родител
ревизия
1b2bfe6d7b

+ 8 - 0
platform-dao/src/main/java/com/platform/dao/dto/remote/RemoteOpcDTO.java

@@ -88,6 +88,14 @@ public class RemoteOpcDTO extends BaseDTO implements Serializable {
      * x轴位置图片
      */
     private BigDecimal imgYPosition;
+    /**
+     * 图片位置宽度
+     */
+    private BigDecimal imgWidth;
+    /**
+     * 图片位置高度
+     */
+    private BigDecimal imgHeight;
     /**
      * 位置宽度
      */

+ 8 - 0
platform-dao/src/main/java/com/platform/dao/entity/remote/RemoteOpc.java

@@ -85,6 +85,14 @@ public class RemoteOpc implements Serializable {
      * x轴位置图片
      */
     private BigDecimal imgYPosition;
+    /**
+     * 图片位置宽度
+     */
+    private BigDecimal imgWidth;
+    /**
+     * 图片位置高度
+     */
+    private BigDecimal imgHeight;
     /**
      * 位置宽度
      */

+ 8 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/remote/RemoteOpcVO.java

@@ -83,6 +83,14 @@ public class RemoteOpcVO extends BaseVO implements Serializable {
      * x轴位置图片
      */
     private BigDecimal imgYPosition;
+    /**
+     * 图片位置宽度
+     */
+    private BigDecimal imgWidth;
+    /**
+     * 图片位置高度
+     */
+    private BigDecimal imgHeight;
     /**
      * 位置宽度
      */

+ 4 - 0
platform-dao/src/main/resources/mapper/remote/RemoteOpcMapper.xml

@@ -29,6 +29,8 @@
                                      opc.y_position,
                                      opc.img_x_position,
                                      opc.img_y_position,
+                                     opc.img_width,
+                                     opc.img_height,
                                      opc.width,
                                      opc.height,
                                      opc.ratio,
@@ -64,6 +66,8 @@
                                      opc.y_position,
                                      opc.img_x_position,
                                      opc.img_y_position,
+                                     opc.img_width,
+                                     opc.img_height,
                                      opc.width,
                                      opc.height,
                                      opc.ratio,