001// Copyright (c) FIRST and other WPILib contributors.
002// Open Source Software; you can modify and/or share it under the terms of
003// the WPILib BSD license file in the root directory of this project.
004
005// THIS FILE WAS AUTO-GENERATED BY ./ntcore/generate_topics.py. DO NOT MODIFY
006
007package edu.wpi.first.networktables;
008
009/** NetworkTables timestamped DoubleArray. */
010public final class TimestampedDoubleArray {
011  /**
012   * Create a timestamped value.
013   *
014   * @param timestamp timestamp in local time base
015   * @param serverTime timestamp in server time base
016   * @param value value
017   */
018  public TimestampedDoubleArray(long timestamp, long serverTime, double[] value) {
019    this.timestamp = timestamp;
020    this.serverTime = serverTime;
021    this.value = value;
022  }
023
024  /**
025   * Timestamp in local time base.
026   */
027  @SuppressWarnings("MemberName")
028  public final long timestamp;
029
030  /**
031   * Timestamp in server time base.  May be 0 or 1 for locally set values.
032   */
033  @SuppressWarnings("MemberName")
034  public final long serverTime;
035
036  /**
037   * Value.
038   */
039  @SuppressWarnings("MemberName")
040  public final double[] value;
041}