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 org.wpilib.networktables; 008 009/** NetworkTables timestamped FloatArray. */ 010public final class TimestampedFloatArray { 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 TimestampedFloatArray(long timestamp, long serverTime, float[] value) { 019 this.timestamp = timestamp; 020 this.serverTime = serverTime; 021 this.value = value; 022 } 023 024 /** 025 * Timestamp in local time base. 026 */ 027 public final long timestamp; 028 029 /** 030 * Timestamp in server time base. May be 0 or 1 for locally set values. 031 */ 032 public final long serverTime; 033 034 /** 035 * Value. 036 */ 037 public final float[] value; 038}