diff --git a/app/src/main/java/com/example/ueberwachungssystem/VideoDetection/DetectionReport.java b/app/src/main/java/com/example/ueberwachungssystem/VideoDetection/DetectionReport.java new file mode 100644 index 0000000..f4fef73 --- /dev/null +++ b/app/src/main/java/com/example/ueberwachungssystem/VideoDetection/DetectionReport.java @@ -0,0 +1,19 @@ +package com.example.ueberwachungssystem.VideoDetection; + +import java.util.Calendar; + +/** Detection Report Class */ + +public class DetectionReport { + public String timeStamp; + public String detectionType; + public float detectedAmplitude; + public String detectorID; + + public DetectionReport(String detectorID, String detectionType, float detectedAmplitude) { + this.timeStamp = String.valueOf(Calendar.getInstance().getTime()); + this.detectionType = detectionType; + this.detectedAmplitude = detectedAmplitude; + this.detectorID = detectorID; + } +} \ No newline at end of file