initial commit
Some checks failed
xiao_pet_tracker / semantic-pull-request (push) Has been cancelled
xiao_pet_tracker / build (push) Has been cancelled
xiao_pet_tracker / spell-check (push) Has been cancelled

This commit is contained in:
2025-02-23 20:50:34 +01:00
commit 2fe59fee0d
360 changed files with 14384 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import 'package:objectbox/objectbox.dart';
@Entity()
class CaptureBox {
CaptureBox({
required this.type,
required this.uuid,
required this.startTime,
});
@Id()
int id = 0;
String type;
String uuid;
@Property(type: PropertyType.date)
DateTime startTime;
}

View File

@@ -0,0 +1,32 @@
import 'package:objectbox/objectbox.dart';
@Entity()
class CapturePoint {
CapturePoint({
required this.type,
required this.uuid,
required this.rotationX,
required this.rotationY,
required this.rotationZ,
required this.accelerationX,
required this.accelerationY,
required this.accelerationZ,
required this.millisecondsSinceEpochReceived,
required this.millisecondsSinceEpochSend,
});
@Id()
int id = 0;
String type;
String uuid;
int rotationX;
int rotationY;
int rotationZ;
int accelerationX;
int accelerationY;
int accelerationZ;
int millisecondsSinceEpochReceived;
int millisecondsSinceEpochSend;
}