diff options
author | Abyss777 <abyss@fox5.ru> | 2018-08-23 08:48:20 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2018-08-23 08:48:20 +0500 |
commit | 12bb168b88fc3dbcdf59c2fec1a919e20ab57838 (patch) | |
tree | e66c633881d6befb4b1415f2a190c7941343a905 /src/org/traccar/model | |
parent | 2a386eab0a4baed5c606113dd9a875a088f9f4e5 (diff) | |
download | trackermap-server-12bb168b88fc3dbcdf59c2fec1a919e20ab57838.tar.gz trackermap-server-12bb168b88fc3dbcdf59c2fec1a919e20ab57838.tar.bz2 trackermap-server-12bb168b88fc3dbcdf59c2fec1a919e20ab57838.zip |
Implement Device Engine Hours reset
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r-- | src/org/traccar/model/DeviceAccumulators.java (renamed from src/org/traccar/model/DeviceTotalDistance.java) | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/org/traccar/model/DeviceTotalDistance.java b/src/org/traccar/model/DeviceAccumulators.java index 4c89b7689..fe0535ef8 100644 --- a/src/org/traccar/model/DeviceTotalDistance.java +++ b/src/org/traccar/model/DeviceAccumulators.java @@ -16,7 +16,7 @@ */ package org.traccar.model; -public class DeviceTotalDistance { +public class DeviceAccumulators { private long deviceId; @@ -38,4 +38,14 @@ public class DeviceTotalDistance { this.totalDistance = totalDistance; } + private long hours; + + public long getHours() { + return hours; + } + + public void setHours(long hours) { + this.hours = hours; + } + } |