aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/command/FixPositioningCommand.java
blob: 18d5f32fbf1a9bfd010b27cf609cf79978551106 (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<>();
        replacements.put(FREQUENCY, data);
        return replacements;
    }

    public Duration getData() {
        return data;
    }

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