2019-11-29 12:51:58 +08:00
|
|
|
import deviceType from './deviceType';
|
|
|
|
|
|
|
|
const deviceRender = {};
|
|
|
|
|
|
|
|
/** Section渲染配置*/
|
|
|
|
deviceRender[deviceType.Section] = {
|
|
|
|
_type: deviceType.Section,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** Signal渲染配置*/
|
|
|
|
deviceRender[deviceType.Signal] = {
|
|
|
|
_type: deviceType.Signal,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** Switch渲染配置*/
|
|
|
|
deviceRender[deviceType.Switch] = {
|
|
|
|
_type: deviceType.Switch,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** Station渲染配置*/
|
|
|
|
deviceRender[deviceType.Station] = {
|
|
|
|
_type: deviceType.Station,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** StationStand渲染配置*/
|
|
|
|
deviceRender[deviceType.StationStand] = {
|
|
|
|
_type: deviceType.StationStand,
|
|
|
|
zlevel: 1
|
2019-12-06 18:03:13 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/** Psd渲染配置*/
|
|
|
|
deviceRender[deviceType.Psd] = {
|
|
|
|
_type: deviceType.Psd,
|
|
|
|
zlevel: 1
|
2019-11-29 12:51:58 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/** StationControl渲染配置*/
|
|
|
|
deviceRender[deviceType.StationControl] = {
|
|
|
|
_type: deviceType.StationControl,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
2019-12-23 10:53:25 +08:00
|
|
|
/** Resource渲染配置*/
|
|
|
|
deviceRender[deviceType.Resource] = {
|
|
|
|
_type: deviceType.Resource,
|
2019-11-29 12:51:58 +08:00
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** ZcControl渲染配置*/
|
|
|
|
deviceRender[deviceType.ZcControl] = {
|
|
|
|
_type: deviceType.ZcControl,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** LcControl渲染配置*/
|
|
|
|
deviceRender[deviceType.LcControl] = {
|
|
|
|
_type: deviceType.LcControl,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** LimitControl渲染配置*/
|
|
|
|
deviceRender[deviceType.LimitControl] = {
|
|
|
|
_type: deviceType.LimitControl,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** StationDelayUnlock渲染配置*/
|
|
|
|
deviceRender[deviceType.StationDelayUnlock] = {
|
|
|
|
_type: deviceType.StationDelayUnlock,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** Train渲染配置*/
|
|
|
|
deviceRender[deviceType.Train] = {
|
|
|
|
_type: deviceType.Train,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** TrainWindow渲染配置*/
|
|
|
|
deviceRender[deviceType.TrainWindow] = {
|
|
|
|
_type: deviceType.TrainWindow,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** Line渲染配置*/
|
|
|
|
deviceRender[deviceType.Line] = {
|
|
|
|
_type: deviceType.Line,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** Text渲染配置*/
|
|
|
|
deviceRender[deviceType.Text] = {
|
|
|
|
_type: deviceType.Text,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** TrainWindow渲染配置*/
|
|
|
|
deviceRender[deviceType.TrainWindow] = {
|
|
|
|
_type: deviceType.TrainWindow,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2019-12-06 18:03:13 +08:00
|
|
|
|
2019-11-29 12:51:58 +08:00
|
|
|
/** Train渲染配置*/
|
|
|
|
deviceRender[deviceType.TRain] = {
|
|
|
|
_type: deviceType.TRain,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2019-12-06 18:03:13 +08:00
|
|
|
|
2019-11-29 12:51:58 +08:00
|
|
|
/** CheckBox渲染配置*/
|
|
|
|
deviceRender[deviceType.CheckBox] = {
|
|
|
|
_type: deviceType.CheckBox,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
2020-03-04 20:59:16 +08:00
|
|
|
/** Automactic渲染配置 自动折返*/
|
2020-03-18 09:10:57 +08:00
|
|
|
deviceRender[deviceType.AutoTurnBack] = {
|
|
|
|
_type: deviceType.AutoTurnBack,
|
2020-03-04 20:59:16 +08:00
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
2020-03-05 15:48:51 +08:00
|
|
|
/** OutFrame渲染配置 自动折返包围矩形*/
|
|
|
|
deviceRender[deviceType.OutFrame] = {
|
|
|
|
_type: deviceType.OutFrame,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-03-04 20:59:16 +08:00
|
|
|
|
2020-03-05 16:43:53 +08:00
|
|
|
/** AutomacticRoute渲染配置 自动进路*/
|
2020-03-05 16:39:49 +08:00
|
|
|
deviceRender[deviceType.AutomaticRoute] = {
|
|
|
|
_type: deviceType.AutomaticRoute,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
2020-03-17 16:12:15 +08:00
|
|
|
/** AxleReset 计轴复位*/
|
|
|
|
deviceRender[deviceType.AxleReset] = {
|
|
|
|
_type: deviceType.AxleReset,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
|
|
|
|
/** GuideLock 引导总锁*/
|
|
|
|
deviceRender[deviceType.GuideLock] = {
|
|
|
|
_type: deviceType.GuideLock,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-03-19 16:17:34 +08:00
|
|
|
/** AtsControl ATS通信表示灯 */
|
|
|
|
deviceRender[deviceType.AtsControl] = {
|
|
|
|
_type: deviceType.AtsControl,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** CenterCommunication 中心通信表示灯 */
|
|
|
|
deviceRender[deviceType.CenterCommunication] = {
|
|
|
|
_type: deviceType.AtsControl,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** ChainControl 连锁主备状态表示灯 */
|
|
|
|
deviceRender[deviceType.ChainControl] = {
|
|
|
|
_type: deviceType.ChainControl,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** IntersiteControl 站间通信表示灯 */
|
|
|
|
deviceRender[deviceType.IntersiteControl] = {
|
|
|
|
_type: deviceType.IntersiteControl,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** LeuControl LEU通信表示灯 */
|
|
|
|
deviceRender[deviceType.LeuControl] = {
|
|
|
|
_type: deviceType.LeuControl,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** LocalControl 现地主备状态表示灯 */
|
|
|
|
deviceRender[deviceType.LocalControl] = {
|
|
|
|
_type: deviceType.LocalControl,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** Maintain 维护工作站表示灯 */
|
|
|
|
deviceRender[deviceType.Maintain] = {
|
|
|
|
_type: deviceType.Maintain,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** PowerSupply 电源状态表示灯 */
|
|
|
|
deviceRender[deviceType.PowerSupply] = {
|
|
|
|
_type: deviceType.PowerSupply,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** NoOneReturn 无人折返状态表示灯 */
|
|
|
|
deviceRender[deviceType.NoOneReturn] = {
|
|
|
|
_type: deviceType.NoOneReturn,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-03-24 15:02:14 +08:00
|
|
|
/** MaintenanceLamps 全站维修点灯 */
|
|
|
|
deviceRender[deviceType.MaintenanceLamps] = {
|
|
|
|
_type: deviceType.MaintenanceLamps,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-03-24 16:35:09 +08:00
|
|
|
/** ZcCommunication Zc通信表示灯 */
|
|
|
|
deviceRender[deviceType.ZcCommunication] = {
|
|
|
|
_type: deviceType.ZcCommunication,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-04-14 15:45:13 +08:00
|
|
|
/** FaultStatusGroup 故障状态表示组(西安二号线) */
|
|
|
|
deviceRender[deviceType.FaultStatusGroup] = {
|
|
|
|
_type: deviceType.FaultStatusGroup,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** ModeStatusGroup 车站状态模式表示组(西安二号线) */
|
|
|
|
deviceRender[deviceType.ModeStatusGroup] = {
|
|
|
|
_type: deviceType.ModeStatusGroup,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** LampFilament 信号灯丝告警 */
|
|
|
|
deviceRender[deviceType.LampFilament] = {
|
|
|
|
_type: deviceType.LampFilament,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** ReturnModeGroup 折返模式组(西安二号线) */
|
|
|
|
deviceRender[deviceType.ReturnModeGroup] = {
|
|
|
|
_type: deviceType.ReturnModeGroup,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** ControlSwitch LCW/ATS控制开关 */
|
|
|
|
deviceRender[deviceType.ControlSwitch] = {
|
|
|
|
_type: deviceType.ControlSwitch,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
|
|
|
/** Axle 计轴预复位 */
|
|
|
|
deviceRender[deviceType.Axle] = {
|
|
|
|
_type:deviceType.Axle,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-04-15 14:13:08 +08:00
|
|
|
/** SplitStation 集中站分隔 */
|
|
|
|
deviceRender[deviceType.SplitStation] = {
|
|
|
|
_type: deviceType.SplitStation,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-04-22 17:12:29 +08:00
|
|
|
/** SwitchFault 道岔故障 */
|
|
|
|
deviceRender[deviceType.SwitchFault] = {
|
|
|
|
_type: deviceType.SwitchFault,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-04-26 16:24:34 +08:00
|
|
|
/** Arrow 箭头 */
|
|
|
|
deviceRender[deviceType.Arrow] = {
|
|
|
|
_type: deviceType.Arrow,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-05-28 14:39:06 +08:00
|
|
|
/** 供电线路 */
|
|
|
|
deviceRender[deviceType.Power] = {
|
|
|
|
_type: deviceType.Power,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-06-04 17:29:18 +08:00
|
|
|
// 站后折返
|
|
|
|
deviceRender[deviceType.StationTurnBack] = {
|
|
|
|
_type: deviceType.StationTurnBack,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-08-13 19:27:02 +08:00
|
|
|
// 延时保护计时
|
|
|
|
deviceRender[deviceType.OverAp] = {
|
|
|
|
_type: deviceType.OverAp,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-10-10 17:58:14 +08:00
|
|
|
/** 防淹门 */
|
2020-08-20 13:17:58 +08:00
|
|
|
deviceRender[deviceType.FloodGate] = {
|
|
|
|
_type: deviceType.FloodGate,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2020-10-10 17:58:14 +08:00
|
|
|
/** 方向杆 */
|
|
|
|
deviceRender[deviceType.DirectionRod] = {
|
|
|
|
_type: deviceType.DirectionRod,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2021-01-12 10:07:31 +08:00
|
|
|
/** 应答器*/
|
|
|
|
deviceRender[deviceType.Responder] = {
|
|
|
|
_type: deviceType.Responder,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2021-04-13 14:10:20 +08:00
|
|
|
/** 信号按钮 */
|
|
|
|
deviceRender[deviceType.SignalButton] = {
|
|
|
|
_type: deviceType.SignalButton,
|
|
|
|
zlevel: 1
|
|
|
|
};
|
2021-04-15 18:15:12 +08:00
|
|
|
/** 指示灯 */
|
|
|
|
deviceRender[deviceType.IndicatorLight] = {
|
|
|
|
_type: deviceType.IndicatorLight,
|
|
|
|
zlevel: 1
|
2021-05-19 15:07:59 +08:00
|
|
|
};
|
2019-11-29 12:51:58 +08:00
|
|
|
export default deviceRender;
|