Class WesRelaysCards
java.lang.Object
org.rockhopper.smarthome.wes.jwes.model.data.type.Field<BSSW,Byte>
org.rockhopper.smarthome.wes.jwes.model.data.WesRelaysCards
- All Implemented Interfaces:
VirtualField
-
Field Summary
FieldsFields inherited from class org.rockhopper.smarthome.wes.jwes.model.data.type.Field
PRIORITY_DISCOVERY, PRIORITY_HIGH, PRIORITY_IMMEDIATE, PRIORITY_LOW, PRIORITY_MEDIUM, PRIORITY_REALTIME, PRIORITY_SKIPPED -
Constructor Summary
ConstructorsConstructorDescriptionWesRelaysCards(byte nbCards) WesRelaysCards(byte nbCards, Byte priority) WesRelaysCards(Byte priority) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCard(WesRelaysCard relaysCard) getCards()getState(byte cardIndex, byte relayIndex) getValue()voidsetCards(List<WesRelaysCard> cards) voidvoidvoidvoidtruncateTo(byte byteValue) Methods inherited from class org.rockhopper.smarthome.wes.jwes.model.data.type.Field
getLabel, getPriority, getSubType, getType, setLabel, setPriority
-
Field Details
-
MAX_RELAYSCARD
public static final byte MAX_RELAYSCARD- See Also:
-
-
Constructor Details
-
WesRelaysCards
public WesRelaysCards() -
WesRelaysCards
-
WesRelaysCards
public WesRelaysCards(byte nbCards) -
WesRelaysCards
-
-
Method Details
-
addCard
-
getState
-
setState
-
getStates
-
setStates
-
getCards
-
setCards
-
truncateTo
public void truncateTo(byte byteValue) -
getValue
-
setValue
-
getMemberName
- Specified by:
getMemberNamein interfaceVirtualField
-