1st version that works
This commit is contained in:
29
libSafeMobile/src/main/java/com/safemobile/lib/Msg.java
Normal file
29
libSafeMobile/src/main/java/com/safemobile/lib/Msg.java
Normal file
@ -0,0 +1,29 @@
|
||||
package com.safemobile.lib;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class Msg {
|
||||
public Vehicle from;
|
||||
public Date received;
|
||||
public String seqID;
|
||||
|
||||
/** Safenet */
|
||||
public long id;
|
||||
public String message;
|
||||
public boolean read;
|
||||
public boolean sent;
|
||||
|
||||
public String subscriber; //will be imei or gw_id+radio_id
|
||||
public Date time, timeSent;
|
||||
public int type;
|
||||
|
||||
public Msg() { }
|
||||
|
||||
public Msg(Vehicle From, String Message, Date Received, String seqID)
|
||||
{
|
||||
this.message = Message;
|
||||
from = From;
|
||||
received = Received;
|
||||
this.seqID = seqID;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user