2020-01-14 09:06:03 +08:00
|
|
|
import deviceType from './deviceType';
|
|
|
|
|
|
|
|
const deviceRender = {};
|
|
|
|
|
2020-01-15 14:33:21 +08:00
|
|
|
/** CheckBox渲染配置 */
|
|
|
|
deviceRender[deviceType.CheckBox] = {
|
|
|
|
_type: deviceType.CheckBox,
|
|
|
|
zlevel: 10,
|
|
|
|
z: 0
|
|
|
|
};
|
2020-01-16 09:23:37 +08:00
|
|
|
/** 手动报警按钮渲染配置*/
|
2020-01-15 10:11:26 +08:00
|
|
|
deviceRender[deviceType.ManualAlarmButton] = {
|
|
|
|
_type: deviceType.ManualAlarmButton,
|
|
|
|
zlevel: 1,
|
|
|
|
z: 4
|
|
|
|
};
|
2020-01-16 09:23:37 +08:00
|
|
|
/** 消火栓报警按钮渲染配置 */
|
|
|
|
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
|
|
|
|
};
|
2020-01-16 13:03:44 +08:00
|
|
|
/** 屏蔽门渲染配置 */
|
|
|
|
deviceRender[deviceType.PlatformScreenDoor] = {
|
|
|
|
_type: deviceType.PlatformScreenDoor,
|
|
|
|
zlevel: 1,
|
|
|
|
z: 4
|
|
|
|
};
|
2020-01-15 10:11:26 +08:00
|
|
|
|
2020-01-16 13:15:52 +08:00
|
|
|
/** FrozenPump渲染配置 */
|
|
|
|
deviceRender[deviceType.FrozenPump] = {
|
|
|
|
_type: deviceType.FrozenPump,
|
|
|
|
zlevel: 10,
|
|
|
|
z: 0
|
|
|
|
};
|
2020-01-15 10:11:26 +08:00
|
|
|
|
2020-01-16 14:52:45 +08:00
|
|
|
/** IbpText渲染配置*/
|
|
|
|
deviceRender[deviceType.Vidicon] = {
|
|
|
|
_type: deviceType.Vidicon,
|
|
|
|
zlevel: 1,
|
|
|
|
z: 4
|
|
|
|
};
|
|
|
|
|
2020-01-14 09:06:03 +08:00
|
|
|
export default deviceRender;
|