| | |
| | | package com.ard.sample.manage.model.receiver; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Data |
| | | public class NetworkStateReceiver { |
| | | |
| | | //zwy 2025-10-14 修改增加注解对应json字段 |
| | | /** |
| | | * 网络类型 enum_int {"1":"4G","2":"以太网"} |
| | | * */ |
| | | @JsonProperty("type") |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 网络质量 enum_int |
| | | * "0":"无信号" |
| | | * "1":"差" |
| | | * "2":"较差" |
| | | * "3":"一般" |
| | | * "4":"较好" |
| | | * "5":"好" |
| | | * */ |
| | | @JsonProperty("quality") |
| | | private Integer quality; |
| | | |
| | | /** |
| | | * 网络速率 float {"unit_name":"千字节每秒 / KB/s"} |
| | | * */ |
| | | @JsonProperty("rate") |
| | | private Float rate; |
| | | } |