43 lines
793 B
C++
43 lines
793 B
C++
#pragma once
|
|
#include <QDialog>
|
|
#include <QNetworkRequest>
|
|
#include <QNetworkReply>
|
|
#include <QNetworkAccessManager>
|
|
|
|
#include "ui_PowerControl3D.h"
|
|
|
|
#include "CommunicationViaTCP.h"
|
|
|
|
//using namespace MotorParams;
|
|
|
|
class PowerControl3D : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
PowerControl3D(QWidget* parent = nullptr);
|
|
~PowerControl3D();
|
|
|
|
public Q_SLOTS:
|
|
void halogenLampPowerOn();
|
|
void halogenLampPowerDown();
|
|
void switchHalogenLampPower(int state);
|
|
|
|
void d65LampPowerOn();
|
|
void d65LampPowerDown();
|
|
void switchD65LampPower(int state);
|
|
|
|
void slrPowerOn();
|
|
void slrPowerDown();
|
|
void switchSlrPower(int state);
|
|
|
|
signals:
|
|
//void powerOpened();
|
|
|
|
private:
|
|
Ui::PowerControl3D_UI ui;
|
|
|
|
MotorParams::CommunicationViaTCP* tcpServer6003;
|
|
MotorParams::CommunicationViaTCP* tcpServer6004;
|
|
};
|