Skip to content

Commit

Permalink
Тип данных LED
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNeuronix committed Nov 19, 2014
1 parent f111a50 commit de155b5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/ru/iris/noolite4j/receiver/RX2164.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,15 @@ else if (dataFormat == DataFormat.FOUR_BYTE.ordinal()) {
LOGGER.debug("Количество данных к команде: 4 байта");
notification.setDataFormat(DataFormat.FOUR_BYTE);
}
else if(dataFormat == DataFormat.LED.ordinal()) {
LOGGER.debug("Количество данных к команде: формат LED");
notification.setDataFormat(DataFormat.LED);
}
else
{
LOGGER.debug("Количество данных к команде: неизвестный тип");
notification.setDataFormat(DataFormat.NO_DATA);
}

notification.setChannel(channel);

Expand Down

0 comments on commit de155b5

Please sign in to comment.