cimforreduceloss/testHasttable/element/transformer.h

21 lines
460 B
C++

#ifndef TRANSFORMER_H
#define TRANSFORMER_H
#include <QObject>
#include <QPair>
#include "branch.h"
#include "./../powertransformer.h"
#include "./../loadmapping.h"
class Transformer:public Branch
{
public:
Transformer(const QPair<QString, QString> &fromTo, PowerTransformer *tf,QObject *parent=0);
PowerTransformer *getTF();
double capacityMVA;
protected:
virtual void extract();
private:
PowerTransformer *tf;
};
#endif // TRANSFORMER_H