21 lines
496 B
C++
21 lines
496 B
C++
#ifndef ACLINESEGMENT_H
|
|
#define ACLINESEGMENT_H
|
|
#include "BasicElementInfo.h"
|
|
class ACLineSegment:public BasicElementInfo
|
|
{
|
|
public:
|
|
explicit ACLineSegment(QObject *parent = 0);
|
|
virtual bool parse(QXmlStreamReader &reader);
|
|
QString getTerminalA();
|
|
QString getTerminalB();
|
|
protected:
|
|
QString terminalA;
|
|
QString terminalB;
|
|
QString containsOfSubstation;
|
|
virtual bool derivedParse(QXmlStreamReader &reader);
|
|
private:
|
|
bool isTerminalA;
|
|
};
|
|
|
|
#endif // ACLINESEGMENT_H
|