保存数据

This commit is contained in:
zyy 2020-02-05 17:21:04 +08:00
parent fd09e2aae5
commit ebb1626edd

View File

@ -1,5 +1,5 @@
const iscsData = {
'11': { "iscsLineList": [{ "point1": { "x": 22, "y": 238 }, "point2": { "x": 22, "y": 506 }, "code": "IscsLine_2", "_type": "IscsLine", "lineWidth": 2, "fillColor": "#fff", "zlevel": 1, "z": 4, "point": { "x": 22, "y": 238 } }, { "point1": { "x": 21, "y": 505 }, "point2": { "x": 283, "y": 505 }, "code": "IscsLine_3", "_type": "IscsLine", "lineWidth": 2, "fillColor": "#fff", "zlevel": 1, "z": 4, "point": { "x": 21, "y": 505 } }, { "point1": { "x": 23, "y": 239 }, "point2": { "x": 285, "y": 239 }, "code": "IscsLine_1", "_type": "IscsLine", "lineWidth": 2, "fillColor": "#fff", "zlevel": 1, "z": 4, "point": { "x": 23, "y": 239 } }], "iscsRectList": [{ "point": { "x": 41, "y": 240 }, "code": "IscsRect_1", "_type": "IscsRect", "fillColor": "rgba(181, 181, 181, 0)", "borderWidth": 2, "strokeColor": "#B5B5B5", "width": 86, "height": 89, "zlevel": 1, "z": 3 }] },
'11': { "iscsLineList": [{ "point1": { "x": 22, "y": 238 }, "point2": { "x": 22, "y": 506 }, "code": "IscsLine_2", "_type": "IscsLine", "lineWidth": 2, "fillColor": "#fff", "zlevel": 1, "z": 4, "point": { "x": 22, "y": 238 } }, { "point1": { "x": 22, "y": 239 }, "point2": { "x": 297, "y": 239 }, "code": "IscsLine_1", "_type": "IscsLine", "lineWidth": 2, "fillColor": "#fff", "zlevel": 1, "z": 4, "point": { "x": 22, "y": 239 } }, { "point1": { "x": 21, "y": 506 }, "point2": { "x": 296, "y": 506 }, "code": "IscsLine_3", "_type": "IscsLine", "lineWidth": 2, "fillColor": "#fff", "zlevel": 1, "z": 4, "point": { "x": 21, "y": 506 } }, { "point1": { "x": 295, "y": 505 }, "point2": { "x": 295, "y": 527 }, "code": "IscsLine_4", "_type": "IscsLine", "lineWidth": 2, "fillColor": "#fff", "zlevel": 1, "z": 4, "point": { "x": 295, "y": 505 } }], "iscsRectList": [{ "point": { "x": 41, "y": 239 }, "code": "IscsRect_1", "_type": "IscsRect", "fillColor": "rgba(181, 181, 181, 0)", "borderWidth": 2, "strokeColor": "#B5B5B5", "width": 86, "height": 89, "zlevel": 1, "z": 3 }, { "point": { "x": 127, "y": 239 }, "code": "IscsRect_2", "_type": "IscsRect", "fillColor": "rgba(255, 0, 0, 0)", "borderWidth": 2, "strokeColor": "#B5B5B5", "width": 55, "height": 89, "zlevel": 1, "z": 3 }, { "point": { "x": 182, "y": 239 }, "code": "IscsRect_3", "_type": "IscsRect", "fillColor": "rgba(255, 0, 0, 0)", "borderWidth": 2, "strokeColor": "#B5B5B5", "width": 37, "height": 89, "zlevel": 1, "z": 3 }, { "point": { "x": 219, "y": 239 }, "code": "IscsRect_4", "_type": "IscsRect", "fillColor": "rgba(255, 0, 0, 0)", "borderWidth": 2, "strokeColor": "#B5B5B5", "width": 32, "height": 89, "zlevel": 1, "z": 3 }, { "point": { "x": 251, "y": 239 }, "code": "IscsRect_5", "_type": "IscsRect", "fillColor": "rgba(255, 0, 0, 0)", "borderWidth": 2, "strokeColor": "#B5B5B5", "width": 45, "height": 89, "zlevel": 1, "z": 3 }, { "point": { "x": 22, "y": 409 }, "code": "IscsRect_6", "_type": "IscsRect", "fillColor": "rgba(255, 0, 0, 0)", "borderWidth": 2, "strokeColor": "#B5B5B5", "width": 68, "height": 97, "zlevel": 1, "z": 3 }, { "point": { "x": 90, "y": 409 }, "code": "IscsRect_7", "_type": "IscsRect", "fillColor": "rgba(255, 0, 0, 0)", "borderWidth": 2, "strokeColor": "#B5B5B5", "width": 68, "height": 97, "zlevel": 1, "z": 3 }, { "point": { "x": 225, "y": 380 }, "code": "IscsRect_8", "_type": "IscsRect", "fillColor": "rgba(255, 0, 0, 0)", "borderWidth": 2, "strokeColor": "#B5B5B5", "width": 70, "height": 125, "zlevel": 1, "z": 3 }], "temperatureDetectorList": [], "smokeDetectorList": [{ "point": { "x": 192, "y": 301 }, "code": "SmokeDetector_1", "_type": "SmokeDetector", "width": 19, "zlevel": 1, "z": 4 }, { "point": { "x": 226, "y": 300 }, "code": "SmokeDetector_2", "_type": "SmokeDetector", "width": 19, "zlevel": 1, "z": 4 }, { "point": { "x": 263, "y": 300 }, "code": "SmokeDetector_3", "_type": "SmokeDetector", "width": 19, "zlevel": 1, "z": 4 }, { "point": { "x": 73, "y": 290 }, "code": "SmokeDetector_4", "_type": "SmokeDetector", "width": 19, "zlevel": 1, "z": 4 }], "iscsTextList": [{ "point": { "x": 63, "y": 315 }, "code": "IscsText_1", "_type": "IscsText", "context": "3号楼梯", "textFill": "#F1E98F", "fontSize": 10, "fontWeight": 400, "fontFamily": "consolas", "zlevel": 1, "z": 4 }, { "point": { "x": 128, "y": 274 }, "code": "IscsText_2", "_type": "IscsText", "context": "排热风道一", "textFill": "#F1E98F", "fontSize": 12, "fontWeight": 450, "fontFamily": "consolas", "zlevel": 1, "z": 4 }] },
'12': {},
'21': {},
'31': {},