import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../../shared/shared.module';

import { ExamVideoTotalComponent } from './exam-video-total/exam-video-total.component';
import { ExamVideoPageComponent } from './exam-video-page/exam-video-page.component';
import { ExamVideoDistComponent } from './exam-video-dist/exam-video-dist.component';
import { ExamVideoViewComponent } from './exam-video-view/exam-video-view.component';
import { ExamVideoCancelComponent } from './exam-video-cancel/exam-video-cancel.component';
import { ExamVideoRoomComponent } from './exam-video-room/exam-video-room.component';
import { ExamVideoRoomStdComponent } from './exam-video-room-std/exam-video-room-std.component';
import { ExamVideoRoomInComponent } from './exam-video-room-in/exam-video-room-in.component';
import { ExamVideoRoomJudgeComponent } from './exam-video-room-judge/exam-video-room-judge.component';
import { ExamVideoStdScoreComponent } from './exam-video-std-score/exam-video-std-score.component';
import { ExamVideoDetailComponent } from './exam-video-detail/exam-video-detail.component';
import { ExamVideoManualPrintComponent } from './exam-video-manual-print/exam-video-manual-print.component';
import { ExamVideoNoticeComponent } from '../video/exam-video-notice/exam-video-notice.component';
import { ExamVideoRoomHandComponent } from './exam-video-room-hand/exam-video-room-hand.component';
import { ExamVideoRoomScoreComponent } from './exam-video-room-score/exam-video-room-score.component';
import { ExamVideoRoomScoreBeforeComponent } from './exam-video-room-score-before/exam-video-room-score-before.component';
import { ExamVideoRoomVerifyComponent } from './exam-video-room-verify/exam-video-room-verify.component';
import { ExamVideoReviewInitComponent } from './exam-video-review-init/exam-video-review-init.component';
import { ExamVideoRoomTaskNewComponent } from './exam-video-room-task-new/exam-video-room-task-new.component';

const routes: Routes = [
  {path: 'total', component: ExamVideoTotalComponent},
  {path: 'page', component: ExamVideoPageComponent},
  {path: 'view', component: ExamVideoViewComponent},
  {path: 'room', component: ExamVideoRoomComponent},
  {path: 'stdlist', component: ExamVideoDetailComponent},
  {path: 'notice', component: ExamVideoNoticeComponent},
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [ExamVideoDistComponent, ExamVideoCancelComponent, ExamVideoRoomStdComponent, ExamVideoRoomInComponent, ExamVideoRoomJudgeComponent, ExamVideoStdScoreComponent,ExamVideoDetailComponent,ExamVideoNoticeComponent],
  declarations: [ ExamVideoTotalComponent, ExamVideoPageComponent, ExamVideoDistComponent, ExamVideoViewComponent, ExamVideoCancelComponent, ExamVideoRoomComponent, ExamVideoRoomStdComponent, 
    ExamVideoRoomInComponent, ExamVideoRoomJudgeComponent, ExamVideoStdScoreComponent,ExamVideoDetailComponent,ExamVideoManualPrintComponent,ExamVideoNoticeComponent, ExamVideoRoomHandComponent, ExamVideoRoomScoreComponent, ExamVideoRoomScoreBeforeComponent, ExamVideoRoomVerifyComponent, ExamVideoReviewInitComponent, ExamVideoRoomTaskNewComponent],
  exports: [
    RouterModule
  ]
})
export class ExamVideoModule {
}
