rt-sim-training-client/src/jmap/config/deviceRender.js

48 lines
774 B
JavaScript
Raw Normal View History

2019-07-08 09:38:39 +08:00
import deviceType from './deviceType';
const deviceRender = {};
2019-07-15 10:06:07 +08:00
/** link渲染配置*/
2019-07-08 09:38:39 +08:00
deviceRender[deviceType.Link] = {
2019-07-15 10:06:07 +08:00
zlevel: 0,
2019-07-11 17:58:58 +08:00
progressive: 1
2019-07-08 09:38:39 +08:00
};
2019-07-15 10:06:07 +08:00
/** 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,
}
2019-07-08 09:38:39 +08:00
export default deviceRender;