Skip to content

Commit d3543c7

Browse files
committed
Update WSPRMessage.java
1 parent b89765b commit d3543c7

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

AudioCoder/src/main/java/org/operatorfoundation/audiocoder/WSPRMessage.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package org.operatorfoundation.audiocoder;
22

3-
public class WSPRMessage {
3+
public class WSPRMessage
4+
{
45
public String out;
56
float snr;
67
float dt;
@@ -12,7 +13,8 @@ public class WSPRMessage {
1213
String loc;
1314
int power;
1415

15-
public WSPRMessage(float snr, double freq, float dt, float drift, String message) {
16+
public WSPRMessage(float snr, double freq, float dt, float drift, String message)
17+
{
1618
this.snr = snr;
1719
this.freq = freq;
1820
this.message = message;
@@ -41,4 +43,10 @@ public float getDT() {
4143
public float getDRIFT() {
4244
return this.drift;
4345
}
46+
47+
public String getCALLSIGN() { return this.call; }
48+
49+
public int getPOWER() { return this.power; }
50+
51+
public String getGRIDSQUARE() { return this.loc; }
4452
}

0 commit comments

Comments
 (0)