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
|
|
|
|
};
|
|
|
|
|
2019-11-29 12:51:58 +08:00
|
|
|
export default deviceRender;
|