shikeying
2024-01-11 3b67e947e36133e2a40eb2737b15ea375e157ea0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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);        
    }
}