mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
[CodeFactor] Apply fixes
This commit is contained in:
parent
fd9fb81fa2
commit
2f07441fc6
|
@ -190,9 +190,12 @@ export function eventDispatcher(data) {
|
|||
100;
|
||||
stateStore.arq_total_bytes =
|
||||
data["arq-transfer-outbound"].received_bytes;
|
||||
stateStore.arq_speed_list_timestamp = data["arq-transfer-outbound"].statistics.time_histogram
|
||||
stateStore.arq_speed_list_bpm = data["arq-transfer-outbound"].statistics.bpm_histogram
|
||||
stateStore.arq_speed_list_snr = data["arq-transfer-outbound"].statistics.snr_histogram
|
||||
stateStore.arq_speed_list_timestamp =
|
||||
data["arq-transfer-outbound"].statistics.time_histogram;
|
||||
stateStore.arq_speed_list_bpm =
|
||||
data["arq-transfer-outbound"].statistics.bpm_histogram;
|
||||
stateStore.arq_speed_list_snr =
|
||||
data["arq-transfer-outbound"].statistics.snr_histogram;
|
||||
return;
|
||||
|
||||
case "ABORTING":
|
||||
|
@ -235,9 +238,12 @@ export function eventDispatcher(data) {
|
|||
stateStore.dxcallsign = data["arq-transfer-inbound"].dxcall;
|
||||
stateStore.arq_transmission_percent = 0;
|
||||
stateStore.arq_total_bytes = 0;
|
||||
stateStore.arq_speed_list_timestamp = data["arq-transfer-inbound"].statistics.time_histogram
|
||||
stateStore.arq_speed_list_bpm = data["arq-transfer-inbound"].statistics.bpm_histogram
|
||||
stateStore.arq_speed_list_snr = data["arq-transfer-inbound"].statistics.snr_histogram
|
||||
stateStore.arq_speed_list_timestamp =
|
||||
data["arq-transfer-inbound"].statistics.time_histogram;
|
||||
stateStore.arq_speed_list_bpm =
|
||||
data["arq-transfer-inbound"].statistics.bpm_histogram;
|
||||
stateStore.arq_speed_list_snr =
|
||||
data["arq-transfer-inbound"].statistics.snr_histogram;
|
||||
|
||||
return;
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ export const useStateStore = defineStore("stateStore", () => {
|
|||
var arq_speed_list_bpm = ref([]);
|
||||
var arq_speed_list_snr = ref([]);
|
||||
|
||||
/* TODO Those 3 can be removed I guess , DJ2LS*/
|
||||
/* TODO Those 3 can be removed I guess , DJ2LS*/
|
||||
var arq_seconds_until_finish = ref();
|
||||
var arq_seconds_until_timeout = ref();
|
||||
var arq_seconds_until_timeout_percent = ref();
|
||||
|
|
Loading…
Reference in a new issue