| 对比新文件 |
| | |
| | | package com.sandu.ximon.admin.localMQTT.model; |
| | | |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * @author van |
| | | * @version 1.0 |
| | | * msg锛氭湰鍦癿qtt娑堟伅缁撴瀯 |
| | | * @date 2022/11/9 13:55 |
| | | */ |
| | | @Data |
| | | public class LocalMqttMsg { |
| | | private String timestamp; |
| | | private String connectType; |
| | | private String msgType; |
| | | private String payload; |
| | | |
| | | public LocalMqttMsg(String timestamp, String connectType, String msgType, String payload) { |
| | | this.timestamp = timestamp; |
| | | this.connectType = connectType; |
| | | this.msgType = msgType; |
| | | this.payload = payload; |
| | | } |
| | | |
| | | public LocalMqttMsg() { |
| | | this.timestamp = String.valueOf(System.currentTimeMillis()); |
| | | this.connectType = "1"; |
| | | this.msgType = "1"; |
| | | this.payload = ""; |
| | | } |
| | | } |