Milo Lin | 26b2cbb | 2022-03-26 17:35:20 -0700 | [diff] [blame] | 1 | import {Component, OnInit} from '@angular/core'; |
| 2 | import {Builder, ByteBuffer} from 'flatbuffers'; |
Philipp Schrader | e5d1394 | 2024-03-17 15:44:35 -0700 | [diff] [blame^] | 3 | import {ErrorResponse} from '@org_frc971/scouting/webserver/requests/messages/error_response_generated'; |
Milo Lin | 26b2cbb | 2022-03-26 17:35:20 -0700 | [diff] [blame] | 4 | |
| 5 | @Component({ |
| 6 | selector: 'shift-schedule', |
| 7 | templateUrl: './shift_schedule.ng.html', |
Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 8 | styleUrls: ['../app/common.css', './shift_schedule.component.css'], |
Milo Lin | 26b2cbb | 2022-03-26 17:35:20 -0700 | [diff] [blame] | 9 | }) |
| 10 | export class ShiftsComponent { |
| 11 | progressMessage: string = ''; |
| 12 | errorMessage: string = ''; |
| 13 | // used to calculate shift blocks from starting match to ending match |
| 14 | numMatches: number[] = [20, 40, 60, 80, 100, 120, 140, 160, 180, 200]; |
| 15 | } |