-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSAVC.h
50 lines (37 loc) · 851 Bytes
/
SAVC.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef SAVC_H
#define SAVC_H
#include <QDebug>
#include <QObject>
#include <QJsonObject>
#include <LD.h>
#include <ATCC.h>
#include <MMXU.h>
#include <CILO.h>
#include <Multicast/Sender.h>
class SAVC: public QObject, public LD
{
Q_OBJECT
private:
//PARAMS
static const float bandaMorta;
static const float tensaoBaixaAceitavel;
static const float tensaoAltaAceitavel;
//TODO: Variaveis apenas para testes, os valores devem ser recebidos por SMV e calculados no MMXU,
float tensaoBarra220kv;
float tensaoBarra500kv;
//LN
ATCC *speATCC;
MMXU *mmxu1;
MMXU *mmxu2;
CILO *cilo;
//Networkd
Sender *sender;
void verificaTensao();
void mudaTap(short int tapPos);
public:
SAVC();
~SAVC();
public slots:
void atualizaTensao(QJsonObject receivedData);
};
#endif // SAVC_H