Fix issue with jobs not being assigned a command

This commit is contained in:
David Majdandžić
2023-03-30 18:24:57 +02:00
parent 10cf382d00
commit 17a1c10c05
6 changed files with 104 additions and 41 deletions

View File

@@ -1,15 +1,32 @@
export type PDU = {
command?: string;
command_id?: number;
command_length?: number;
command_status?: number;
system_id?: string;
password?: string;
source_addr?: string;
data_coding?: number;
dest_addr_npi?: number;
dest_addr_ton?: number;
destination_addr?: string;
short_message?: string;
response?: (...args: any[]) => PDU;
}
esm_class?: number,
password?: string,
priority_flag?: number,
protocol_id?: number,
registered_delivery?: number,
replace_if_present_flag?: number,
response?: (...args: any[]) => PDU,
schedule_delivery_time?: string,
sequence_number?: number,
service_type?: string,
short_message?: string,
sm_default_msg_id?: number,
source_addr?: string,
source_addr_npi?: number,
source_addr_ton?: number,
system_id?: string,
validity_period?: string
};
export type SerializedJob = {
pdu: PDU;
perSecond?: number;
count?: number;
}
perSecond?: number;
};