Compare commits
2 Commits
71c57cb2a1
...
026915fdec
Author | SHA1 | Date | |
---|---|---|---|
026915fdec | |||
6749289255 |
@ -5,12 +5,12 @@ general:
|
|||||||
telnetserver: true # not in use for now
|
telnetserver: true # not in use for now
|
||||||
flexradiospot: true # not in use for now
|
flexradiospot: true # not in use for now
|
||||||
sqlite:
|
sqlite:
|
||||||
sqlite_path: 'C:\Perso\Seafile\Radio\Logs\Log4OM\Vietnam.SQLite' # SQLite Db oath of Log4OM
|
sqlite_path: 'C:\Perso\Seafile\Radio\Logs\Log4OM\F4BPO.SQLite' # SQLite Db oath of Log4OM
|
||||||
callsign: XV9Q # Log4OM Callsign used to check if you get spotted by someone
|
callsign: F4BPO # Log4OM Callsign used to check if you get spotted by someone
|
||||||
cluster:
|
cluster:
|
||||||
server: cluster.f4bpo.com # dxc.k0xm.net
|
server: cluster.f4bpo.com # dxc.k0xm.net
|
||||||
port: 7300
|
port: 7300
|
||||||
login: xv9q
|
login: f4bpo
|
||||||
skimmer: true
|
skimmer: true
|
||||||
ft8: false
|
ft8: false
|
||||||
ft4: false
|
ft4: false
|
||||||
|
@ -180,7 +180,7 @@ func (fc *FlexClient) SendSpottoFlex(spot TelnetSpot) {
|
|||||||
flexSpot.Priority = "1"
|
flexSpot.Priority = "1"
|
||||||
flexSpot.BackgroundColor = "#ff000000"
|
flexSpot.BackgroundColor = "#ff000000"
|
||||||
} else if spot.CallsignWorked {
|
} else if spot.CallsignWorked {
|
||||||
flexSpot.Color = "#ff000000"
|
flexSpot.Color = "#ffeaeaea"
|
||||||
flexSpot.BackgroundColor = "#ff00c0c0"
|
flexSpot.BackgroundColor = "#ff00c0c0"
|
||||||
flexSpot.Priority = "5"
|
flexSpot.Priority = "5"
|
||||||
flexSpot.Comment = flexSpot.Comment + " [Worked]"
|
flexSpot.Comment = flexSpot.Comment + " [Worked]"
|
||||||
@ -203,6 +203,10 @@ func (fc *FlexClient) SendSpottoFlex(spot TelnetSpot) {
|
|||||||
flexSpot.Color = "#ffeaeaea"
|
flexSpot.Color = "#ffeaeaea"
|
||||||
flexSpot.Priority = "5"
|
flexSpot.Priority = "5"
|
||||||
flexSpot.BackgroundColor = "#ff000000"
|
flexSpot.BackgroundColor = "#ff000000"
|
||||||
|
} else {
|
||||||
|
flexSpot.Color = "#ffeaeaea"
|
||||||
|
flexSpot.Priority = "5"
|
||||||
|
flexSpot.BackgroundColor = "#ff000000"
|
||||||
}
|
}
|
||||||
|
|
||||||
flexSpot.Comment = strings.ReplaceAll(flexSpot.Comment, " ", "\u00A0")
|
flexSpot.Comment = strings.ReplaceAll(flexSpot.Comment, " ", "\u00A0")
|
||||||
|
2
main.go
2
main.go
@ -42,7 +42,7 @@ func main() {
|
|||||||
cfg := NewConfig(cfgPath)
|
cfg := NewConfig(cfgPath)
|
||||||
|
|
||||||
log := NewLog()
|
log := NewLog()
|
||||||
log.Info("Running FlexDXCluster version 0.1")
|
log.Info("Running FlexDXCluster version 0.2")
|
||||||
log.Infof("Callsign: %s", cfg.SQLite.Callsign)
|
log.Infof("Callsign: %s", cfg.SQLite.Callsign)
|
||||||
|
|
||||||
DeleteDatabase("./flex.sqlite", log)
|
DeleteDatabase("./flex.sqlite", log)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user