From 40bf50c0f2669069dda51eab579417c2e582da51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Ple=C3=9F?= Date: Wed, 7 Mar 2012 00:41:24 +0100 Subject: [PATCH] moved address configuration in seperate file --- src/main/java/de/ctdo/bunti/dmx/DMXMixerImpl.java | 8 ++++++-- src/main/resources/bunti.properties | 1 + src/main/webapp/WEB-INF/dispatcher-servlet.xml | 12 +++++++++++- 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 src/main/resources/bunti.properties diff --git a/src/main/java/de/ctdo/bunti/dmx/DMXMixerImpl.java b/src/main/java/de/ctdo/bunti/dmx/DMXMixerImpl.java index e4c1dfb..90029e3 100644 --- a/src/main/java/de/ctdo/bunti/dmx/DMXMixerImpl.java +++ b/src/main/java/de/ctdo/bunti/dmx/DMXMixerImpl.java @@ -19,7 +19,7 @@ import java.util.Map; public class DMXMixerImpl implements DMXMixer, ApplicationListener { private static final Logger LOGGER = LoggerFactory.getLogger(DMXMixerImpl.class); - private static final String ARTNET_DEVICE_ADDRESS = "192.168.0.90"; + private String artNetDeviceAddress; private final Map dmxMap = Collections.synchronizedMap(new HashMap()); private SimpleArtNetSender artNetSender; @@ -30,6 +30,9 @@ public class DMXMixerImpl implements DMXMixer, ApplicationListener - + + + + + + @@ -19,4 +24,9 @@ --> + + + + + \ No newline at end of file