Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

@@ -0,0 +1,46 @@
/**
* AES Function Topic Client test executable
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include "aes_test_base.h"
#include <LtsCoordTrans/lts_coord_trans.h>
#include <QPointF>
namespace AreaEffectSimulation
{
class TestGasPipe final : public TestBase
, protected AreaEffectSimulation::Interface::Ftc::GasPipeModifyReplyHandler
, protected AreaEffectSimulation::Interface::Ftc::GasPipeRemoveReplyHandler
{
Q_OBJECT
public:
explicit TestGasPipe(QObject *parent = nullptr);
bool init(int domainId, int exerciseId, int testId) override;
public Q_SLOTS:
void startTest() override { tryCreateGasPipe(); }
private Q_SLOTS:
void tryCreateGasPipe();
void tryModifyGasPipe();
void waitExpireGasPipe();
protected Q_SLOTS:
void gasPipeChanged(const AreaEffectSimulation::GasPipe &data, DataModification modType);
protected:
void onGasPipeModifyReply(const Core::FunctionReplyObject &replyObject) override;
void onGasPipeRemoveReply(const Core::FunctionReplyObject &replyObject) override;
private:
bool checkBaseData(const AreaEffectSimulation::GasPipe &a,
const AreaEffectSimulation::GasPipe &b) const;
private:
AreaEffectSimulation::GasPipe m_esData;
LtsCoordTrans::UtmCoordinate m_refPos;
};
} // namespace AreaEffectSimulation