From e36b74525f9c7400da2d3438c5e4164622da059a Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期三, 24 一月 2024 13:14:21 +0800 Subject: [PATCH] 封装初始化方法为工具类,方便调用, getPlcParameterValues getPlcBitValues 方法codeid 按照传入参数的顺序遍历 来获取值 --- springboot-vue3/src/main/java/com/example/springboot/entity/Out_slice.java | 73 ++++++++++++++++++++++++++++++++++++ 1 files changed, 73 insertions(+), 0 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/entity/Out_slice.java b/springboot-vue3/src/main/java/com/example/springboot/entity/Out_slice.java index 5ea7bb2..4fb2421 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/entity/Out_slice.java +++ b/springboot-vue3/src/main/java/com/example/springboot/entity/Out_slice.java @@ -1,4 +1,5 @@ package com.example.springboot.entity; + //鍑虹墖闃熷垪琛� public class Out_slice { private int id;//鑷id @@ -11,6 +12,14 @@ private String time;//淇敼鏃堕棿 private int sequence;//鍑虹墖椤哄簭 private String position;//鐜荤拑鎽嗘斁浣嶇疆 + private String orderId;//鐜荤拑id + private String listId;//闆嗗悎id + private String boxId;//绠卞瓙id + private double glasswidthmm;//鐜荤拑瀹絤m + private double glassheightmm;//鐜荤拑楂榤m + private int framestate;//閾濇鐘舵�� + private double framewidthmm; + private double frameheightmm; public String getPosition() { return position; @@ -124,4 +133,68 @@ public void setSequence(int sequence) { this.sequence = sequence; } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public Double getGlassWidthMm() { + return glasswidthmm; + } + + public void setGlassWidthMm(Double glasswidthmm) { + this.glasswidthmm = glasswidthmm; + } + + public Double getGlassHeightMm() { + return glassheightmm; + } + + public void setGlassHeightMm(Double glassheightmm) { + this.glassheightmm = glassheightmm; + } + public String getListId() { + return listId; + } + + public void setListno(String listId) { + this.listId = listId; + } + + public String getBoxId() { + return boxId; + } + + public void setBoxno(String boxId) { + this.boxId = boxId; + } + + public int getFrameState() { + return framestate; + } + + public void SetFrameState(int framestate) { + this.framestate = framestate; + } + + public double getFrameWidthMm() { + return framewidthmm; + } + + public void setFrameWidthMm(double framewidthmm) { + this.framewidthmm = framewidthmm; + } + + public double getFrameHeightMm() { + return frameheightmm; + } + + public void setFrameHeightMm(double frameheightmm) { + this.frameheightmm = frameheightmm; + } + } -- Gitblit v1.8.0