com.zsmartsystems.zigbee.ZigBeeNode.getRoutes()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(129)

本文整理了Java中com.zsmartsystems.zigbee.ZigBeeNode.getRoutes()方法的一些代码示例,展示了ZigBeeNode.getRoutes()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZigBeeNode.getRoutes()方法的具体详情如下:
包路径:com.zsmartsystems.zigbee.ZigBeeNode
类名称:ZigBeeNode
方法名:getRoutes

ZigBeeNode.getRoutes介绍

[英]Get the list of routes as a RoutingTable
[中]将路由列表作为RoutingTable获取

代码示例

代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee

for (RoutingTable route : node.getRoutes()) {
  out.println(route.toString());

代码示例来源:origin: openhab/org.openhab.binding.zigbee

jsonBuilder.append('[');
first = true;
for (RoutingTable route : node.getRoutes()) {
  if (!first) {
    jsonBuilder.append(',');

代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee

if (!routes.equals(node.getRoutes())) {
  updated = true;
  routes.clear();
  routes.addAll(node.getRoutes());

代码示例来源:origin: openhab/org.openhab.binding.zigbee

jsonBuilder.append("[");
first = true;
for (RoutingTable route : node.getRoutes()) {
  if (!first) {
    jsonBuilder.append(",");

代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee

assertTrue(node.setRoutes(routes));
assertEquals(2, node.getRoutes().size());
assertEquals(0, node.getRoutes().size());

相关文章