You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
814 B
27 lines
814 B
#ifndef SIMULATIONVIEWMODEL_H
|
|
#define SIMULATIONVIEWMODEL_H
|
|
|
|
#include "viewModel/BaseViewModel.h"
|
|
|
|
#include "viewModel/simulation/DataSimulation.h"
|
|
|
|
class SimulationViewModel : public BaseViewModel
|
|
{
|
|
Q_OBJECT
|
|
US_VIEW_MODEL(SimulationViewModel)
|
|
SINGLETON(SimulationViewModel)
|
|
|
|
private:
|
|
DataSimulation_t _data;
|
|
|
|
US_SWITCH_BUTTON(rxTesterMode, "Rx Tester Mode", "", true, true, true)
|
|
US_SWITCH_BUTTON(simulationTest, "Test", "", true, true, true)
|
|
US_SWITCH_BUTTON(oneshot, "One shot", "", true, true, true)
|
|
US_SWITCH_BUTTON(autoIncrement, "Auto Increment", "", true, true, true)
|
|
US_SWITCH_BUTTON(upload, "Upload", "", true, true, false)
|
|
|
|
US_PROPERTY(QString, simulationFolder, "")
|
|
US_SIMPLE_BUTTON(workingDirOpen, "Open", "", true, true)
|
|
};
|
|
|
|
#endif //SIMULATIONVIEWMODEL_H
|
|
|