103 lines
2.1 KiB
JavaScript
103 lines
2.1 KiB
JavaScript
import deviceType from './deviceType';
|
|
|
|
const deviceRender = {};
|
|
|
|
/** CheckBox渲染配置 */
|
|
deviceRender[deviceType.CheckBox] = {
|
|
_type: deviceType.CheckBox,
|
|
zlevel: 10,
|
|
z: 0
|
|
};
|
|
/** 手动报警按钮渲染配置*/
|
|
deviceRender[deviceType.ManualAlarmButton] = {
|
|
_type: deviceType.ManualAlarmButton,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 消火栓报警按钮渲染配置 */
|
|
deviceRender[deviceType.FireHydranAlarmButton] = {
|
|
_type: deviceType.FireHydranAlarmButton,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 气体灭火渲染配置 */
|
|
deviceRender[deviceType.GasFireControl] = {
|
|
_type: deviceType.GasFireControl,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 烟感探测器渲染配置 */
|
|
deviceRender[deviceType.SmokeDetector] = {
|
|
_type: deviceType.SmokeDetector,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 温度探测器渲染配置 */
|
|
deviceRender[deviceType.TemperatureDetector] = {
|
|
_type: deviceType.TemperatureDetector,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 屏蔽门渲染配置 */
|
|
deviceRender[deviceType.PlatformScreenDoor] = {
|
|
_type: deviceType.PlatformScreenDoor,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
/** 冷冻泵/冷却泵渲染配置 */
|
|
deviceRender[deviceType.FrozenPump] = {
|
|
_type: deviceType.FrozenPump,
|
|
zlevel: 10,
|
|
z: 0
|
|
};
|
|
|
|
/** IbpText渲染配置*/
|
|
deviceRender[deviceType.Vidicon] = {
|
|
_type: deviceType.Vidicon,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
/** 排风机渲染配置*/
|
|
deviceRender[deviceType.Ventilator] = {
|
|
_type: deviceType.Ventilator,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** VidiconCloud渲染配置*/
|
|
deviceRender[deviceType.VidiconCloud] = {
|
|
_type: deviceType.VidiconCloud,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
/** 冷水机渲染配置*/
|
|
deviceRender[deviceType.Chiller] = {
|
|
_type: deviceType.Chiller,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
/** 冷却塔渲染配置*/
|
|
deviceRender[deviceType.CoolTower] = {
|
|
_type: deviceType.CoolTower,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 端头门渲染配置*/
|
|
deviceRender[deviceType.EndDoor] = {
|
|
_type: deviceType.EndDoor,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
/** 圆角边框渲染配置 */
|
|
deviceRender[deviceType.BorderRadius] = {
|
|
_type: deviceType.BorderRadius,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
export default deviceRender;
|