Esempio n. 1
0
        public RoadLinkManager(CommandProcessor commandprocessor,
                               IFormatter formatter,
                               int baudrate,
                               int interval)
            : base(commandprocessor, formatter)

        {
            baudRate = baudrate;
            discoverInterval = interval;
        }
Esempio n. 2
0
        public Channel(CommandProcessor commandprocessor, IFormatter formatter)
        {
            if (commandprocessor == null ||
                formatter == null)
            {
                throw new ArgumentNullException();
            }

            CommandProcessor = commandprocessor;
            Formatter = formatter;
            links = new List<Link>();
        }