/// <summary> /// Sets up serial port connection /// </summary> /// <returns>True if connection was successfully established</returns> public bool SetUpSerial() { SerialHandler = SerialFacade.GetInstance(); SerialHandler.SetVM(this); SerialHandler.IncomingData.CollectionChanged += SerialIncomingData_CollectionChanged; IsSerialWorking = SerialHandler.SetupConnection(); return(IsSerialWorking); }