Erweiterungen

This commit is contained in:
Sven committed 2024-02-08 13:27:37 +01:00
1 parent 286c6537b9
commit 4526dd174f
9 files changed
+160 -93

No files matched your search

-16
View File
@@ -3,22 +3,6 @@ import 'package:stadtbote/protocoll_messages/fin_task_message.dart';
part 'track_message.g.dart';
/*
var payloadObject = new JObject();
var posObject = new JObject();
payloadObject.Add(new JProperty("pos", posObject));
posObject.Add(new JProperty("time", DateTime.Now.ToString("o")));
posObject.Add(new JProperty("lat", location.Latitude));
posObject.Add(new JProperty("long", location.Longitude));
if (location.Accuracy != null)
{
posObject.Add(new JProperty("acc", (int)location.Accuracy));
}
SendJsonMessageAsync("track", payloadObject);
*/
@JsonSerializable()
class TrackMessage {
late FinTaskPos pos;