Add default values for station settings
This commit is contained in:
parent
abac552971
commit
fa78b6ba45
@ -37,10 +37,23 @@ public class StationSettings {
|
|||||||
|
|
||||||
public StationSettings() {
|
public StationSettings() {
|
||||||
prefixes = new ArrayList<String>();
|
prefixes = new ArrayList<String>();
|
||||||
|
digitsPerGroup = 4;
|
||||||
|
messageLength = 100;
|
||||||
|
messageMethod = MessageMethod.SFTP;
|
||||||
|
messagePeriod = MessagePeriod.DAILY;
|
||||||
|
scheduleStartDate = LocalDate.now();
|
||||||
|
scheduleStartTime = LocalTime.now();
|
||||||
}
|
}
|
||||||
|
|
||||||
public StationSettings(String newName) {
|
public StationSettings(String newName) {
|
||||||
name = newName;
|
name = newName;
|
||||||
|
prefixes = new ArrayList<String>();
|
||||||
|
digitsPerGroup = 4;
|
||||||
|
messageLength = 100;
|
||||||
|
messageMethod = MessageMethod.SFTP;
|
||||||
|
messagePeriod = MessagePeriod.DAILY;
|
||||||
|
scheduleStartDate = LocalDate.now();
|
||||||
|
scheduleStartTime = LocalTime.now();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Path stationPath() {
|
public Path stationPath() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user