| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- #pragma once
- #include "BaseElectricEqpmt.h"
- #include <map>
- #include <vector>
- using namespace std;
- class Station400VLoadItem
- {
- friend class ElectricEqpmt_Station400VLoadUnit;
- friend class ElectricEqpmt_Station400VLoad;
- public:
- Station400VLoadItem();
- ~Station400VLoadItem();
- private:
- int m_nButtonID;
- string m_strEqpmtID;
- string m_strInputStrID;
- };
- // // 车站400V三级负荷单元
- class ElectricEqpmt_Station400VLoadUnit
- {
- public:
- ElectricEqpmt_Station400VLoadUnit();
- ~ElectricEqpmt_Station400VLoadUnit();
- void UpdateCutStatus( int nCutMark );
- int GetCutMark()
- {
- return m_nCutMark;
- }
- void Add400VLoadData( const string& strEqpmtID, const string& strInputStrID, int nButtonID );
- void CheckInputEqpmt(ELEEQPMTMAP* ElectricEqpmtMap, const string& strInputStrID );
- void CheckInputEqpmt_Off(ELEEQPMTMAP* ElectricEqpmtMap, const string& strInputStrID );
- void CheckInputEqpmt_On(ELEEQPMTMAP* ElectricEqpmtMap, const string& strInputStrID );
- /*
- 断开三级负荷开关
- */
- void CutAllSwitch( ELEEQPMTMAP* ElectricEqpmtMap, const string& strInputStrID );
- void CutAllSwitchEqpmt( ELEEQPMTMAP* ElectricEqpmtMap, const string& strEqpmtID, const string& strInputStrID );
- /*
- 三级负荷开关合闸
- */
- void OnAllSwitch( ELEEQPMTMAP* ElectricEqpmtMap, const string& strInputStrID );
- void OnAllSwitchEqpmt( ELEEQPMTMAP* ElectricEqpmtMap, const string& strEqpmtID, const string& strInputStrID );
- //设置延时指针
- void SetDelayMap(DELAYMAP* delaymap){p_DelayTimeMap=delaymap;}
- public:
- int m_nButtonID;
- int m_nCutMark;
- string m_strRelationBolt;
- map<string,Station400VLoadItem> m_mapStation400VLoadItem;
- DELAYMAP* p_DelayTimeMap;
- };
- // 车站400V三级负荷
- class ElectricEqpmt_Station400VLoad
- {
- public:
- ElectricEqpmt_Station400VLoad();
- ~ElectricEqpmt_Station400VLoad();
- void Update400VLoadCut( int nThreeLoadUnitID, int nCutMark );
- void Add400VLoadData( const string& strEqpmtID, const string& strInputStrID, int nButtonID, const string& strRelationBoltID );
- void CheckInputEqpmt(ELEEQPMTMAP* ElectricEqpmtMap, const string& strInputStrID, int nButtonID );
- //设置延时指针
- void SetDelayMap(DELAYMAP* delaymap);
- public:
- int m_nStationID;
- map<int, ElectricEqpmt_Station400VLoadUnit> m_mapStation400VLoadUnit;
- };
|