Initial project commit

This commit is contained in:
2020-07-18 21:44:27 -04:00
parent 8a1141b373
commit fea891a268
127 changed files with 20838 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
package com.eveningoutpost.dexdrip.Models;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.util.List;
class HistoricBg {
public int quality;
public int time;
public double bg;
}
class OOPResults {
double currentBg;
int currentTime;
int currentTrend;
HistoricBg [] historicBg;
long timestamp;
String serialNumber;
String toGson() {
Gson gson = new GsonBuilder().create();
return gson.toJson(this);
}
}
public class OOPResultsContainer {
OOPResultsContainer() {
oOPResultsArray = new OOPResults[0];
version = 1;
}
String toGson() {
Gson gson = new GsonBuilder().create();
return gson.toJson(this);
}
int version;
String Message;
OOPResults[] oOPResultsArray;
}