001package jmri.jmrix.marklin; 002 003import jmri.implementation.AbstractSensor; 004 005/** 006 * Implement a Sensor via Marklin communications. 007 * <p> 008 * This object doesn't listen to the Marklin communications. This is because the 009 * sensor manager will handle all the messages as some sensor updates will come 010 * bundled together in one message. It also saves having multiple sensor beans 011 * each having to decoder the same message which would be better off being done 012 * in one location. 013 * 014 * @author Kevin Dickerson (C) 2009 015 */ 016public class MarklinSensor extends AbstractSensor { 017 018 public MarklinSensor(String systemName, String userName) { 019 super(systemName, userName); 020 init(systemName); 021 } 022 023 public MarklinSensor(String systemName) { 024 super(systemName); 025 init(systemName); 026 } 027 028 private void init(String id) { 029 } 030 031 @Override 032 public void requestUpdateFromLayout() { 033 } 034 035}