Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        SPO2Reader reader = new SPO2Reader(portName, maxQueueSize);

        processor = new SPO2Processor(reader);
        processor.Start();
    }
Esempio n. 2
0
    public void Reconnect(string portName)
    {
        this.portName = portName;
        processor.StopAndJoin();
        SPO2Reader reader = new SPO2Reader(portName, maxQueueSize);

        processor = new SPO2Processor(reader);
        processor.Start();
    }