53 lines
857 B
C++
Executable File
53 lines
857 B
C++
Executable File
/**
|
|
* Settings for TabOc
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Philipp Dassow, NLST, 2018-02-09
|
|
*/
|
|
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
namespace NGL
|
|
{
|
|
class Settings;
|
|
}
|
|
|
|
namespace TrainingAreaBaseOC
|
|
{
|
|
|
|
namespace Settings
|
|
{
|
|
|
|
//!< The real NGL::Settings - object
|
|
NGL::Settings *settings();
|
|
void setIniFile(const QString &ini);
|
|
|
|
// serial port configuration
|
|
QString portName();
|
|
quint32 baudrate();
|
|
|
|
// tcp port configuration
|
|
QString hostName();
|
|
quint32 port();
|
|
quint32 portTtci();
|
|
|
|
// CANAG configuration
|
|
quint32 deviceId();
|
|
quint32 manufacturerId();
|
|
quint32 serialNumber();
|
|
quint32 verX();
|
|
quint32 verY();
|
|
quint32 verZ();
|
|
quint32 biteTimeOut();
|
|
const QString baseCoord();
|
|
void baseCoord(const QString &baseCoord);
|
|
|
|
bool use2BytesForSingleFireDiameter();
|
|
|
|
QString remoteServerHostname();
|
|
} // namespace Settings
|
|
|
|
} // namespace TrainingAreaBase
|