001package jmri.jmrix.can.cbus.swing.hubpane; 002 003/** 004 * @author Bob Jacobsen Copyright (C) 2009, 2010, 2012, 2022 005 * @author Steve Young Copyright (C) 2022 006 */ 007public class CbusHubPane extends jmri.jmrix.openlcb.swing.hub.HubPane { 008 009 public CbusHubPane(){ 010 super(5550, false); 011 zero_conf_addr = "_cbus-can._tcp.local."; 012 } 013 014 @Override 015 protected jmri.jmrix.can.adapters.gridconnect.GridConnectMessage getMessageFrom( jmri.jmrix.can.CanMessage m ) { 016 return new jmri.jmrix.can.adapters.gridconnect.canrs.MergMessage(m); 017 } 018 019 @Override 020 protected jmri.jmrix.can.adapters.gridconnect.GridConnectReply getBlankReply( ) { 021 return new jmri.jmrix.can.adapters.gridconnect.canrs.MergReply(); 022 } 023 024}