forked from powerdata/com.powerdata.openpa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTransformerList.java
86 lines (83 loc) · 3.83 KB
/
TransformerList.java
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package com.powerdata.openpa;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.Set;
import com.powerdata.openpa.TwoTermDev.Side;
import com.powerdata.openpa.impl.EmptyLists;
public interface TransformerList extends ACBranchListIfc<Transformer>
{
static TransformerList emptyList() {return EmptyLists.EMPTY_TRANSFORMERS;}
boolean isRegEnabled(int ndx) throws PAModelException;
void setRegEnabled(int ndx, boolean enabl) throws PAModelException;
boolean[] isRegEnabled() throws PAModelException;
void setRegEnabled(boolean[] enabl) throws PAModelException;
Side getRegSide(int ndx) throws PAModelException;
Side[] getRegSide() throws PAModelException;
void setRegSide(int ndx, Side s) throws PAModelException;
void setRegSide(Side[] s) throws PAModelException;
float getMinKV(int ndx) throws PAModelException;
void setMinKV(int ndx, float kv) throws PAModelException;
float[] getMinKV() throws PAModelException;
void setMinKV(float[] kv) throws PAModelException;
float getMaxKV(int ndx) throws PAModelException;
void setMaxKV(int ndx, float kv) throws PAModelException;
float[] getMaxKV() throws PAModelException;
void setMaxKV(float[] kv) throws PAModelException;
Bus getRegBus(int ndx) throws PAModelException;
void setRegBus(int ndx, Bus b) throws PAModelException;
Bus[] getRegBus() throws PAModelException;
void setRegBus(Bus[] b) throws PAModelException;
boolean hasLTC(int ndx) throws PAModelException;
boolean[] hasLTC() throws PAModelException;
void setHasLTC(int ndx, boolean b) throws PAModelException;
void setHasLTC(boolean[] b) throws PAModelException;
float getFromMinTap(int ndx) throws PAModelException;
void setFromMinTap(int ndx, float a) throws PAModelException;
float[] getFromMinTap() throws PAModelException;
void setFromMinTap(float[] a) throws PAModelException;
float getToMinTap(int ndx) throws PAModelException;
float[] getToMinTap() throws PAModelException;
void setToMinTap(int ndx, float a) throws PAModelException;
void setToMinTap(float[] a) throws PAModelException;
float getFromMaxTap(int ndx) throws PAModelException;
float[] getFromMaxTap() throws PAModelException;
void setFromMaxTap(int ndx, float a) throws PAModelException;
void setFromMaxTap(float[] a) throws PAModelException;
float getToMaxTap(int ndx) throws PAModelException;
float[] getToMaxTap() throws PAModelException;
void setToMaxTap(int ndx, float a) throws PAModelException;
void setToMaxTap(float[] a) throws PAModelException;
float getFromStepSize(int ndx) throws PAModelException;
float[] getFromStepSize() throws PAModelException;
void setFromStepSize(int ndx, float step) throws PAModelException;
void setFromStepSize(float[] step) throws PAModelException;
float getToStepSize(int ndx) throws PAModelException;
float[] getToStepSize() throws PAModelException;
void setToStepSize(int ndx, float step) throws PAModelException;
void setToStepSize(float[] step) throws PAModelException;
static Set<ColumnMeta> _Cols = EnumSet.copyOf(Arrays
.asList(new ColumnMeta[] { ColumnMeta.TfmrANG, ColumnMeta.TfmrBMAG,
ColumnMeta.TfmrBUSFROM, ColumnMeta.TfmrBUSTO,
ColumnMeta.TfmrGMAG, ColumnMeta.TfmrHASREG,
ColumnMeta.TfmrID, ColumnMeta.TfmrMAXREGKV,
ColumnMeta.TfmrMINREGKV, ColumnMeta.TfmrMNTPFROM,
ColumnMeta.TfmrMNTPTO, ColumnMeta.TfmrMXTPFROM,
ColumnMeta.TfmrMXTPTO, ColumnMeta.TfmrNAME,
ColumnMeta.TfmrOOS, ColumnMeta.TfmrPFROM,
ColumnMeta.TfmrPTO, ColumnMeta.TfmrQFROM,
ColumnMeta.TfmrQTO, ColumnMeta.TfmrR, ColumnMeta.TfmrRATLT,
ColumnMeta.TfmrREGBUS, ColumnMeta.TfmrREGENAB,
ColumnMeta.TfmrREGSIDE, ColumnMeta.TfmrSTEPFROM,
ColumnMeta.TfmrSTEPTO, ColumnMeta.TfmrTAPFROM,
ColumnMeta.TfmrTAPTO, ColumnMeta.TfmrX }));
@Override
default Set<ColumnMeta> getColTypes()
{
return _Cols;
}
@Override
default ListMetaType getListMeta()
{
return ListMetaType.Transformer;
}
}