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 StringArray. */
010@SuppressWarnings("PMD.ArrayIsStoredDirectly")
011public final class TimestampedStringArray {
012  /**
013   * Create a timestamped value.
014   *
015   * @param timestamp timestamp in local time base
016   * @param serverTime timestamp in server time base
017   * @param value value
018   */
019  public TimestampedStringArray(long timestamp, long serverTime, String[] value) {
020    this.timestamp = timestamp;
021    this.serverTime = serverTime;
022    this.value = value;
023  }
024
025  /**
026   * Timestamp in local time base.
027   */
028  @SuppressWarnings("MemberName")
029  public final long timestamp;
030
031  /**
032   * Timestamp in server time base.  May be 0 or 1 for locally set values.
033   */
034  @SuppressWarnings("MemberName")
035  public final long serverTime;
036
037  /**
038   * Value.
039   */
040  @SuppressWarnings("MemberName")
041  public final String[] value;
042}