@@ -0,0 +1,1140 @@
+import java.lang.String;%0Aimport java.net.*;%0Aimport java.io.*;%0A%0Aimport org.json.*;%0A%0Apublic class Sensor %7B%0A%0A  private final static int MESSAGE_TAB_SIZE = 100;%0A%0A  private static int sensorId = 0;%0A  private String sensorClass;%0A  private String sensorName;%0A  private int sensorCurrentMsgId;%0A%0A  //Constructeur%0A  public Sensor()%7B%0A    sensorId += 1;%0A    sensorName = new String();%0A    sensorClass = new String();%0A    sensorCurrentMsgId = 0;%0A  %7D%0A%0A  public Sensor(String class, String name)%7B%0A    sensorId += 1;%0A    sensorClass = class;%0A    sensorName = name;%0A    sensorCurrentMsgId = 0;%0A  %7D%0A%0A  // Setter%0A  public void setSensorId(int id)%7B%0A    sensorId = id;%0A  %7D%0A%0A  public void setSensorName(String name)%7B%0A    sensorName = name;%0A  %7D%0A%0A  public void setSensorClass(String class)%7B%0A    sensorClass = class;%0A  %7D%0A%0A  public void updateSensorCurrentMsgId()%7B%0A    sensorCurrentMsgId += 1;%0A  %7D%0A%0A%0A  // Getter%0A  public int getSensorId()%7B%0A    return sensorId;%0A  %7D%0A%0A  public String getSensorName()%7B%0A    return sensorName;%0A  %7D%0A%0A  public String getSensorClass()%7B%0A    return sensorClass;%0A  %7D%0A%0A  public int getSensorCurrentMsgId()%7B%0A    return sensorCurrentMsgId;%0A  %7D%0A%0A%7D%0A

Add Senor class *not finished*