-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathShuntCapList.java
More file actions
34 lines (30 loc) · 924 Bytes
/
ShuntCapList.java
File metadata and controls
34 lines (30 loc) · 924 Bytes
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
package com.powerdata.openpa;
/*
* Copyright (c) 2016, PowerData Corporation, Incremental Systems Corporation
* All rights reserved.
* Licensed under the BSD-3 Clause License.
* See full license at https://powerdata.github.io/openpa/LICENSE.md
*/
import java.util.Arrays;
import java.util.EnumSet;
import java.util.Set;
import com.powerdata.openpa.impl.EmptyLists;
public interface ShuntCapList extends FixedShuntListIfc<ShuntCapacitor>
{
static ShuntCapList emptyList() {return EmptyLists.EMPTY_SHUNTCAPS;}
static Set<ColumnMeta> _Cols = EnumSet
.copyOf(Arrays.asList(new ColumnMeta[] { ColumnMeta.ShcapB,
ColumnMeta.ShcapBUS, ColumnMeta.ShcapID,
ColumnMeta.ShcapNAME, ColumnMeta.ShcapINSVC,
ColumnMeta.ShcapP, ColumnMeta.ShcapQ }));
@Override
default Set<ColumnMeta> getColTypes()
{
return _Cols;
}
@Override
default ListMetaType getListMeta()
{
return ListMetaType.ShuntCap;
}
}