目录修改
This commit is contained in:
parent
82ef30607f
commit
a2d2d3ef33
@ -1,8 +1,6 @@
|
|||||||
import { GraphicState, distance2, getRectangleCenter } from 'jl-graphic';
|
import { GraphicState } from 'jl-graphic';
|
||||||
import { GPConsts } from './PlatformConfig';
|
import { GPConsts } from './common/PlatformConfig';
|
||||||
import { JlPlatform } from './JlPlatform';
|
import { JlPlatform } from './common/JlPlatform';
|
||||||
import { GPStation } from '../Station/GPStation';
|
|
||||||
import { JlSection } from '../Section/common/Section';
|
|
||||||
|
|
||||||
export interface IGPPlatformState extends GraphicState {
|
export interface IGPPlatformState extends GraphicState {
|
||||||
id?: number;
|
id?: number;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import { GraphicState, distance2, getRectangleCenter } from 'jl-graphic';
|
import { GraphicState } from 'jl-graphic';
|
||||||
import { THConsts } from './PlatformConfig';
|
import { THConsts } from './common/PlatformConfig';
|
||||||
import { JlPlatform, DoorCodeLozenge } from './JlPlatform';
|
import { JlPlatform, DoorCodeLozenge } from './common/JlPlatform';
|
||||||
import { JlSection } from '../Section/common/Section';
|
|
||||||
import { THStation } from '../Station/THStation';
|
import { THStation } from '../Station/THStation';
|
||||||
|
|
||||||
export interface ITHPlatformState extends GraphicState {
|
export interface ITHPlatformState extends GraphicState {
|
||||||
|
@ -13,8 +13,8 @@ import {
|
|||||||
LozengeConstsConfig,
|
LozengeConstsConfig,
|
||||||
PlatformConstsConfig,
|
PlatformConstsConfig,
|
||||||
} from './PlatformConfig';
|
} from './PlatformConfig';
|
||||||
import { JlSection } from '../Section/common/Section';
|
import { JlSection } from '../../Section/common/Section';
|
||||||
import { JlStation } from '../Station/JlStation';
|
import { JlStation } from '../../Station/common/JlStation';
|
||||||
|
|
||||||
//子元素--矩形
|
//子元素--矩形
|
||||||
class RectGraphic extends Container {
|
class RectGraphic extends Container {
|
@ -1,8 +1,8 @@
|
|||||||
import { JlGraphicTemplate } from 'jl-graphic';
|
import { JlGraphicTemplate } from 'jl-graphic';
|
||||||
import { JlPlatform } from './JlPlatform';
|
import { JlPlatform } from './JlPlatform';
|
||||||
import { IPlatformData } from './PlatformConfig';
|
import { IPlatformData } from './PlatformConfig';
|
||||||
import { ITHPlatformState, THPlatform } from './THPlatform';
|
import { ITHPlatformState, THPlatform } from '../THPlatform';
|
||||||
import { GPPlatform, IGPPlatformState } from './GPPlatform';
|
import { GPPlatform, IGPPlatformState } from '../GPPlatform';
|
||||||
import { StyleType } from 'common/common';
|
import { StyleType } from 'common/common';
|
||||||
|
|
||||||
export class PlatformTemplate extends JlGraphicTemplate<JlPlatform> {
|
export class PlatformTemplate extends JlGraphicTemplate<JlPlatform> {
|
@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
JlSection as SectionBase,
|
JlSection as SectionBase,
|
||||||
SectionDisplayConfig,
|
SectionDisplayConfig,
|
||||||
} from '../common/Section';
|
} from './common/Section';
|
||||||
|
|
||||||
const displayConfig: SectionDisplayConfig = {
|
const displayConfig: SectionDisplayConfig = {
|
||||||
lineColor: '#5578b6',
|
lineColor: '#5578b6',
|
||||||
@ -16,4 +16,4 @@ export class Section extends SectionBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export { SectionTemplate } from '../common/Section';
|
export { SectionTemplate } from './common/Section';
|
@ -1,5 +1,5 @@
|
|||||||
import { GraphicState } from 'jl-graphic';
|
import { GraphicState } from 'jl-graphic';
|
||||||
import { JlStation } from './JlStation';
|
import { JlStation } from './common/JlStation';
|
||||||
import { StyleType } from 'common/common';
|
import { StyleType } from 'common/common';
|
||||||
|
|
||||||
export interface IGPStationState extends GraphicState {
|
export interface IGPStationState extends GraphicState {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { GraphicState } from 'jl-graphic';
|
import { GraphicState } from 'jl-graphic';
|
||||||
import { ConstrolGraphic, JlStation } from './JlStation';
|
import { ConstrolGraphic, JlStation } from './common/JlStation';
|
||||||
import { THConsts } from './StationConfig';
|
import { THConsts } from './common/StationConfig';
|
||||||
import { StyleType } from 'common/common';
|
import { StyleType } from 'common/common';
|
||||||
|
|
||||||
export interface ITHStationState extends GraphicState {
|
export interface ITHStationState extends GraphicState {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { JlGraphicTemplate } from 'jl-graphic';
|
import { JlGraphicTemplate } from 'jl-graphic';
|
||||||
import { JlStation } from './JlStation';
|
import { JlStation } from './JlStation';
|
||||||
import { IStationData } from './StationConfig';
|
import { IStationData } from './StationConfig';
|
||||||
import { THStation, ITHStationState } from './THStation';
|
import { THStation, ITHStationState } from '../THStation';
|
||||||
import { GPStation, IGPStationState } from './GPStation';
|
import { GPStation, IGPStationState } from '../GPStation';
|
||||||
import { StyleType } from 'common/common';
|
import { StyleType } from 'common/common';
|
||||||
|
|
||||||
export class StationTemplate extends JlGraphicTemplate<JlStation> {
|
export class StationTemplate extends JlGraphicTemplate<JlStation> {
|
Loading…
Reference in New Issue
Block a user