113 lines
1.8 KiB
JavaScript
113 lines
1.8 KiB
JavaScript
import deviceType from './deviceType';
|
|
|
|
const deviceRender = {};
|
|
|
|
/** link渲染配置*/
|
|
deviceRender[deviceType.Link] = {
|
|
zlevel: 0,
|
|
progressive: 1
|
|
};
|
|
|
|
/** Section渲染配置*/
|
|
deviceRender[deviceType.Section] = {
|
|
zlevel: 1,
|
|
progressive: 2
|
|
};
|
|
|
|
/** Signal渲染配置*/
|
|
deviceRender[deviceType.Signal] = {
|
|
zlevel: 1,
|
|
progressive: 3
|
|
};
|
|
|
|
/** Switch渲染配置*/
|
|
deviceRender[deviceType.Switch] = {
|
|
zlevel: 3,
|
|
progressive: 5
|
|
};
|
|
|
|
/** Station渲染配置*/
|
|
deviceRender[deviceType.Station] = {
|
|
zlevel: 1,
|
|
progressive: 4
|
|
};
|
|
|
|
/** StationStand渲染配置*/
|
|
deviceRender[deviceType.StationStand] = {
|
|
zlevel: 1,
|
|
progressive: 5
|
|
};
|
|
|
|
/** StationControl渲染配置*/
|
|
deviceRender[deviceType.StationControl] = {
|
|
zlevel: 1,
|
|
progressive: 4
|
|
};
|
|
|
|
/** ImageControl渲染配置*/
|
|
deviceRender[deviceType.ImageControl] = {
|
|
zlevel: 1,
|
|
progressive: 5
|
|
};
|
|
|
|
/** ZcControl渲染配置*/
|
|
deviceRender[deviceType.ZcControl] = {
|
|
zlevel: 1,
|
|
progressive: 6
|
|
};
|
|
|
|
/** LcControl渲染配置*/
|
|
deviceRender[deviceType.LcControl] = {
|
|
zlevel: 1,
|
|
progressive: 6
|
|
};
|
|
|
|
/** LimitControl渲染配置*/
|
|
deviceRender[deviceType.LimitControl] = {
|
|
zlevel: 1,
|
|
progressive: 5
|
|
};
|
|
|
|
/** StationDelayUnlock渲染配置*/
|
|
deviceRender[deviceType.StationDelayUnlock] = {
|
|
zlevel: 1,
|
|
progressive: 6
|
|
};
|
|
|
|
/** Train渲染配置*/
|
|
deviceRender[deviceType.Train] = {
|
|
zlevel: 1,
|
|
progressive: 9
|
|
};
|
|
|
|
/** TrainWindow渲染配置*/
|
|
deviceRender[deviceType.TrainWindow] = {
|
|
zlevel: 1,
|
|
progressive: 8
|
|
};
|
|
|
|
/** Line渲染配置*/
|
|
deviceRender[deviceType.Line] = {
|
|
zlevel: 1,
|
|
progressive: 7
|
|
};
|
|
|
|
/** Text渲染配置*/
|
|
deviceRender[deviceType.Text] = {
|
|
zlevel: 1,
|
|
progressive: 7
|
|
};
|
|
|
|
/** TrainWindow渲染配置*/
|
|
deviceRender[deviceType.TrainWindow] = {
|
|
zlevel: 5,
|
|
progressive: 4
|
|
};
|
|
/** Train渲染配置*/
|
|
deviceRender[deviceType.TRain] = {
|
|
zlevel: 6,
|
|
progressive: 4
|
|
};
|
|
|
|
export default deviceRender;
|