- TrackState-Zustände (no_fix/static/moving_slow/moving_medium/moving_fast) mit je eigenem Meldeintervall mit/ohne Auftrag (lib/tools/track_state.dart) - Festes Sampling (15s) statt fixem 120s-Timer; Sofortmeldung bei Zustandswechsel, sonst nach Zustandsintervall (mqtt_core.dart) - track-JSON um state (String) und speed (m/s) erweitert - Statisch-Erkennung über GPS-Genauigkeit, aktiver Auftrag = akzeptiert und <=15min vor ordertime - chat_message.dart: Direktimport von objectbox.dart ergaenzt, behebt build_runner-Aufloesungsfehler (ChatMessage-Entity) - Release-Build-Script (build_release_apk.sh) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
896 B
Dart
27 lines
896 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'track_message.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
TrackPosition _$TrackPositionFromJson(Map<String, dynamic> json) =>
|
|
TrackPosition()
|
|
..time = (json['time'] as num).toInt()
|
|
..lat = (json['lat'] as num).toDouble()
|
|
..long = (json['long'] as num).toDouble()
|
|
..acc = (json['acc'] as num).toInt()
|
|
..state = json['state'] as String
|
|
..speed = (json['speed'] as num).toDouble();
|
|
|
|
Map<String, dynamic> _$TrackPositionToJson(TrackPosition instance) =>
|
|
<String, dynamic>{
|
|
'time': instance.time,
|
|
'lat': instance.lat,
|
|
'long': instance.long,
|
|
'acc': instance.acc,
|
|
'state': instance.state,
|
|
'speed': instance.speed,
|
|
};
|