22
testHasttable/element/branch.h
Normal file
22
testHasttable/element/branch.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef BRANCH_H
|
||||
#define BRANCH_H
|
||||
#include <QString>
|
||||
class Branch
|
||||
{
|
||||
public:
|
||||
Branch(double ratio,const QString& from, const QString& to);
|
||||
protected:
|
||||
double r;
|
||||
double x;
|
||||
QString from;
|
||||
QString to;
|
||||
double ratio;//变比
|
||||
double b1;
|
||||
double b2;
|
||||
double g1;
|
||||
double g2;
|
||||
protected:
|
||||
virtual void extract()=0;
|
||||
};
|
||||
|
||||
#endif // BRANCH_H
|
||||
Reference in New Issue
Block a user