#include "TedsWriterDevStateWidget.h"
#include "ui_TedsWriterDevStateWidget.h"

TedsWriterDevStateWidget::TedsWriterDevStateWidget(QWidget *parent) :
    TedsWriterDevBaseWidget{parent},
    m_ui{new Ui::TedsWriterDevStateWidget}
{
    m_ui->setupUi(this);
}

TedsWriterDevStateWidget::~TedsWriterDevStateWidget() {
}

void TedsWriterDevStateWidget::devStateUpdate(bool connected) {
    m_ui->writerConLed->setChecked(connected);
}

void TedsWriterDevStateWidget::memStateUpdate(bool connected) {
    m_ui->tedsConLed->setChecked(connected);
}
