mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 16:53:29 +00:00
Added GPS CoT Structs
This commit is contained in:
@@ -15,6 +15,7 @@ pub struct CursorOverTime {
|
||||
pub track_course: Option<i32>,
|
||||
pub track_speed: Option<f32>,
|
||||
pub link_uid: Option<String>,
|
||||
pub remarker: Option<String>,
|
||||
}
|
||||
|
||||
impl CursorOverTime {
|
||||
@@ -102,6 +103,10 @@ impl CursorOverTime {
|
||||
);
|
||||
}
|
||||
|
||||
if let Some(remark) = &self.remarker {
|
||||
xml.push_str(format!("<remarks>ARMATAK | {}</remarks>", remark).as_str());
|
||||
}
|
||||
|
||||
xml.push_str("</detail></event>");
|
||||
|
||||
return xml;
|
||||
|
||||
Reference in New Issue
Block a user