removed commented out code
This commit is contained in:
parent
3deb94652f
commit
e5fb13bdcf
|
@ -61,54 +61,6 @@ public abstract class BuntiDMXDevice extends BuntiDevice {
|
|||
return 0;
|
||||
}
|
||||
|
||||
// /**
|
||||
// * Merge the DMX values from this device into a global DMX512 Data Array.
|
||||
// * @param dmxData DMX512 Data array to merge the local values into.
|
||||
// * @return True on success, false otherwise.
|
||||
// */
|
||||
// public boolean mergeDMXData(int[] dmxData) {
|
||||
//
|
||||
// if(dmxData == null || dmxData.length == 0) {
|
||||
// return false;
|
||||
// }
|
||||
//
|
||||
// for (DMXChannel channel : dmxChannels.getAllChannels()) {
|
||||
// int index = channel.getOffset() + (startAddress - DMX.DMX_STARTADDRESS_OFFSET);
|
||||
//
|
||||
// if(index >= 0 && index < dmxData.length){
|
||||
// dmxData[index] = channel.getValue();
|
||||
// } else {
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// return true;
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * Merge the DMX values from this device into a global DMX512 Data Array.
|
||||
// * @param dmxData DMX512 Data to merge the local values into.
|
||||
// * @return True on success, false otherwise.
|
||||
// */
|
||||
// public boolean mergeDMXData(Map<Integer,Integer> dmxData) {
|
||||
//
|
||||
// if(dmxData == null || dmxData.size() == 0) {
|
||||
// return false;
|
||||
// }
|
||||
//
|
||||
// for (DMXChannel channel : dmxChannels.getAllChannels()) {
|
||||
// int index = channel.getOffset() + (startAddress - DMX.DMX_STARTADDRESS_OFFSET);
|
||||
//
|
||||
// if(index >= DMX.DMX_CHANNELS_MIN && index <= DMX.DMX_CHANNELS_MAX){
|
||||
// dmxData.put(index, channel.getValue());
|
||||
// } else {
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// return true;
|
||||
// }
|
||||
|
||||
public Map<Integer,Integer> getChannelData() {
|
||||
Map<Integer,Integer> map = new HashMap<Integer, Integer>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue