From 15ca63be84a3a0b521851be0b7227628a63ea98e Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Sun, 19 Jan 2020 10:05:55 +0800 Subject: [PATCH] =?UTF-8?q?iscs=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/iscs/constant/deviceRender.js | 7 - src/iscs/constant/deviceType.js | 27 ++-- src/iscs/shape/factory.js | 1 - src/iscs/utils/parser.js | 7 +- src/views/login/floatPart.vue | 2 +- .../iscsDraw/iscsAcsOperate/entranceGuard.vue | 49 ++++--- .../iscsDraw/iscsAfcOperate/brakeMachine.vue | 39 ++++-- .../semiAutomaticTicketMachine.vue | 39 ++++-- .../iscsDraw/iscsAfcOperate/ticketMachine.vue | 39 ++++-- .../system/iscsDraw/iscsBasOperate/index.vue | 12 +- .../iscsBasOperate/volumeControlDamper.vue | 128 ++++++++++++++++++ .../iscsOperate/fireHydranAlarmButton.vue | 40 ++++-- 12 files changed, 299 insertions(+), 91 deletions(-) create mode 100644 src/views/system/iscsDraw/iscsBasOperate/volumeControlDamper.vue diff --git a/src/iscs/constant/deviceRender.js b/src/iscs/constant/deviceRender.js index b1529d98d..c2d5d0677 100644 --- a/src/iscs/constant/deviceRender.js +++ b/src/iscs/constant/deviceRender.js @@ -99,12 +99,6 @@ deviceRender[deviceType.BorderRadius] = { z: 4 }; -/** 空调机 */ -deviceRender[deviceType.AirConditioner] = { - _type: deviceType.AirConditioner, - zlevel: 1, - z: 4 -}; /** 轨道排风机 */ deviceRender[deviceType.OrbitalVentilator] = { _type: deviceType.OrbitalVentilator, @@ -172,5 +166,4 @@ deviceRender[deviceType.VolumeControlDamper] = { z: 4 }; - export default deviceRender; diff --git a/src/iscs/constant/deviceType.js b/src/iscs/constant/deviceType.js index cd93fc083..40b7da299 100644 --- a/src/iscs/constant/deviceType.js +++ b/src/iscs/constant/deviceType.js @@ -1,31 +1,30 @@ const deviceType = { - ManualAlarmButton: 'manualAlarmButton', + ManualAlarmButton: 'ManualAlarmButton', Vidicon: 'Vidicon', VidiconCloud: 'VidiconCloud', CheckBox: 'CheckBox', FrozenPump:'FrozenPump', - FireHydranAlarmButton: 'fireHydranAlarmButton', - GasFireControl: 'gasFireControl', - SmokeDetector: 'smokeDetector', - TemperatureDetector: 'temperatureDetector', - PlatformScreenDoor: 'platformScreenDoor', + FireHydranAlarmButton: 'FireHydranAlarmButton', + GasFireControl: 'GasFireControl', + SmokeDetector: 'SmokeDetector', + TemperatureDetector: 'TemperatureDetector', + PlatformScreenDoor: 'PlatformScreenDoor', Ventilator:'Ventilator', Chiller:'Chiller', CoolTower:'CoolTower', - BorderRadius: 'borderRadius', - EndDoor: 'endDoor', + BorderRadius: 'BorderRadius', + EndDoor: 'EndDoor', AirConditioner:'AirConditioner', OrbitalVentilator:'OrbitalVentilator', JetFan:'JetFan', TunnelFan:'TunnelFan', FireDamper:'FireDamper', SmookProofFd:'SmookProofFd', - BrakeMachine: 'brakeMachine', - EntranceGuard: 'entranceGuard', - SemiAutomaticTicketMachine: 'semiAutomaticTicketMachine', - TicketMachine: 'ticketMachine', - AirConditioner: 'airConditioner', - VolumeControlDamper: 'volumeControlDamper' + BrakeMachine: 'BrakeMachine', + EntranceGuard: 'EntranceGuard', + SemiAutomaticTicketMachine: 'SemiAutomaticTicketMachine', + TicketMachine: 'TicketMachine', + VolumeControlDamper: 'VolumeControlDamper' }; export default deviceType; diff --git a/src/iscs/shape/factory.js b/src/iscs/shape/factory.js index f7506247c..6ccd31d0b 100644 --- a/src/iscs/shape/factory.js +++ b/src/iscs/shape/factory.js @@ -14,7 +14,6 @@ import Chiller from './bas/chiller'; import CoolTower from './bas/coolTower'; import EndDoor from './endDoor'; import BorderRadius from './borderRadius'; -import AirConditioner from './bas/airConditioner'; import OrbitalVentilator from './bas/orbitalVentilator'; import JetFan from './bas/jetFan'; import TunnelFan from './bas/tunnelFan'; diff --git a/src/iscs/utils/parser.js b/src/iscs/utils/parser.js index a098976bf..e9a1e74b4 100644 --- a/src/iscs/utils/parser.js +++ b/src/iscs/utils/parser.js @@ -118,7 +118,9 @@ export function parser(data) { zrUtil.each(data.semiAutomaticTicketMachineList || [], elem =>{ iscsDevice[elem.code] = deviceFactory(deviceType.SemiAutomaticTicketMachine, elem); }); - + zrUtil.each(data.volumeControlDamperList || [], elem => { + iscsDevice[elem.code] = deviceFactory(deviceType.VolumeControlDamper, elem); + }); } return iscsDevice; @@ -214,6 +216,9 @@ export function updateIscsData(device) { case deviceType.SmookProofFd: updateIscsListByDevice(iscsData, 'smookProofFdList', device); break; + case deviceType.VolumeControlDamper: + updateIscsListByDevice(iscsData, 'volumeControlDamperList', device); + break; } store.dispatch('iscs/setIscsData', iscsData); diff --git a/src/views/login/floatPart.vue b/src/views/login/floatPart.vue index f07a5b6fc..48a8a670c 100644 --- a/src/views/login/floatPart.vue +++ b/src/views/login/floatPart.vue @@ -2,7 +2,7 @@
本产品基于长安玖琏城市轨道交通实训云平台设计开发城市轨道交通设计云平台设计开发
实训平台网址:https://joylink.club -
设计平台网址:https://joylink.club/design +
设计平台网址:https://joylink.club/design
diff --git a/src/views/system/iscsDraw/iscsAcsOperate/entranceGuard.vue b/src/views/system/iscsDraw/iscsAcsOperate/entranceGuard.vue index 377083b67..58ce6f23e 100644 --- a/src/views/system/iscsDraw/iscsAcsOperate/entranceGuard.vue +++ b/src/views/system/iscsDraw/iscsAcsOperate/entranceGuard.vue @@ -1,8 +1,8 @@ diff --git a/src/views/system/iscsDraw/iscsOperate/fireHydranAlarmButton.vue b/src/views/system/iscsDraw/iscsOperate/fireHydranAlarmButton.vue index 0d187dc14..49fa27d13 100644 --- a/src/views/system/iscsDraw/iscsOperate/fireHydranAlarmButton.vue +++ b/src/views/system/iscsDraw/iscsOperate/fireHydranAlarmButton.vue @@ -1,8 +1,8 @@ -