rt-sim-training-client/src/jmapNew/constant/deviceRender.js
2021-05-19 15:07:59 +08:00

289 lines
6.5 KiB
JavaScript

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
};
/** Psd渲染配置*/
deviceRender[deviceType.Psd] = {
_type: deviceType.Psd,
zlevel: 1
};
/** StationControl渲染配置*/
deviceRender[deviceType.StationControl] = {
_type: deviceType.StationControl,
zlevel: 1
};
/** Resource渲染配置*/
deviceRender[deviceType.Resource] = {
_type: deviceType.Resource,
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
};
/** Train渲染配置*/
deviceRender[deviceType.TRain] = {
_type: deviceType.TRain,
zlevel: 1
};
/** CheckBox渲染配置*/
deviceRender[deviceType.CheckBox] = {
_type: deviceType.CheckBox,
zlevel: 1
};
/** Automactic渲染配置 自动折返*/
deviceRender[deviceType.AutoTurnBack] = {
_type: deviceType.AutoTurnBack,
zlevel: 1
};
/** OutFrame渲染配置 自动折返包围矩形*/
deviceRender[deviceType.OutFrame] = {
_type: deviceType.OutFrame,
zlevel: 1
};
/** AutomacticRoute渲染配置 自动进路*/
deviceRender[deviceType.AutomaticRoute] = {
_type: deviceType.AutomaticRoute,
zlevel: 1
};
/** AxleReset 计轴复位*/
deviceRender[deviceType.AxleReset] = {
_type: deviceType.AxleReset,
zlevel: 1
};
/** GuideLock 引导总锁*/
deviceRender[deviceType.GuideLock] = {
_type: deviceType.GuideLock,
zlevel: 1
};
/** 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
};
/** MaintenanceLamps 全站维修点灯 */
deviceRender[deviceType.MaintenanceLamps] = {
_type: deviceType.MaintenanceLamps,
zlevel: 1
};
/** ZcCommunication Zc通信表示灯 */
deviceRender[deviceType.ZcCommunication] = {
_type: deviceType.ZcCommunication,
zlevel: 1
};
/** 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
};
/** SplitStation 集中站分隔 */
deviceRender[deviceType.SplitStation] = {
_type: deviceType.SplitStation,
zlevel: 1
};
/** SwitchFault 道岔故障 */
deviceRender[deviceType.SwitchFault] = {
_type: deviceType.SwitchFault,
zlevel: 1
};
/** Arrow 箭头 */
deviceRender[deviceType.Arrow] = {
_type: deviceType.Arrow,
zlevel: 1
};
/** 供电线路 */
deviceRender[deviceType.Power] = {
_type: deviceType.Power,
zlevel: 1
};
// 站后折返
deviceRender[deviceType.StationTurnBack] = {
_type: deviceType.StationTurnBack,
zlevel: 1
};
// 延时保护计时
deviceRender[deviceType.OverAp] = {
_type: deviceType.OverAp,
zlevel: 1
};
/** 防淹门 */
deviceRender[deviceType.FloodGate] = {
_type: deviceType.FloodGate,
zlevel: 1
};
/** 方向杆 */
deviceRender[deviceType.DirectionRod] = {
_type: deviceType.DirectionRod,
zlevel: 1
};
/** 应答器*/
deviceRender[deviceType.Responder] = {
_type: deviceType.Responder,
zlevel: 1
};
/** 信号按钮 */
deviceRender[deviceType.SignalButton] = {
_type: deviceType.SignalButton,
zlevel: 1
};
/** 指示灯 */
deviceRender[deviceType.IndicatorLight] = {
_type: deviceType.IndicatorLight,
zlevel: 1
};
export default deviceRender;