1st version that works

This commit is contained in:
2022-03-14 11:53:00 +02:00
parent ee2884b2ff
commit 3806d2c80d
617 changed files with 17293 additions and 4470 deletions

View File

@ -0,0 +1,46 @@
package com.safemobile.lib.radio;
public class ZoneChannel {
private Zone zone;
private Channel channel;
private boolean isSection = false;
public ZoneChannel(Zone zone) {
setZone(zone);
setSection(true);
}
public ZoneChannel(Zone zone, Channel channel) {
setZone(zone);
setChannel(channel);
if(channel != null)
setSection(false);
else
setSection(true);
}
public Zone getZone() {
return zone;
}
public void setZone(Zone zone) {
this.zone = zone;
}
public Channel getChannel() {
return channel;
}
public void setChannel(Channel channel) {
this.channel = channel;
}
public boolean isSection() {
return isSection;
}
public void setSection(boolean isSection) {
this.isSection = isSection;
}
}