cimforreduceloss/testHasttable/aclinesegment.h

26 lines
650 B
C
Raw Permalink Normal View History

#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();
double getLength();
QString getNamingDescription();
void setLength(double length);
protected:
QString terminalA;
QString terminalB;
QString containsOfSubstation;
QString namingDescription;
double conductorLength;
virtual bool derivedParse(QXmlStreamReader &reader);
private:
bool isTerminalA;
};
#endif // ACLINESEGMENT_H