Browse Source

Rename: models/detection_span -> models/detection

master
rozetko 6 years ago
parent
commit
eadb890a6d
  1. 2
      src/panel/graph_panel/colors.ts
  2. 2
      src/panel/graph_panel/controllers/analytic_controller.ts
  3. 2
      src/panel/graph_panel/models/analytic_unit.ts
  4. 0
      src/panel/graph_panel/models/detection.ts
  5. 2
      src/panel/graph_panel/services/analytic_service.ts

2
src/panel/graph_panel/colors.ts

@ -1,5 +1,5 @@
import tinycolor from 'tinycolor2';
import { DetectionStatus } from './models/detection_span';
import { DetectionStatus } from './models/detection';
export const PALETTE_ROWS = 4;
export const PALETTE_COLUMNS = 14;

2
src/panel/graph_panel/controllers/analytic_controller.ts

@ -14,7 +14,7 @@ import { SegmentsSet } from '../models/segment_set';
import { SegmentArray } from '../models/segment_array';
import { HasticServerInfo, HasticServerInfoUnknown } from '../models/hastic_server_info';
import { Threshold, Condition } from '../models/threshold';
import { DetectionStatus, DETECTION_STATUS_TEXT } from '../models/detection_span';
import { DetectionStatus, DETECTION_STATUS_TEXT } from '../models/detection';
import text from '../partials/help_section.html';
import {

2
src/panel/graph_panel/models/analytic_unit.ts

@ -1,7 +1,7 @@
import { SegmentsSet } from './segment_set';
import { SegmentArray } from './segment_array';
import { Segment, SegmentId } from './segment';
import { DetectionSpan } from './detection_span';
import { DetectionSpan } from './detection';
import { ANALYTIC_UNIT_COLORS, DEFAULT_DELETED_SEGMENT_COLOR } from '../colors';

0
src/panel/graph_panel/models/detection_span.ts → src/panel/graph_panel/models/detection.ts

2
src/panel/graph_panel/services/analytic_service.ts

@ -5,7 +5,7 @@ import { SegmentsSet } from '../models/segment_set';
import { AnalyticUnitId, AnalyticUnit, AnalyticSegment } from '../models/analytic_unit';
import { HasticServerInfo, HasticServerInfoUnknown } from '../models/hastic_server_info';
import { Threshold } from '../models/threshold';
import { DetectionSpan } from '../models/detection_span';
import { DetectionSpan } from '../models/detection';
import { isHasticServerResponse, isSupportedServerVersion, SUPPORTED_SERVER_VERSION } from '../../../utlis';

Loading…
Cancel
Save