-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathTerminal.h
61 lines (37 loc) · 1.1 KB
/
Terminal.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef TerminalH
#define TerminalH
/*
----------------------------------------------------------
Copyright (c) 2008-2021, Electric Power Research Institute, Inc.
All rights reserved.
----------------------------------------------------------
*/
/* Definition of classes for all terminals of a DSS element*/
//#include <System.hpp>
#include "System.h"
#include "Sysutils.h"
#include "Arraydef.h"
#include "Conductor.h"
//class TPowerTerminal;
class TPowerTerminal: public TObject {
typedef TObject inherited;
private:
int FNumCond;
int ActiveConductor;
int get_ActiveConductor();
void Set_ActiveConductor( int Value );
public:
int BusRef;
std::vector <longInt> TermNodeRef; // Need to get to this fast
pTConductorArray Conductors;
bool Checked;
TPowerTerminal( int Ncond );
virtual ~TPowerTerminal( );
TPowerTerminal();
};
typedef std::vector <TPowerTerminal> pTerminalList;
//typedef TPowerTerminal* TerminalList [ 3/*# range 1..3*/ ];
/*
Control Terminal is managed by override functions in classes that are derived from this class
*/
#endif // TerminalH