aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/http/commands/FixPositioningCommand.java
blob: f3b25acbc7436b23a3464b492cb06eb1f1a528ec (plain)
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
package org.traccar.http.commands;

import java.util.HashMap;
import java.util.Map;

public class FixPositioningCommand extends GpsCommand {
    public static final String FREQUENCY = "frequency";

    private Duration data;

    @Override
    public Map<String, Object> getReplacements() {
        Map<String, Object> replacements = new HashMap<String, Object>();
        replacements.put(FREQUENCY, data);
        return replacements;
    }

    public Duration getData() {
        return data;
    }

    public void setData(Duration data) {
        this.data = data;
    }
}