337 lines
6.7 KiB
JavaScript
337 lines
6.7 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
|
|
};
|
|
|
|
/** 轨道排风机 */
|
|
deviceRender[deviceType.OrbitalVentilator] = {
|
|
_type: deviceType.OrbitalVentilator,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 射流风机 */
|
|
deviceRender[deviceType.JetFan] = {
|
|
_type: deviceType.JetFan,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 隧道风机 */
|
|
deviceRender[deviceType.TunnelFan] = {
|
|
_type: deviceType.TunnelFan,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 防火阀 */
|
|
deviceRender[deviceType.FireDamper] = {
|
|
_type: deviceType.FireDamper,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
/** 排烟防火阀 */
|
|
deviceRender[deviceType.SmookExhaustFd] = {
|
|
_type: deviceType.SmookExhaustFd,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
/** 防烟防火阀 */
|
|
deviceRender[deviceType.SmookProofFd] = {
|
|
_type: deviceType.SmookProofFd,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
/** 闸机渲染配置 */
|
|
deviceRender[deviceType.BrakeMachine] = {
|
|
_type: deviceType.BrakeMachine,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 门禁渲染配置 */
|
|
deviceRender[deviceType.EntranceGuard] = {
|
|
_type: deviceType.EntranceGuard,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 自动售货机渲染配置 */
|
|
deviceRender[deviceType.TicketMachine] = {
|
|
_type: deviceType.TicketMachine,
|
|
zlevel: 1,
|
|
z:4
|
|
};
|
|
/** 半自动售货机渲染配置 */
|
|
deviceRender[deviceType.SemiAutomaticTicketMachine] = {
|
|
_type: deviceType.SemiAutomaticTicketMachine,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 空调机渲染配置 */
|
|
deviceRender[deviceType.AirConditioner] = {
|
|
_type: deviceType.AirConditioner,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 风量调节阀 */
|
|
deviceRender[deviceType.VolumeControlDamper] = {
|
|
_type: deviceType.VolumeControlDamper,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
/** 文字 */
|
|
deviceRender[deviceType.IscsText] = {
|
|
_type: deviceType.IscsText,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 线段渲染配置 */
|
|
deviceRender[deviceType.IscsLine] = {
|
|
_type: deviceType.IscsLine,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 矩形渲染配置 */
|
|
deviceRender[deviceType.IscsRect] = {
|
|
_type: deviceType.IscsRect,
|
|
zlevel:1,
|
|
z: 3
|
|
};
|
|
/** 楼梯 */
|
|
deviceRender[deviceType.Escalator] = {
|
|
_type: deviceType.Escalator,
|
|
zlevel:1,
|
|
z: 4
|
|
};
|
|
/** 通道 */
|
|
deviceRender[deviceType.StairControl] = {
|
|
_type: deviceType.StairControl,
|
|
zlevel:1,
|
|
z: 4
|
|
};
|
|
/** fas 闸机 */
|
|
deviceRender[deviceType.FasBrakeMachine] = {
|
|
_type: deviceType.FasBrakeMachine,
|
|
zlevel:1,
|
|
z: 4
|
|
};
|
|
|
|
/** 扶梯 */
|
|
deviceRender[deviceType.Staircase] = {
|
|
_type: deviceType.Staircase,
|
|
zlevel:1,
|
|
z: 4
|
|
};
|
|
/** 单向楼梯 */
|
|
deviceRender[deviceType.SingleStaircase] = {
|
|
_type: deviceType.SingleStaircase,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
deviceRender[deviceType.ArcStatus] = {
|
|
_type: deviceType.ArcStatus,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
/** 按钮 */
|
|
deviceRender[deviceType.IscsButton] = {
|
|
_type: deviceType.IscsButton,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
/** 状态表 */
|
|
deviceRender[deviceType.StateTable] = {
|
|
_type: deviceType.StateTable,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
/** 照明组 */
|
|
deviceRender[deviceType.LightingGroup] = {
|
|
_type: deviceType.LightingGroup,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
/** 平衡电动阀 */
|
|
deviceRender[deviceType.BalancedElectric] = {
|
|
_type: deviceType.BalancedElectric,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
/** 电动蝶阀 */
|
|
deviceRender[deviceType.ElectricButterflyValve] = {
|
|
_type: deviceType.ElectricButterflyValve,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
// 水池
|
|
deviceRender[deviceType.Cistern] = {
|
|
_type: deviceType.Cistern,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
// 电动阀
|
|
deviceRender[deviceType.Electrically] = {
|
|
_type: deviceType.Electrically,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
// 扶梯
|
|
deviceRender[deviceType.Stairs] = {
|
|
_type: deviceType.Stairs,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
// 电梯
|
|
deviceRender[deviceType.Elevator] = {
|
|
_type: deviceType.Elevator,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
// 风机
|
|
deviceRender[deviceType.Draught] = {
|
|
_type: deviceType.Draught,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
// 图片
|
|
deviceRender[deviceType.IscsImage] = {
|
|
_type: deviceType.IscsImage,
|
|
zlevel: 1,
|
|
z: 5
|
|
};
|
|
// 福州iscs扇门
|
|
deviceRender[deviceType.OrdinaryDoor] = {
|
|
_type: deviceType.OrdinaryDoor,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
// 福州门禁
|
|
deviceRender[deviceType.FuzhouDoor] = {
|
|
_type: deviceType.FuzhouDoor,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
// 福州通讯图符
|
|
deviceRender[deviceType.CommunicationButcher] = {
|
|
_type: deviceType.CommunicationButcher,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
// 福州afc门禁单元
|
|
deviceRender[deviceType.AfcDoorUnite] = {
|
|
_type: deviceType.AfcDoorUnite,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
// 福州矩形文字
|
|
deviceRender[deviceType.RectText] = {
|
|
_type: deviceType.RectText,
|
|
zlevel: 1,
|
|
z: 4
|
|
};
|
|
|
|
/** 福州 三角形 */
|
|
deviceRender[deviceType.IscsTriangle] = {
|
|
_type: deviceType.IscsTriangle,
|
|
zlevel:1,
|
|
z: 5
|
|
};
|
|
export default deviceRender;
|