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 */); }
public InMemoryInternalData(ServerStatisticsType type) { Type = type; _monitoringData = new FixedSizeConcurrentQueue <InMemoryTimeValue>(86400 /* one day */); }