this.sendEvent = sendEvent
this.deviceNumbers = deviceNumbers
this.musicPlayers = []
+
+ def initLevel = Verify.getIntFromList(10, 20, 30)
+ this.level = initLevel
+ def initTrack = Verify.getIntFromList(1, 2, 3)
+ this.trackNumber = initTrack
+ def initMute = Verify.getBoolean()
+ if (initMute) {
+ this.mute = "unmuted"
+ } else {
+ this.mute = "mute"
+ }
+ def initStatus = Verify.getBoolean()
+ if (initStatus) {
+ this.status = "pause"
+ } else {
+ this.status = "play"
+ }
+ def initTrackData = Verify.getBoolean()
+ if (initTrackData) {
+ this.trackData = "someTrack"
+ } else {
+ this.trackData = "someOtherTrack"
+ }
+ def initTrackDesc = Verify.getBoolean()
+ if (initTrackDesc) {
+ this.trackDescription = "someDescriptions"
+ } else {
+ this.trackDescription = "someOtherDescriptions"
+ }
def initLevel = Verify.getIntFromList(10, 20, 30)
this.level = initLevel