InterfaceReturn.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. [
  2. {
  3. "type": "CircuitBreakerSvg",
  4. "title": "断路器",
  5. "template": "<rect x='-10' y='-20' width='20' height='40' :fill='svg_color' :stroke='svg_color' stroke-width='2' data-v-d903d4f8=''></rect>",
  6. "props": [
  7. "svg_color"
  8. ],
  9. "default_color": "#00FF00",
  10. "fontSize": 1,
  11. "height": 40,
  12. "svgText": "",
  13. "priview_img": "/vuefiv/CircuitBreakerSvg.png"
  14. },
  15. {
  16. "type": "VerticalLineSvg",
  17. "title": "竖线",
  18. "template": "<line x1='0' y1='-25' x2='0' y2='25' fill='none' :stroke='svg_color' stroke-width='2' data-v-d903d4f8=''></line>",
  19. "props": [
  20. "svg_color"
  21. ],
  22. "default_color": "#FF0000",
  23. "fontSize": 1,
  24. "height": 150,
  25. "svgText": "",
  26. "priview_img": "/vuefiv/VerticalLineSvg.png"
  27. },
  28. {
  29. "type": "TextSvg",
  30. "title": "文字",
  31. "template": "<text x='-50' y='25' font-size='50' :fill='svg_color' data-v-d903d4f8=''></text>",
  32. "props": [
  33. "svg_color"
  34. ],
  35. "default_color": "#FF0000",
  36. "fontSize": 50,
  37. "height": 1,
  38. "svgText": "文字",
  39. "priview_img": "/vuefiv/TextSvg.png"
  40. },
  41. {
  42. "type": "IsolatingSwitchSvg",
  43. "title": "隔离开关",
  44. "template": "<line x1='0' y1='-20' x2='0' y2='0' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='-10' y1='0' x2='6.666666666666667' y2='0' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='20' x2='-10' y2='5' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='40' x2='0' y2='20' fill='none' :stroke='svg_color' stroke-width='2'></line>",
  45. "props": [
  46. "svg_color"
  47. ],
  48. "default_color": "#00FF00",
  49. "fontSize": 1,
  50. "height": 20,
  51. "svgText": "",
  52. "priview_img": "/vuefiv/IsolatingSwitchSvg.png"
  53. },
  54. {
  55. "type": "LightningArresterSvg",
  56. "title": "避雷器",
  57. "template": "<rect x='-7' y='-14' width='15' height='35' fill='none' :stroke='svg_color' stroke-width='2'></rect><line x1='0' y1='-21' x2='0' y2='0' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='21' x2='0' y2='28' fill='none' :stroke='svg_color' stroke-width='2'></line><polyline points='-1,-7 0,0 1,-7' fill='none' :stroke='svg_color' stroke-width='2'></polyline>",
  58. "props": [
  59. "svg_color"
  60. ],
  61. "default_color": "#FF0000",
  62. "fontSize": 1,
  63. "height": 7,
  64. "svgText": "",
  65. "priview_img": "/vuefiv/LightningArresterSvg.png"
  66. },
  67. {
  68. "type": "StandardCapacitorSvg",
  69. "title": "标准电容器",
  70. "template": "<line x1='0' y1='-12' x2='0' y2='-3' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='-9' y1='-3' x2='9' y2='-3' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='-9' y1='3' x2='9' y2='3' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='12' x2='0' y2='3' fill='none' :stroke='svg_color' stroke-width='2'></line>",
  71. "props": [
  72. "svg_color"
  73. ],
  74. "default_color": "#FF0000",
  75. "fontSize": 1,
  76. "height": 3,
  77. "svgText": "",
  78. "priview_img": "/vuefiv/StandardCapacitorSvg.png"
  79. },
  80. {
  81. "type": "WireBreakOffSvg",
  82. "title": "电线开关",
  83. "template": "<line x1='0' y1='-40' x2='0' y2='-15' fill='none' stroke='#FF0000' stroke-width='2'></line><line x1='0' y1='15' x2='-10' y2='-15' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='45' x2='0' y2='15' fill='none' :stroke='svg_color' stroke-width='2'></line>",
  84. "props": [
  85. "svg_color"
  86. ],
  87. "default_color": "#00FF00",
  88. "fontSize": 1,
  89. "height": 5,
  90. "svgText": "",
  91. "priview_img": "/vuefiv/WireBreakOffSvg.png"
  92. },
  93. {
  94. "type": "WireConnectionSvg",
  95. "title": "电线开关",
  96. "template": "<line x1='0' y1='-40' x2='0' y2='-15' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='15' x2='0' y2='-15' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='45' x2='0' y2='15' fill='none' :stroke='svg_color' stroke-width='2'></line>",
  97. "props": [
  98. "svg_color"
  99. ],
  100. "default_color": "#FF0000",
  101. "fontSize": 1,
  102. "height": 5,
  103. "svgText": "",
  104. "priview_img": "/vuefiv/WireBreakOffSvg.png"
  105. },
  106. {
  107. "type": "TableSvg",
  108. "title": "表格",
  109. "template": "<foreignObject x='0' y='0' ></foreignObject>",
  110. "props": [
  111. "svg_color"
  112. ],
  113. "default_color": "#CCCC33",
  114. "fontSize": 1,
  115. "height": 0,
  116. "svgText": "",
  117. "priview_img": "/vuefiv/TableSvg.png"
  118. },
  119. {
  120. "type": "HorizontalLineSvg",
  121. "title": "横线",
  122. "template": "<line x1='-75' y1='0' x2='75' y2='0' fill='none' :stroke='svg_color' stroke-width='2' data-v-d903d4f8=''></line>",
  123. "props": [
  124. "svg_color"
  125. ],
  126. "default_color": "#FF0000",
  127. "fontSize": 1,
  128. "height": 150,
  129. "svgText": "",
  130. "priview_img": "/vuefiv/HorizontalLineSvg.png"
  131. },
  132. {
  133. "type": "PolylineUpSvg",
  134. "title": "多段向上折线",
  135. "template": "<polyline points='0,7 13,-7 26,7' fill='none' :stroke='svg_color' stroke-width='2' transform='translate(-13,0)'></polyline><polyline points='0,7 13,-7 26,7' fill='none' :stroke='svg_color' stroke-width='2' transform='translate(-13,8)'></polyline>",
  136. "props": [
  137. "svg_color"
  138. ],
  139. "default_color": "#FF0000",
  140. "fontSize": 1,
  141. "height": 7,
  142. "svgText": "",
  143. "priview_img": "/vuefiv/PolylineUpSvg.png"
  144. },
  145. {
  146. "type": "PolylineDownSvg",
  147. "title": "多段向下折线",
  148. "template": "<polyline points='0,7 13,22 26,7' fill='none' stroke='#FF0000' stroke-width='2' transform='translate(-13,0)'></polyline><polyline points='0,7 13,22 26,7' fill='none' stroke='#FF0000' stroke-width='2' transform='translate(-13,8)'></polyline>",
  149. "props": [
  150. "svg_color"
  151. ],
  152. "default_color": "#FF0000",
  153. "fontSize": 1,
  154. "height": 7,
  155. "svgText": "",
  156. "priview_img": "/vuefiv/PolylineDownSvg.png"
  157. },
  158. {
  159. "type": "ArrowDownSvg",
  160. "title": "箭头向下",
  161. "template": "<polygon points='0,-8 5,0 10,-8' :fill='svg_color' :stroke='svg_color' stroke-width='2' transform='translate(-5,0)'></polygon>",
  162. "props": [
  163. "svg_color"
  164. ],
  165. "default_color": "#FF0000",
  166. "fontSize": 1,
  167. "height": 2,
  168. "svgText": "",
  169. "priview_img": "/vuefiv/ArrowDownSvg.png"
  170. },
  171. {
  172. "type": "ArrowUpSvg",
  173. "title": "箭头向上",
  174. "template": "<polygon points='0,8 5,0 10,8' :fill='svg_color' :stroke='svg_color' stroke-width='2' transform='translate(-5,0)'></polygon>",
  175. "props": [
  176. "svg_color"
  177. ],
  178. "default_color": "#FF0000",
  179. "fontSize": 1,
  180. "height": 2,
  181. "svgText": "",
  182. "priview_img": "/vuefiv/ArrowUpSvg.png"
  183. },
  184. {
  185. "type": "GroundGraySvg",
  186. "title": "接地灰白",
  187. "template": "<line x1='9' y1='9' x2='9' y2='0' fill='none' :stroke='svg_color' stroke-width='2' transform='translate(-9,-6)'></line><line x1='0' y1='9' x2='18' y2='9' fill='none' :stroke='svg_color' stroke-width='2' transform='translate(-9,-6)'></line><line x1='3' y1='15' x2='15' y2='15' fill='none' :stroke='svg_color' stroke-width='2' transform='translate(-9,-6)'></line><line x1='6' y1='21' x2='12' y2='21' fill='none' :stroke='svg_color' stroke-width='2' transform='translate(-9,-6)'></line>",
  188. "props": [
  189. "svg_color"
  190. ],
  191. "default_color": "#CCCCCC",
  192. "fontSize": 1,
  193. "height": 3,
  194. "svgText": "",
  195. "priview_img": "/vuefiv/GroundGraySvg.png"
  196. },
  197. {
  198. "type": "SignalLamp",
  199. "title": "信号灯",
  200. "template": "<ellipse cx='7' cy='22' rx='12' ry='12' fill='none' :stroke='svg_color' stroke-width='2' transform='translate(-7,-22)'></ellipse><line x1='0' y1='30' x2='15' y2='15' fill='none' :stroke='svg_color' stroke-width='2' transform='translate(-7,-22)'></line><line x1='15' y1='30' x2='0' y2='15' fill='none' :stroke='svg_color' stroke-width='2' transform='translate(-7,-22)'></line>",
  201. "props": [
  202. "svg_color"
  203. ],
  204. "default_color": "#FF0000",
  205. "fontSize": 1,
  206. "height": 3,
  207. "svgText": "",
  208. "priview_img": "/vuefiv/SignalLamp.png"
  209. },
  210. {
  211. "type": "RectSvg",
  212. "title": "长方形",
  213. "template": "<rect x='-5' y='-15' width='10' height='30' fill='none' :stroke='svg_color' stroke-width='2' stroke-linecap='round' data-v-d903d4f8=''></rect>",
  214. "props": [
  215. "svg_color"
  216. ],
  217. "height": 30,
  218. "default_color": "#FF0000",
  219. "priview_img": "/vuefiv/RectSvg.png"
  220. },
  221. {
  222. "type": "TwoCircleSvg",
  223. "title": "双圆",
  224. "template": "<ellipse cx='0' cy='-4.5' rx='6' ry='6' fill='none' :stroke='svg_color' stroke-width='2'></ellipse><ellipse cx='0' cy='4.5' rx='6' ry='6' fill='none' :stroke='svg_color' stroke-width='2'></ellipse>",
  225. "props": [
  226. "svg_color"
  227. ],
  228. "default_color": "#FF0000",
  229. "fontSize": 1,
  230. "height": 3,
  231. "svgText": "",
  232. "priview_img": "/vuefiv/TwoCircleSvg.png"
  233. },
  234. {
  235. "type": "TransformerYSvg",
  236. "title": "电流互感器y",
  237. "template": "<ellipse cx='0' cy='0' rx='10' ry='10' fill='none' :stroke='svg_color' stroke-width='2'></ellipse><line x1='5' y1='-5' x2='0' y2='0' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='-5' y1='-5' x2='0' y2='0' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='0' x2='0' y2='5' fill='none' :stroke='svg_color' stroke-width='2'></line>",
  238. "props": [
  239. "svg_color"
  240. ],
  241. "default_color": "#FF0000",
  242. "fontSize": 1,
  243. "height": 5,
  244. "svgText": "",
  245. "priview_img": "/vuefiv/TransformerY.png"
  246. },
  247. {
  248. "type": "TransformerTriphaseOpen",
  249. "title": "三相互感器开口",
  250. "template": "<ellipse cx='0' cy='0' rx='10' ry='10' fill='none' :stroke='svg_color' stroke-width='2'></ellipse><line x1='-2' y1='-6' x2='-2' y2='6' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='-2' y1='-6' x2='4' y2='0' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='4' y1='2' x2='-2' y2='6' fill='none' :stroke='svg_color' stroke-width='2'></line>",
  251. "props": [
  252. "svg_color"
  253. ],
  254. "default_color": "#FF0000",
  255. "fontSize": 1,
  256. "height": 2,
  257. "svgText": "",
  258. "priview_img": "/vuefiv/TransformerTriphaseOpen.png"
  259. },
  260. {
  261. "type": "DoubleWindingSvg",
  262. "title": "双绕组变压器",
  263. "template": "<ellipse cx='0' cy='-20' rx='25' ry='25' fill='none' :stroke='svg_color' stroke-width='2'></ellipse><ellipse cx='0' cy='20' rx='25' ry='25' fill='none' :stroke='svg_color' stroke-width='2'></ellipse><polygon points='10,-30 0,-10 -10,-30' fill='none' :stroke='svg_color' stroke-width='2'></polygon><line x1='0' y1='20' x2='0' y2='35' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='20' x2='-10' y2='10' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='20' x2='10' y2='10' fill='none' :stroke='svg_color' stroke-width='2'></line>",
  264. "props": [
  265. "svg_color"
  266. ],
  267. "default_color": "#FF0000",
  268. "fontSize": 1,
  269. "height": 5,
  270. "svgText": "",
  271. "priview_img": "/vuefiv/DoubleWindingSvg.png"
  272. },
  273. {
  274. "type": "DoubleWindingSvgB",
  275. "title": "双绕组变压器B",
  276. "template": "<ellipse cx='0' cy='-20' rx='25' ry='25' fill='none' :stroke='svg_color' stroke-width='2'></ellipse><ellipse cx='0' cy='20' rx='25' ry='25' fill='none' :stroke='svg_color' stroke-width='2'></ellipse><polygon points='10,30 0,10-10,30' fill='none' :stroke='svg_color' stroke-width='2'></polygon><line x1='0' y1='-20' x2='0' y2='-35' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='-20' x2='10' y2='-10' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='0' y1='-20' x2='-10' y2='-10' fill='none' :stroke='svg_color' stroke-width='2'></line>",
  277. "props": [
  278. "svg_color"
  279. ],
  280. "default_color": "#FF0000",
  281. "fontSize": 1,
  282. "height": 5,
  283. "svgText": "",
  284. "priview_img": "/vuefiv/DoubleWindingSvgB.png"
  285. },
  286. {
  287. "type": "GGJSvg",
  288. "title": "电容柜",
  289. "template": "<line x1='0.5' y1='-25' x2='-9.5' y2='-13' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='-0.5' y1='-26' x2='9.5' y2='-13' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='-12' y1='-17' x2='-6' y2='-8' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='-15' y1='-12' x2='-11' y2='-3' fill='none' :stroke='svg_color' stroke-width='2'></line><polyline points='-13,-8 -22,3 -22,5' fill='none' :stroke='svg_color' stroke-width='2'></polyline><line x1='-21' y1='4' x2='-4' y2='4' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='-5' y1='-2' x2='-5' y2='11' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='3' y1='-2' x2='3' y2='11' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='4' y1='4' x2='21' y2='4' fill='none' :stroke='svg_color' stroke-width='2'></line><polyline points='13,-8 22,3 22,5' fill='none' :stroke='svg_color' stroke-width='2'></polyline><line x1='14' y1='-12' x2='8' y2='-3' fill='none' :stroke='svg_color' stroke-width='2'></line><line x1='12' y1='-17' x2='6' y2='-8' fill='none' :stroke='svg_color' stroke-width='2'></line>",
  290. "props": [
  291. "svg_color"
  292. ],
  293. "default_color": "#FF6600",
  294. "fontSize": 1,
  295. "height": 1,
  296. "svgText": "",
  297. "priview_img": "/vuefiv/GGJ.png"
  298. },
  299. {
  300. "type": "StandardReactance",
  301. "title": "标准电抗",
  302. "template": "<path d='M18,63 V36 H33 C33,42 27,51 18,51 9,51 3,42 3,36 3,27 9,21 18,21 V6 V21' fill='none' :stroke='svg_color' stroke-width='2' transform='translate(-18,-36) scale(1)' data-v-d903d4f8=''></path>",
  303. "props": [
  304. "svg_color"
  305. ],
  306. "default_color": "#CCCC00",
  307. "fontSize": 1,
  308. "height": 3,
  309. "svgText": "",
  310. "priview_img": "/vuefiv/StandardReactance.png"
  311. },
  312. {
  313. "type": "AlternatorSvg",
  314. "title": "发电机",
  315. "template": "<ellipse id='c1' cx='50' cy='50' rx='35' ry='35' fill='none' :stroke='svg_color' stroke-width='2' :transform=\"'translate('+(-(height*10))+','+(-(height*10))+')scale('+height*0.2+')'\"></ellipse><path id='l1' d='M30,50 C30,44 34,40 40,40 46,40 50,44 50,50 M50,50 C50,56 54,60 60,60 66,60 70,56 70,50 ' fill='none' :stroke='svg_color' stroke-width='2' :transform=\"'translate('+(-(height*10))+','+(-(height*10))+')scale('+height*0.2+')'\"></path>",
  316. "props": [
  317. "svg_color",
  318. "height"
  319. ],
  320. "default_color": "#FF0000",
  321. "height": 5,
  322. "priview_img": "/vuefiv/AlternatorSvg.png"
  323. }
  324. ]