| 1234567891011121314151617181920212223242526 |
- #pragma once
- #include "BaseElectricEqpmt.h"
- class ElectricEqpmt_Line : public BaseElectricEqpmt //电力线路
- {
- public:
- virtual void CalculateValue(double inputv,double inputI,ELEEQPMTMAP* PEqpmtMap);
- virtual int GetType()
- {
- return Electric_EqpmtType_Line;
- }
- virtual bool PowerIn(ELEEQPMTMAP& eqpmtmap,string sourceid); //通电,线路来电
- void SetLength(double length)
- {
- m_dLength=length;
- }
- virtual double GetLength()
- {
- return m_dLength;
- }
- protected:
- double m_dLength; //线路长度
- };
|