127 lines
2.4 KiB
JavaScript
127 lines
2.4 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.Automactic] = {
|
|
_type: deviceType.Automactic,
|
|
zlevel: 1
|
|
};
|
|
|
|
|
|
export default deviceRender;
|