1#ifndef H_EXTENSIONS_CUTEHMI_SERVICES_3_INCLUDE_CUTEHMI_SERVICES_SERVICEAUTOREPAIR_HPP
2#define H_EXTENSIONS_CUTEHMI_SERVICES_3_INCLUDE_CUTEHMI_SERVICES_SERVICEAUTOREPAIR_HPP
4#include "internal/common.hpp"
6#include "AbstractServiceController.hpp"
27 static constexpr int INITIAL_INITIAL_INTERVAL = 10000;
29 static constexpr const char * INITIAL_INTERVAL_FUNCTION =
"(function (previousInterval) { return previousInterval; })";
31 Q_PROPERTY(
int initialInterval READ initialInterval WRITE setInitialInterval NOTIFY initialIntervalChanged)
33 Q_PROPERTY(
QJSValue intervalFunction READ intervalFunction WRITE setIntervalFunction NOTIFY intervalFunctionChanged)
41 int initialInterval()
const;
43 void setInitialInterval(
int initialInterval);
45 void setIntervalFunction(
const QJSValue & intervalFunction);
47 void setIntervalFunction(
const QString & intervalFunction);
53 void classBegin()
override;
55 void componentComplete()
override;
90 ServiceDataContainer serviceData;
Abstract service controller.
Definition: AbstractServiceController.hpp:38
Abstract service.
Definition: AbstractService.hpp:49
Definition: ServiceAutoRepair.hpp:21
void initialIntervalChanged()
void intervalFunctionChanged()