001package jmri.jmrix.loconet.duplexgroup; 002 003/** 004 * Constants related to Digitrax Duplex Groups and related GUI 005 * operations. 006 * 007 * @author B. Milhaupt Copyright 2010, 2011 008 */ 009public final class LnDplxGrpInfoImplConstants { 010 011 public static final int GENERAL_BYTE_MASK = 0xFF; 012 public static final int GENERAL_DECIMAL_RADIX = 10; 013 014 // helpers for defining and checking Duplex Group Information 015 public static final int DPLX_NAME_LEN = 8; 016 public static final int DPLX_PW_LEN = 4; 017 public static final int DPLX_MAX_GR_CHANNEL_LEN = 2; 018 public static final int DPLX_MAX_GR_ID_LEN = 3; 019 public static final int DPLX_MIN_ID = 0; 020 public static final int DPLX_MAX_ID = 127; 021 public static final int DPLX_MIN_CH = 11; 022 public static final int DPLX_MAX_CH = 26; 023 024 // helpers for performing LocoNet operations 025 public static final int IPL_QUERY_DELAY = 1300; // # milliseconds to wait for results from IPL query 026 public static final int DPLX_QUERY_DELAY = 300; // # milliseconds to wait for response to Duplex info query 027 public static final int DPLX_SCAN_DELAY = 200; // # milliseconds to wait for response to scan query 028 public static final int DPLX_SCAN_LOOP_COUNT = 25; 029}