liurunyu
2025-07-08 e3270141db2dd6c755e6a7b40930dcfa24585cb4
pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/mqtt/weather/WeatherDto.java
@@ -21,6 +21,12 @@
    public String id;
    /**
     * 气象站FBox序列号
     */
    @NotEmpty(message = "气象站FBox序列号") //不能为空也不能为null
    public String fboxId;
    /**
     * 气象站名称
     */
    @NotEmpty(message = "气象站名称不能为空") //不能为空也不能为null
@@ -49,6 +55,7 @@
    public PrStWeather toNewPo(){
        PrStWeather po = new PrStWeather();
        po.fboxId = this.fboxId;
        po.name = this.name;
        po.no = this.no;
        po.lng = this.lng;