本文整理了Java中com.zsmartsystems.zigbee.dao.ZigBeeEndpointDao.<init>()
方法的一些代码示例,展示了ZigBeeEndpointDao.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZigBeeEndpointDao.<init>()
方法的具体详情如下:
包路径:com.zsmartsystems.zigbee.dao.ZigBeeEndpointDao
类名称:ZigBeeEndpointDao
方法名:<init>
暂无
代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee
/**
* Gets a {@link ZigBeeEndpointDao} used for serialisation of the {@link ZigBeeEndpoint}
*
* @return the {@link ZigBeeEndpointDao}
*/
public ZigBeeEndpointDao getDao() {
ZigBeeEndpointDao dao = new ZigBeeEndpointDao();
dao.setEndpointId(endpointId);
dao.setProfileId(profileId);
List<ZclClusterDao> clusters;
clusters = new ArrayList<ZclClusterDao>();
for (ZclCluster cluster : inputClusters.values()) {
clusters.add(cluster.getDao());
}
dao.setInputClusters(clusters);
clusters = new ArrayList<ZclClusterDao>();
for (ZclCluster cluster : outputClusters.values()) {
clusters.add(cluster.getDao());
}
dao.setOutputClusters(clusters);
return dao;
}
代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee
@Test
public void setDao() {
ZigBeeEndpoint endpoint = getEndpoint();
ZigBeeEndpointDao dao = new ZigBeeEndpointDao();
endpoint.setDao(dao);
}
内容来源于网络,如有侵权,请联系作者删除!