RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
MatchInfoData.java
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5package org.wpilib.hardware.hal;
6
8public class MatchInfoData {
10 public String eventName = "";
11
13 public int matchNumber;
14
16 public int replayNumber;
17
19 public int matchType;
20
22 public MatchInfoData() {}
23
32 public void setData(String eventName, int matchNumber, int replayNumber, int matchType) {
33 this.eventName = eventName;
34 this.matchNumber = matchNumber;
35 this.replayNumber = replayNumber;
36 this.matchType = matchType;
37 }
38}
void setData(String eventName, int matchNumber, int replayNumber, int matchType)