aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/command/FixPositioningCommand.java
blob: 1304e1f3f30f3a0c18b58b24140c42074e430092 (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.command;

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;
    }
}