import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../shared/shared.module';
import {ScoreSubjectComponent} from './score-subject/score-subject.component';
import {ScoreAspectComponent} from './score-aspect/score-aspect.component';
import {ArtModule} from '../art.module';
import { ScoreCheckComponent } from './score-check/score-check.component';
import { ScoreInputWrittenComponent } from './score-input-written/score-input-written.component';
import { ScoreDevOpsComponent } from './score-dev-ops/score-dev-ops.component';
import { ScoreYmComponent } from './score-ym/score-ym.component';
import { ScoreFirstYmComponent } from './score-first-ym/score-first-ym.component';
import { ScoreFinalYmComponent } from './score-final-ym/score-final-ym.component';
import { ScoreYmDetailComponent } from './score-ym-detail/score-ym-detail.component';
import { ScoreFirstYmDetailComponent } from './score-first-ym-detail/score-first-ym-detail.component';
import { ScoreFinalYmDetailComponent } from './score-final-ym-detail/score-final-ym-detail.component';
import { ScoreYmReportComponent } from './score-ym-report/score-ym-report.component';
import { ScoreYmEmsComponent } from './score-ym-ems/score-ym-ems.component';
import { ScoreYmEmsDetailComponent } from './score-ym-ems-detail/score-ym-ems-detail.component';
import { ScoreYmEmsReportComponent } from './score-ym-ems-report/score-ym-ems-report.component';
import { ScoreYmEmsReturnComponent } from './score-ym-ems-return/score-ym-ems-return.component';
import { ScoreDevSqlComponent } from './score-dev-sql/score-dev-sql.component';
import { ScoreInputGobalComponent } from './score-input-gobal/score-input-gobal.component';
import { ScoreOneInputComponent } from './score-one-input/score-one-input.component';
import { ScoreOneInputDetailComponent } from './score-one-input-detail/score-one-input-detail.component';
import { ScoreYmfzComponent } from './score-ymfz/score-ymfz.component';
import { ScoreYmViolationComponent } from './score-ym-violation/score-ym-violation.component';

const routes: Routes = [
  {path: 'subject', component: ScoreSubjectComponent},
  {path: 'aspect', component: ScoreAspectComponent},
  {path: 'check', component: ScoreCheckComponent},
  {path: 'input', component: ScoreInputWrittenComponent},
  {path: 'ops', component: ScoreDevOpsComponent},
  {path: 'ym', component: ScoreYmComponent},
  {path: 'ymfirst', component: ScoreFirstYmComponent},
  {path: 'ymfinal', component: ScoreFinalYmComponent},
  {path: 'ems', component: ScoreYmEmsComponent},
  {path: 'gobal', component: ScoreInputGobalComponent},
  {path: 'oneinput', component: ScoreOneInputComponent},
  {path: 'ymfz', component: ScoreYmfzComponent},
  {path: 'violation', component: ScoreYmViolationComponent}
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes),
    ArtModule
  ],
  entryComponents: [ScoreYmDetailComponent,ScoreYmReportComponent,ScoreYmEmsDetailComponent, ScoreYmEmsReportComponent,ScoreYmEmsReturnComponent,ScoreDevSqlComponent],
  declarations: [ScoreSubjectComponent, ScoreAspectComponent, ScoreCheckComponent,ScoreInputWrittenComponent,ScoreDevOpsComponent,
    ScoreYmComponent, ScoreYmDetailComponent, ScoreYmReportComponent, ScoreYmEmsComponent, ScoreYmEmsDetailComponent, ScoreYmEmsReportComponent,
    ScoreYmEmsReturnComponent,ScoreDevSqlComponent,ScoreFirstYmComponent,ScoreFirstYmDetailComponent,ScoreFinalYmComponent,ScoreFinalYmDetailComponent, ScoreInputGobalComponent, ScoreOneInputComponent, ScoreOneInputDetailComponent, ScoreYmfzComponent, ScoreYmViolationComponent],
  exports: [
    RouterModule
  ]
})

export class ArtScoreModule {

}
