forked from powerdata/com.powerdata.openpa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LineList.java
38 lines (35 loc) · 1.23 KB
/
LineList.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
package com.powerdata.openpa;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.Set;
import com.powerdata.openpa.impl.EmptyLists;
public interface LineList extends ACBranchListIfc<Line>
{
static LineList emptyList() {return EmptyLists.EMPTY_LINES;}
float getFromBchg(int ndx) throws PAModelException;
void setFromBchg(int ndx, float b) throws PAModelException;
float[] getFromBchg() throws PAModelException;
void setFromBchg(float[] b) throws PAModelException;
float getToBchg(int ndx) throws PAModelException;
void setToBchg(int ndx, float b) throws PAModelException;
float[] getToBchg() throws PAModelException;
void setToBchg(float[] b) throws PAModelException;
static Set<ColumnMeta> _Cols = EnumSet.copyOf(Arrays
.asList(new ColumnMeta[] { ColumnMeta.LineBFROM,
ColumnMeta.LineBTO, ColumnMeta.LineBUSFROM,
ColumnMeta.LineBUSTO, ColumnMeta.LineID,
ColumnMeta.LineNAME, ColumnMeta.LineOOS,
ColumnMeta.LinePFROM, ColumnMeta.LinePTO,
ColumnMeta.LineQFROM, ColumnMeta.LineQTO, ColumnMeta.LineR,
ColumnMeta.LineRATLT, ColumnMeta.LineX }));
@Override
default Set<ColumnMeta> getColTypes()
{
return _Cols;
}
@Override
default ListMetaType getListMeta()
{
return ListMetaType.Line;
}
}