blob: 1816584090acf99826c53de9f8cc387309fd58c7 [file] [log] [blame]
/*
* Copyright (c) 2021 Kentyou.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Kentyou - initial API and implementation
*/
package org.eclipse.sensinact.gateway.historic.storage.reader.api;
import java.time.Instant;
import org.osgi.dto.DTO;
/**
* A simple object representing a spatial data point available in the database.
* Each spatial point is described by its timestamp, unique tagID and coordinates.
* Any database error during the retrieval of the spatial point is hold in the
* error field.
*/
public class SpatialDTO extends DTO {
public String error;
public Instant timestamp;
public int tagID;
public String latitude, longitude;
}