| New file |
| | |
| | | package com.hdl.sdk.link.zigbee.bean; |
| | | |
| | | |
| | | /** |
| | | * Created by jlchen on 12/16/21. |
| | | */ |
| | | public class ZBBaseSendBean<T> { |
| | | private int Cluster_ID;//簇 id |
| | | private int Command;//操作码 |
| | | private T data;//数据 |
| | | |
| | | public ZBBaseSendBean(int cluster_ID, int command, T data) { |
| | | Cluster_ID = cluster_ID; |
| | | Command = command; |
| | | this.data = data; |
| | | } |
| | | |
| | | public int getCluster_ID() { |
| | | return Cluster_ID; |
| | | } |
| | | |
| | | public void setCluster_ID(int cluster_ID) { |
| | | Cluster_ID = cluster_ID; |
| | | } |
| | | |
| | | public int getCommand() { |
| | | return Command; |
| | | } |
| | | |
| | | public void setCommand(int command) { |
| | | Command = command; |
| | | } |
| | | |
| | | public T getData() { |
| | | return data; |
| | | } |
| | | |
| | | public void setData(T data) { |
| | | this.data = data; |
| | | } |
| | | |
| | | } |