Browse Source

Added DetectionReportCalss

pull/4/head
Bastian Kohler 1 year ago
parent
commit
362af75b9a

+ 19
- 0
app/src/main/java/com/example/ueberwachungssystem/VideoDetection/DetectionReport.java View File

@@ -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;
}
}

Loading…
Cancel
Save