#ifndef CONNECTIONINFO_H
#define CONNECTIONINFO_H

#include <QString>
#include <QStringList>

#include "common_def.h"

struct ConnectionInfo
{
    QString unitName;
    QString serialPort;
    QString bridgePort;
    int speed;
    int enabled;
    deviceID device;     //1 psm, 2 pps, 3 lcu
};

struct XLruConnectionInfo
{
    bool masterFast;

    ConnectionInfo psm;
    ConnectionInfo pps;
    ConnectionInfo lcu;

    QString network;
    unsigned int udpPort;

    unsigned int fpagServer;
    QStringList fpgaList;
};

#endif // CONNECTIONINFO_H
