| | |
| | | import lombok.Data; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * Created by vincent on 2024/6/21 |
| | | */ |
| | |
| | | * */ |
| | | public Integer rightDoorClose; |
| | | |
| | | public Integer jarTemperature; |
| | | public Float jarTemperature; |
| | | public Float jarPressure; |
| | | public boolean holdingSign = false; |
| | | public boolean openDoorSign = false; |
| | | public boolean closeDoorSign = false; |
| | | public Short upStatus = 0; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | basJar.setRightInEnable(rightInEnable?"Y":"N"); |
| | | basJar.setRightOutEnable(rightOutEnable?"Y":"N"); |
| | | basJar.setAutoing(autoing?"Y":"N"); |
| | | basJar.setJarTemperature(jarTemperature); |
| | | basJar.setJarPressure(jarPressure); |
| | | basJar.setLeftDoorOpen(leftDoorOpen); |
| | | basJar.setLeftDoorClose(leftDoorClose); |
| | | basJar.setRightDoorOpen(rightDoorOpen); |
| | | basJar.setRightDoorClose(rightDoorClose); |
| | | if (holdingSign){ |
| | | basJar.setHoldingTime(new Date()); |
| | | holdingSign = false; |
| | | } |
| | | if (openDoorSign){ |
| | | basJar.setOpenTime(new Date()); |
| | | openDoorSign = false; |
| | | } |
| | | if (closeDoorSign){ |
| | | basJar.setCloseTime(new Date()); |
| | | closeDoorSign = false; |
| | | } |
| | | |
| | | return basJar; |
| | | } |