Example #1
0
        public SerialCollector(string port)
        {
            serialPort               = new SerialPort(port, Constants.DefaultBaudRate, Parity.None, 8, StopBits.One);
            serialPort.Handshake     = Handshake.None;
            serialPort.DataReceived += new SerialDataReceivedEventHandler(OnIncomingData);
            Stopped = true;

            irDataPointQueue = new FixedSizeConcurrentQueue <IRDataPoint>(Constants.DefaultDataPointQueueSize);
        }
        public InMemoryInternalData(ServerStatisticsType type)
        {
            Type = type;

            _monitoringData = new FixedSizeConcurrentQueue<InMemoryTimeValue>(86400 /* one day */);
        }
Example #3
0
        public InMemoryInternalData(ServerStatisticsType type)
        {
            Type = type;

            _monitoringData = new FixedSizeConcurrentQueue <InMemoryTimeValue>(86400 /* one day */);
        }