diff options
author | Anton Tananaev <anton@traccar.org> | 2022-12-14 16:08:25 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-12-14 16:08:25 -0800 |
commit | 3b36ac38a0c4e193ea8085eb5556dffd8205bb17 (patch) | |
tree | 45d60d8132bdacac3901282bb8ba09ddb3640c45 /src/main/java/org/traccar/model | |
parent | 836dc4138fdcf560a31c6a90769b19f6a0d0e438 (diff) | |
download | trackermap-server-3b36ac38a0c4e193ea8085eb5556dffd8205bb17.tar.gz trackermap-server-3b36ac38a0c4e193ea8085eb5556dffd8205bb17.tar.bz2 trackermap-server-3b36ac38a0c4e193ea8085eb5556dffd8205bb17.zip |
Handle motion fluctuation (fix #5000)
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r-- | src/main/java/org/traccar/model/Device.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/model/Device.java b/src/main/java/org/traccar/model/Device.java index 7728172cb..b8c87921d 100644 --- a/src/main/java/org/traccar/model/Device.java +++ b/src/main/java/org/traccar/model/Device.java @@ -162,6 +162,19 @@ public class Device extends GroupedModel implements Disableable { this.expirationTime = expirationTime; } + private boolean motionStreak; + + @QueryIgnore + @JsonIgnore + public boolean getMotionStreak() { + return motionStreak; + } + + @JsonIgnore + public void setMotionStreak(boolean motionStreak) { + this.motionStreak = motionStreak; + } + private boolean motionState; @QueryIgnore |