Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+43
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* The Uas class represents a Uas. It holds the data and offers some conversion methods.
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Hannes Fritsche, ESZS, 2025-04-08
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <ParticipantManagement/ppm_db.h>
|
||||
#include <ParticipantManagement/ppm_dtc.h>
|
||||
|
||||
namespace ParticipantManagement
|
||||
{
|
||||
namespace UasHandling
|
||||
{
|
||||
class Uas
|
||||
{
|
||||
public:
|
||||
|
||||
explicit Uas(const Database::PpmUas &data)
|
||||
: m_data(data)
|
||||
{}
|
||||
|
||||
int32_t id() const;
|
||||
int32_t participantId() const;
|
||||
|
||||
Database::PpmUas toDbUas() const;
|
||||
UAS toDdsUas() const;
|
||||
|
||||
bool hasChanges(const CreateModifyUasRequest &request);
|
||||
void unlinkUas();
|
||||
void setState(const ProjectDataManagement::UasState &newState);
|
||||
bool compareHostname( const QString &hostname);
|
||||
bool compareHostPort(int hostport);
|
||||
|
||||
|
||||
|
||||
private:
|
||||
Database::PpmUas m_data;
|
||||
};
|
||||
} // namespace UasHandling
|
||||
} // namespace ParticipantManagement
|
||||
Reference in new issue
Block a user