コード例 #1
0
            public FIRSTRowMatch(string subdivisionName, FRCApi.MatchResult frcMatch)
            {
                this.EventName = subdivisionName;

                if (frcMatch.tournamentLevel.ToLower() == "qualification")
                {
                    this.T = frcMatch.description.Substring(0, 1);
                }
                else
                {
                    this.T = frcMatch.description.Substring(0, 1);
                }
                this.M    = frcMatch.matchNumber;
                this.Time = frcMatch.actualStartTime;
                //Console.WriteLine(frcMatch.autoStartTime.ToUniversalTime());
                this.RedAlliance  = frcMatch.RedAllianceString;
                this.BlueAlliance = frcMatch.BlueAllianceString;

                this.RedZoneScore = 1.0;
            }
コード例 #2
0
 public MatchData2016(FRCApi.MatchResult result, FRCApi.ScoreDetails2016 details)
 {
     this.result  = result;
     this.details = details;
 }