把各种元件做出单独的类。

Signed-off-by: facat@lab.com <facat@lab.com>
This commit is contained in:
facat@lab.com
2014-11-22 22:18:18 +08:00
parent ccc4c1d90c
commit 407fe62995
25 changed files with 526 additions and 18 deletions

View File

@@ -0,0 +1,19 @@
#ifndef POWERTRANSFORMER_H
#define POWERTRANSFORMER_H
#include "BasicElementInfo.h"
#include <QXmlStreamReader>
class PowerTransformer:public BasicElementInfo
{
public:
PowerTransformer();
virtual bool parse(QXmlStreamReader& reader);
protected:
QStringRef terminalA;
QStringRef terminalB;
QStringRef equipmentContainer;
virtual bool derivedParse(QXmlStreamReader& reader);
private:
bool isTerminalA;
};
#endif // POWERTRANSFORMER_H