信号机关联设备调整
This commit is contained in:
parent
2349f81149
commit
c95ddf4372
@ -73,7 +73,6 @@ const { data: signalModel, onUpdate } = useFormData(
|
||||
);
|
||||
|
||||
const refDevData = computed(() => {
|
||||
console.log(signalModel, '====');
|
||||
return signalModel.refDevice
|
||||
? {
|
||||
...signalModel.refDevice.toObject(),
|
||||
|
@ -18,7 +18,7 @@ import {
|
||||
import { SignalCode } from './SignalCode';
|
||||
import { Station } from '../station/Station';
|
||||
import { Turnout, TurnoutPort } from '../turnout/Turnout';
|
||||
import { Section, SectionPort } from '../section/Section';
|
||||
import { Section, SectionPort, SectionType } from '../section/Section';
|
||||
|
||||
export interface KilometerSystem {
|
||||
get coordinateSystem(): string;
|
||||
@ -218,7 +218,9 @@ export class Signal extends JlGraphic {
|
||||
this.humanControl.endFill();
|
||||
}
|
||||
buildRelation() {
|
||||
const sections = this.queryStore.queryByType<Section>(Section.Type);
|
||||
const sections = this.queryStore
|
||||
.queryByType<Section>(Section.Type)
|
||||
.filter((item) => item.datas.sectionType === SectionType.Physical);
|
||||
const turnouts = this.queryStore.queryByType<Turnout>(Turnout.Type);
|
||||
let deviceId = 0;
|
||||
let deviceType = '';
|
||||
|
Loading…
Reference in New Issue
Block a user