cimforreduceloss/testHasttable/element/dg.h

21 lines
335 B
C
Raw Normal View History

#ifndef DG_H
#define DG_H
#include <QPair>
#include <QString>
#include "branch.h"
class DG:public Branch
{
public:
DG(const QPair<QString, QString> &fromTo, double DGCapacity, const QString &id, QObject *parent=0);
DG();
~DG();
QString id;
double capacity;
private:
virtual void extract();
};
#endif // DG_H