systemConf.js 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. /**
  2. * 项目配置文件
  3. * 主要修改设备类的图标
  4. * @author yunxing
  5. *
  6. * eg:
  7. * 如果新增一个设备类的样式,在 __systemConf 下的 equipStyle 中新增一个对象(新增时放到代码的最下边)
  8. * equipStyle :{
  9. * defaultEquipStyle,
  10. * ...
  11. * //新增的设备类样式
  12. *
  13. * // 通风风口
  14. AAAAAA: {
  15. color: "#1F2429",
  16. size: 12,
  17. url: "1611299075489.svg", // 对应文件服务器中,图片对应的的键值 -----只需要改动此值即可,其他值使用统一的
  18. formula: [],
  19. },
  20. *
  21. * }
  22. */
  23. // eslint-disable-next-line no-var
  24. var __systemConf = {
  25. // 设备类样式,
  26. equipStyle: {
  27. // 默认设备类样式 (设备类名匹配不到时,使用默认类图标 比如: 文件服务器中没有油烟机的图标时,使用此默认样式)
  28. defaultEquipStyle: {
  29. color: "#1F2429",
  30. size: 12,
  31. url: "1611558340113.svg", // 对应文件服务器中,图片对应的的键值
  32. formula: [],
  33. },
  34. // 空调机组
  35. ACATAH: {
  36. color: "#1F2429",
  37. size: 12,
  38. url: "1611310993135.svg",
  39. formula: [],
  40. },
  41. // 新风机组
  42. ACATFU: {
  43. color: "#1F2429",
  44. size: 12,
  45. url: "1611310993094.svg",
  46. formula: [],
  47. },
  48. // 风机盘管
  49. ACATFC: {
  50. color: "#1F2429",
  51. size: 12,
  52. url: "1611310993150.svg",
  53. formula: [],
  54. },
  55. // 通风风机
  56. ACVTSF: {
  57. color: "#1F2429",
  58. size: 12,
  59. url: "1611310993108.svg",
  60. formula: [],
  61. },
  62. // 热风幕
  63. ACVTAC: {
  64. color: "#1F2429",
  65. size: 12,
  66. url: "1611310993120.svg",
  67. formula: [],
  68. },
  69. // 温度传感器
  70. OTSETP: {
  71. color: "#1F2429",
  72. size: 12,
  73. url: "1611310993105.svg",
  74. formula: [],
  75. },
  76. // 湿度传感器
  77. OTSERH: {
  78. color: "#1F2429",
  79. size: 12,
  80. url: "1611310993112.svg",
  81. formula: [],
  82. },
  83. // 浓度传感器
  84. OTSECT: {
  85. color: "#1F2429",
  86. size: 12,
  87. url: "1611310993125.svg",
  88. formula: [],
  89. },
  90. // 监控摄像头
  91. SPVSCM: {
  92. color: "#1F2429",
  93. size: 12,
  94. url: "1611310993139.svg",
  95. formula: [],
  96. },
  97. // 生活给水储水箱
  98. WSDWWT: {
  99. color: "#1F2429",
  100. size: 12,
  101. url: "1611310993117.svg",
  102. formula: [],
  103. },
  104. // 生活给水水泵
  105. WSDWPP: {
  106. color: "#1F2429",
  107. size: 12,
  108. url: "1611310993115.svg",
  109. formula: [],
  110. },
  111. // 生活热水水泵
  112. WSDHHP: {
  113. color: "#1F2429",
  114. size: 12,
  115. url: "1611310993114.svg",
  116. formula: [],
  117. },
  118. // 位移传感器
  119. OTSEDP: {
  120. color: "#1F2429",
  121. size: 12,
  122. url: "1611310993107.svg",
  123. formula: [],
  124. },
  125. // 污废水一体式提升机组
  126. WSSTLU: {
  127. color: "#1F2429",
  128. size: 12,
  129. url: "1611310993104.svg",
  130. formula: [],
  131. },
  132. // 潜污泵
  133. WSSTSP: {
  134. color: "#1F2429",
  135. size: 12,
  136. url: "1611310993122.svg",
  137. formula: [],
  138. },
  139. // 集水坑
  140. WSSTCP: {
  141. color: "#1F2429",
  142. size: 12,
  143. url: "1611310993142.svg",
  144. formula: [],
  145. },
  146. // 隔油池
  147. WSSTOS: {
  148. color: "#1F2429",
  149. size: 12,
  150. url: "1611310993145.svg",
  151. formula: [],
  152. },
  153. // 照明控制箱
  154. SELTCU: {
  155. color: "#1F2429",
  156. size: 12,
  157. url: "1611310993091.svg",
  158. formula: [],
  159. },
  160. // 直梯
  161. SEELEL: {
  162. color: "#1F2429",
  163. size: 12,
  164. url: "1611310993087.svg",
  165. formula: [],
  166. },
  167. // 扶梯
  168. SEELES: {
  169. color: "#1F2429",
  170. size: 12,
  171. url: "1611310993148.svg",
  172. formula: [],
  173. },
  174. // 变压器
  175. SETDTF: {
  176. color: "#1F2429",
  177. size: 12,
  178. url: "1611310993155.svg",
  179. formula: [],
  180. },
  181. // 高压开关柜
  182. SETDHS: {
  183. color: "#1F2429",
  184. size: 12,
  185. url: "1611310993146.svg",
  186. formula: [],
  187. },
  188. // 直流屏
  189. SETDDS: {
  190. color: "#1F2429",
  191. size: 12,
  192. url: "1611310993089.svg",
  193. formula: [],
  194. },
  195. // 消火栓供水加压泵
  196. FFFSHP: {
  197. color: "#1F2429",
  198. size: 12,
  199. url: "1611310993097.svg",
  200. formula: [],
  201. },
  202. // 喷淋供水加压泵
  203. FFFSSP: {
  204. color: "#1F2429",
  205. size: 12,
  206. url: "1611310993124.svg",
  207. formula: [],
  208. },
  209. // 消防水箱
  210. FFFSWT: {
  211. color: "#1F2429",
  212. size: 12,
  213. url: "1611310993099.svg",
  214. formula: [],
  215. },
  216. // 消防喷头
  217. FFFSSN: {
  218. color: "#1F2429",
  219. size: 12,
  220. url: "1611310993102.svg",
  221. formula: [],
  222. },
  223. // 窗
  224. CFBEWN: {
  225. color: "#1F2429",
  226. size: 12,
  227. url: "1611310993153.svg",
  228. formula: [],
  229. },
  230. // 楼梯
  231. CFCSSW: {
  232. color: "#1F2429",
  233. size: 12,
  234. url: "1611310993134.svg",
  235. formula: [],
  236. },
  237. // 消火栓箱
  238. FFFSHB: {
  239. color: "#1F2429",
  240. size: 12,
  241. url: "1611310993096.svg",
  242. formula: [],
  243. },
  244. // 防火卷帘门
  245. FFFRFR: {
  246. color: "#1F2429",
  247. size: 12,
  248. url: "1611310993151.svg",
  249. formula: [],
  250. },
  251. // 火灾探测器
  252. FFFASE: {
  253. color: "#1F2429",
  254. size: 12,
  255. url: "1611310993143.svg",
  256. formula: [],
  257. },
  258. // 消防手动报警按钮
  259. FFFAMA: {
  260. color: "#1F2429",
  261. size: 12,
  262. url: "1611310993100.svg",
  263. formula: [],
  264. },
  265. // 监控主机
  266. SPVSHT: {
  267. color: "#1F2429",
  268. size: 12,
  269. url: "1611310993137.svg",
  270. formula: [],
  271. },
  272. // 监控前端设备
  273. SPVSFE: {
  274. color: "#1F2429",
  275. size: 12,
  276. url: "1611310993140.svg",
  277. formula: [],
  278. },
  279. // 硬盘录像机
  280. SPVSDR: {
  281. color: "#1F2429",
  282. size: 12,
  283. url: "1611310993092.svg",
  284. formula: [],
  285. },
  286. // 门禁主机
  287. SPEGHT: {
  288. color: "#1F2429",
  289. size: 12,
  290. url: "1611310993127.svg",
  291. formula: [],
  292. },
  293. // 门禁控制箱
  294. SPEGCU: {
  295. color: "#1F2429",
  296. size: 12,
  297. url: "1611310993131.svg",
  298. formula: [],
  299. },
  300. // 门禁门锁
  301. SPEGDL: {
  302. color: "#1F2429",
  303. size: 12,
  304. url: "1611310993129.svg",
  305. formula: [],
  306. },
  307. // 人流量传感器
  308. OTSEPF: {
  309. color: "#1F2429",
  310. size: 12,
  311. url: "1611310993119.svg",
  312. formula: [],
  313. },
  314. },
  315. };
  316. window.__systemConf = __systemConf;