1st version that works
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
package com.safemobile.lib;
|
||||
|
||||
public class HistCountmsg extends TCPmsg {
|
||||
|
||||
public HistCount histcountValue;
|
||||
public long count=0;
|
||||
public HistCountmsg(TCPmsg tcp)
|
||||
{
|
||||
super(tcp);
|
||||
String date4parsing = super.data;
|
||||
//SM.Debug("SMS date4parsing:"+date4parsing);
|
||||
//String[] tempVeh = date4parsing.split("#");
|
||||
date4parsing = date4parsing.replace("#", "");
|
||||
histcountValue = new HistCount();
|
||||
histcountValue.count = Long.parseLong(date4parsing);
|
||||
histcountValue.seq_id = super.seqID;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user