Last active
August 1, 2022 14:15
-
-
Save Palatnyi/f1ea1b7281cbe7bac9b29ed1beebf234 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//alert for operator and drone | |
{ | |
alertId: '123', | |
detections: [{ | |
positions: [ {},{} ] | |
detectionType: 'remote' | |
detectionId: 9977 | |
}, { | |
positions: [ {}, {} ] | |
detectionType: 'drone' | |
detectionId: 3333 | |
}] | |
} | |
// new alert for the ssame device and/or operator | |
{ | |
alertId: '777', | |
detections: [{ | |
positions: [ ... ] | |
detectionType: 'remote' | |
detectionId: 9977 // same id as for alertId: 123 ??? | |
... | |
}, { | |
positions: [ ... ] | |
detectionType: 'drone' | |
detectionId: 3333, // same id as for alertId: 123 ??? | |
... | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment