package com.walker.tcp.littleD;
|
|
import com.walker.infrastructure.utils.StringUtils;
|
|
public class LocationNowResponse extends AbstractResponse {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 5719312398296057867L;
|
|
@Override
|
public String getProtocolNum() {
|
return "BP16";
|
}
|
|
@Override
|
protected void appendBusiness(StringBuilder sb) {
|
sb.append(StringUtils.DEFAULT_SPLIT_SEPARATOR);
|
sb.append(this.getName());
|
sb.append(StringUtils.DEFAULT_SPLIT_SEPARATOR);
|
// sb.append(DateUtils.getDateTimeSecondForShow(System.currentTimeMillis()));
|
sb.append(this.getMessageId());
|
}
|
|
public static void main(String[] args){
|
LocationNowResponse request = new LocationNowResponse();
|
request.setName("1234567");
|
request.setMessageId("201808200002");
|
System.out.println(request);
|
}
|
}
|