const modelGroup: Record<string, any>[] = [
  {
    type: 'group',
    version: '5.3.0',
    originX: 'left',
    originY: 'top',
    left: 0,
    top: 0,
    width: 115.6016,
    height: 39,
    fill: 'rgb(0,0,0)',
    stroke: null,
    strokeWidth: 0,
    strokeDashArray: null,
    strokeLineCap: 'butt',
    strokeDashOffset: 0,
    strokeLineJoin: 'miter',
    strokeUniform: false,
    strokeMiterLimit: 4,
    scaleX: 1,
    scaleY: 1,
    angle: 0,
    flipX: false,
    flipY: false,
    opacity: 1,
    shadow: null,
    visible: true,
    backgroundColor: '',
    fillRule: 'nonzero',
    paintFirst: 'fill',
    globalCompositeOperation: 'source-over',
    skewX: 0,
    skewY: 0,
    id: 'b6ca8fad-c240-4659-9952-a90167699ce9',
    selectable: false,
    hasControls: true,
    userProperty: {},
    objects: [
      {
        type: 'group',
        version: '5.3.0',
        originX: 'left',
        originY: 'top',
        left: -57.8008,
        top: -19.5,
        width: 36,
        height: 39,
        fill: 'rgb(0,0,0)',
        stroke: null,
        strokeWidth: 0,
        strokeDashArray: null,
        strokeLineCap: 'butt',
        strokeDashOffset: 0,
        strokeLineJoin: 'miter',
        strokeUniform: false,
        strokeMiterLimit: 4,
        scaleX: 1,
        scaleY: 1,
        angle: 0,
        flipX: false,
        flipY: false,
        opacity: 1,
        shadow: '',
        visible: true,
        backgroundColor: '',
        fillRule: 'nonzero',
        paintFirst: 'fill',
        globalCompositeOperation: 'source-over',
        skewX: 0,
        skewY: 0,
        selectable: true,
        hasControls: true,
        objects: [
          {
            type: 'path',
            version: '5.3.0',
            originX: 'left',
            originY: 'top',
            left: -12.5,
            top: -18,
            width: 24,
            height: 27,
            fill: 'white',
            stroke: null,
            strokeWidth: 1,
            strokeDashArray: null,
            strokeLineCap: 'butt',
            strokeDashOffset: 0,
            strokeLineJoin: 'miter',
            strokeUniform: false,
            strokeMiterLimit: 4,
            scaleX: 1,
            scaleY: 1,
            angle: 0,
            flipX: false,
            flipY: false,
            opacity: 1,
            shadow: null,
            visible: true,
            backgroundColor: '',
            fillRule: 'evenodd',
            paintFirst: 'fill',
            globalCompositeOperation: 'source-over',
            skewX: 0,
            skewY: 0,
            selectable: true,
            hasControls: true,
            path: [
              ['M', 19.2704, 25.9335],
              ['C', 25.3006, 25.299, 30, 20.1983, 30, 14],
              ['C', 30, 7.37258, 24.6274, 2, 18, 2],
              ['C', 11.3726, 2, 6, 7.37258, 6, 14],
              ['C', 6, 19.8172, 10.1393, 24.6677, 15.6332, 25.7667],
              ['L', 17.5, 29],
              ['L', 19.2704, 25.9335],
              ['Z'],
            ],
          },
          {
            type: 'path',
            version: '5.3.0',
            originX: 'left',
            originY: 'top',
            left: -13.5,
            top: -19,
            width: 26,
            height: 30,
            fill: '#DCDCDC',
            stroke: null,
            strokeWidth: 1,
            strokeDashArray: null,
            strokeLineCap: 'butt',
            strokeDashOffset: 0,
            strokeLineJoin: 'miter',
            strokeUniform: false,
            strokeMiterLimit: 4,
            scaleX: 1,
            scaleY: 1,
            angle: 0,
            flipX: false,
            flipY: false,
            opacity: 1,
            shadow: null,
            visible: true,
            backgroundColor: '',
            fillRule: 'nonzero',
            paintFirst: 'fill',
            globalCompositeOperation: 'source-over',
            skewX: 0,
            skewY: 0,
            selectable: true,
            hasControls: true,
            path: [
              ['M', 19.2704, 25.9335],
              ['L', 19.1658, 24.939],
              ['L', 18.6591, 24.9924],
              ['L', 18.4044, 25.4335],
              ['L', 19.2704, 25.9335],
              ['Z'],
              ['M', 15.6332, 25.7667],
              ['L', 16.4993, 25.2667],
              ['L', 16.273, 24.8748],
              ['L', 15.8294, 24.7861],
              ['L', 15.6332, 25.7667],
              ['Z'],
              ['M', 17.5, 29],
              ['L', 16.634, 29.5],
              ['L', 17.5, 31],
              ['L', 18.366, 29.5],
              ['L', 17.5, 29],
              ['Z'],
              ['M', 29, 14],
              ['C', 29, 19.6811, 24.6924, 24.3575, 19.1658, 24.939],
              ['L', 19.3751, 26.9281],
              ['C', 25.9088, 26.2405, 31, 20.7155, 31, 14],
              ['L', 29, 14],
              ['Z'],
              ['M', 18, 3],
              ['C', 24.0751, 3, 29, 7.92487, 29, 14],
              ['L', 31, 14],
              ['C', 31, 6.8203, 25.1797, 1, 18, 1],
              ['L', 18, 3],
              ['Z'],
              ['M', 7, 14],
              ['C', 7, 7.92487, 11.9249, 3, 18, 3],
              ['L', 18, 1],
              ['C', 10.8203, 1, 5, 6.8203, 5, 14],
              ['L', 7, 14],
              ['Z'],
              ['M', 15.8294, 24.7861],
              ['C', 10.7937, 23.7788, 7, 19.3313, 7, 14],
              ['L', 5, 14],
              ['C', 5, 20.3032, 9.48488, 25.5566, 15.4371, 26.7472],
              ['L', 15.8294, 24.7861],
              ['Z'],
              ['M', 14.7672, 26.2667],
              ['L', 16.634, 29.5],
              ['L', 18.366, 28.5],
              ['L', 16.4993, 25.2667],
              ['L', 14.7672, 26.2667],
              ['Z'],
              ['M', 18.366, 29.5],
              ['L', 20.1364, 26.4335],
              ['L', 18.4044, 25.4335],
              ['L', 16.634, 28.5],
              ['L', 18.366, 29.5],
              ['Z'],
            ],
          },
        ],
      },
      {
        type: 'group',
        version: '5.3.0',
        originX: 'left',
        originY: 'top',
        left: -47.8008,
        top: -13.4177,
        width: 16,
        height: 16,
        fill: 'rgb(0,0,0)',
        stroke: null,
        strokeWidth: 0,
        strokeDashArray: null,
        strokeLineCap: 'butt',
        strokeDashOffset: 0,
        strokeLineJoin: 'miter',
        strokeUniform: false,
        strokeMiterLimit: 4,
        scaleX: 1,
        scaleY: 1,
        angle: 0,
        flipX: false,
        flipY: false,
        opacity: 1,
        shadow: '',
        visible: true,
        backgroundColor: '',
        fillRule: 'nonzero',
        paintFirst: 'fill',
        globalCompositeOperation: 'source-over',
        skewX: 0,
        skewY: 0,
        selectable: true,
        hasControls: true,
        objects: [
          {
            type: 'path',
            version: '5.3.0',
            originX: 'left',
            originY: 'top',
            left: -6.9333,
            top: -6.6,
            width: 12.6666,
            height: 0,
            fill: '',
            stroke: '#52C41A',
            strokeWidth: 1.2,
            strokeDashArray: null,
            strokeLineCap: 'round',
            strokeDashOffset: 0,
            strokeLineJoin: 'round',
            strokeUniform: false,
            strokeMiterLimit: 4,
            scaleX: 1,
            scaleY: 1,
            angle: 0,
            flipX: false,
            flipY: false,
            opacity: 1,
            shadow: null,
            visible: true,
            backgroundColor: '',
            fillRule: 'nonzero',
            paintFirst: 'fill',
            globalCompositeOperation: 'source-over',
            skewX: 0,
            skewY: 0,
            selectable: true,
            hasControls: true,
            path: [
              ['M', 14.3334, 2],
              ['L', 7.66675, 2],
              ['L', 1.66675, 2],
            ],
          },
          {
            type: 'path',
            version: '5.3.0',
            originX: 'left',
            originY: 'top',
            left: -0.9332,
            top: -6.6,
            width: 0,
            height: 5.6667,
            fill: '',
            stroke: '#52C41A',
            strokeWidth: 1.2,
            strokeDashArray: null,
            strokeLineCap: 'round',
            strokeDashOffset: 0,
            strokeLineJoin: 'round',
            strokeUniform: false,
            strokeMiterLimit: 4,
            scaleX: 1,
            scaleY: 1,
            angle: 0,
            flipX: false,
            flipY: false,
            opacity: 1,
            shadow: null,
            visible: true,
            backgroundColor: '',
            fillRule: 'nonzero',
            paintFirst: 'fill',
            globalCompositeOperation: 'source-over',
            skewX: 0,
            skewY: 0,
            selectable: true,
            hasControls: true,
            path: [
              ['M', 7.66675, 7.66667],
              ['L', 7.66675, 2],
            ],
          },
          {
            type: 'path',
            version: '5.3.0',
            originX: 'left',
            originY: 'top',
            left: -6.9994,
            top: -2.0727,
            width: 11.833,
            height: 7.0096,
            fill: '#52C41A',
            stroke: '#52C41A',
            strokeWidth: 1.2,
            strokeDashArray: null,
            strokeLineCap: 'round',
            strokeDashOffset: 0,
            strokeLineJoin: 'round',
            strokeUniform: false,
            strokeMiterLimit: 4,
            scaleX: 1,
            scaleY: 1,
            angle: 0,
            flipX: false,
            flipY: false,
            opacity: 1,
            shadow: null,
            visible: true,
            backgroundColor: '',
            fillRule: 'nonzero',
            paintFirst: 'fill',
            globalCompositeOperation: 'source-over',
            skewX: 0,
            skewY: 0,
            selectable: true,
            hasControls: true,
            path: [
              ['M', 2.80841, 6.52734],
              ['L', 13.4336, 9.37438],
              ['L', 12.8528, 10.254],
              ['L', 11.5187, 12.6573],
              ['L', 10.9379, 13.5369],
              ['L', 1.60059, 11.035],
              ['L', 2.80841, 6.52734],
              ['Z'],
            ],
          },
          {
            type: 'path',
            version: '5.3.0',
            originX: 'left',
            originY: 'top',
            left: 2.9186,
            top: 1.6539,
            width: 2.622,
            height: 2.9209,
            fill: '',
            stroke: '#52C41A',
            strokeWidth: 1.2,
            strokeDashArray: null,
            strokeLineCap: 'round',
            strokeDashOffset: 0,
            strokeLineJoin: 'round',
            strokeUniform: false,
            strokeMiterLimit: 4,
            scaleX: 1,
            scaleY: 1,
            angle: 0,
            flipX: false,
            flipY: false,
            opacity: 1,
            shadow: null,
            visible: true,
            backgroundColor: '',
            fillRule: 'nonzero',
            paintFirst: 'fill',
            globalCompositeOperation: 'source-over',
            skewX: 0,
            skewY: 0,
            selectable: true,
            hasControls: true,
            path: [
              ['M', 12.8527, 10.2539],
              ['L', 14.1406, 10.599],
              ['L', 13.4504, 13.1748],
              ['L', 11.5186, 12.6572],
            ],
          },
          {
            type: 'circle',
            version: '5.3.0',
            originX: 'left',
            originY: 'top',
            left: -5,
            top: 0,
            width: 2.5,
            height: 2.5,
            fill: '',
            stroke: 'white',
            strokeWidth: 0.5,
            strokeDashArray: null,
            strokeLineCap: 'butt',
            strokeDashOffset: 0,
            strokeLineJoin: 'miter',
            strokeUniform: false,
            strokeMiterLimit: 4,
            scaleX: 1,
            scaleY: 1,
            angle: 0,
            flipX: false,
            flipY: false,
            opacity: 1,
            shadow: null,
            visible: true,
            backgroundColor: '',
            fillRule: 'nonzero',
            paintFirst: 'fill',
            globalCompositeOperation: 'source-over',
            skewX: 0,
            skewY: 0,
            radius: 1.25,
            startAngle: 0,
            endAngle: 360,
            selectable: true,
            hasControls: true,
          },
        ],
      },
      {
        type: 'textbox',
        version: '5.3.0',
        originX: 'left',
        originY: 'top',
        left: -19.6724,
        top: -13.5967,
        width: 400,
        height: 90.4,
        fill: 'rgb(0,0,0)',
        stroke: null,
        strokeWidth: 1,
        strokeDashArray: null,
        strokeLineCap: 'butt',
        strokeDashOffset: 0,
        strokeLineJoin: 'miter',
        strokeUniform: false,
        strokeMiterLimit: 4,
        scaleX: 0.1932,
        scaleY: 0.1932,
        angle: 0,
        flipX: false,
        flipY: false,
        opacity: 1,
        shadow: '',
        visible: true,
        backgroundColor: '',
        fillRule: 'nonzero',
        paintFirst: 'fill',
        globalCompositeOperation: 'source-over',
        skewX: 0,
        skewY: 0,
        fontFamily: 'arial',
        fontWeight: 'normal',
        fontSize: 80,
        text: '监控设备',
        underline: false,
        overline: false,
        linethrough: false,
        textAlign: 'left',
        fontStyle: 'normal',
        lineHeight: 1.16,
        textBackgroundColor: '',
        charSpacing: 0,
        styles: [],
        direction: 'ltr',
        path: null,
        pathStartOffset: 0,
        pathSide: 'left',
        pathAlign: 'baseline',
        minWidth: 20,
        splitByGrapheme: true,
        selectable: true,
        hasControls: false,
      },
    ],
  },
];

const currJson0: Record<string, any> = {
  version: '5.3.0',
  objects: [
    {
      type: 'group',
      version: '5.3.0',
      originX: 'left',
      originY: 'top',
      left: 247.0215,
      top: 444.5797,
      width: 115.6016,
      height: 39,
      fill: 'rgb(0,0,0)',
      stroke: null,
      strokeWidth: 0,
      strokeDashArray: null,
      strokeLineCap: 'butt',
      strokeDashOffset: 0,
      strokeLineJoin: 'miter',
      strokeUniform: false,
      strokeMiterLimit: 4,
      scaleX: 1,
      scaleY: 1,
      angle: 0,
      flipX: false,
      flipY: false,
      opacity: 1,
      shadow: null,
      visible: true,
      backgroundColor: '',
      fillRule: 'nonzero',
      paintFirst: 'fill',
      globalCompositeOperation: 'source-over',
      skewX: 0,
      skewY: 0,
      id: 'b6ca8fad-c240-4659-9952-a90167699ce9',
      selectable: false,
      hasControls: true,
      userProperty: {
        modelId: '121',
        status: '0',
        id: '2',
        label: '正常',
        des: '卧室B',

        param1: '',
      },
      objects: [
        {
          type: 'group',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -57.8008,
          top: -19.5,
          width: 36,
          height: 39,
          fill: 'rgb(0,0,0)',
          stroke: null,
          strokeWidth: 0,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 1,
          scaleY: 1,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          selectable: true,
          hasControls: true,
          objects: [
            {
              type: 'path',
              version: '5.3.0',
              originX: 'left',
              originY: 'top',
              left: -12.5,
              top: -18,
              width: 24,
              height: 27,
              fill: 'white',
              stroke: null,
              strokeWidth: 1,
              strokeDashArray: null,
              strokeLineCap: 'butt',
              strokeDashOffset: 0,
              strokeLineJoin: 'miter',
              strokeUniform: false,
              strokeMiterLimit: 4,
              scaleX: 1,
              scaleY: 1,
              angle: 0,
              flipX: false,
              flipY: false,
              opacity: 1,
              shadow: null,
              visible: true,
              backgroundColor: '',
              fillRule: 'evenodd',
              paintFirst: 'fill',
              globalCompositeOperation: 'source-over',
              skewX: 0,
              skewY: 0,
              selectable: true,
              hasControls: true,
              path: [
                ['M', 19.2704, 25.9335],
                ['C', 25.3006, 25.299, 30, 20.1983, 30, 14],
                ['C', 30, 7.37258, 24.6274, 2, 18, 2],
                ['C', 11.3726, 2, 6, 7.37258, 6, 14],
                ['C', 6, 19.8172, 10.1393, 24.6677, 15.6332, 25.7667],
                ['L', 17.5, 29],
                ['L', 19.2704, 25.9335],
                ['Z'],
              ],
            },
            {
              type: 'path',
              version: '5.3.0',
              originX: 'left',
              originY: 'top',
              left: -13.5,
              top: -19,
              width: 26,
              height: 30,
              fill: '#DCDCDC',
              stroke: null,
              strokeWidth: 1,
              strokeDashArray: null,
              strokeLineCap: 'butt',
              strokeDashOffset: 0,
              strokeLineJoin: 'miter',
              strokeUniform: false,
              strokeMiterLimit: 4,
              scaleX: 1,
              scaleY: 1,
              angle: 0,
              flipX: false,
              flipY: false,
              opacity: 1,
              shadow: null,
              visible: true,
              backgroundColor: '',
              fillRule: 'nonzero',
              paintFirst: 'fill',
              globalCompositeOperation: 'source-over',
              skewX: 0,
              skewY: 0,
              selectable: true,
              hasControls: true,
              path: [
                ['M', 19.2704, 25.9335],
                ['L', 19.1658, 24.939],
                ['L', 18.6591, 24.9924],
                ['L', 18.4044, 25.4335],
                ['L', 19.2704, 25.9335],
                ['Z'],
                ['M', 15.6332, 25.7667],
                ['L', 16.4993, 25.2667],
                ['L', 16.273, 24.8748],
                ['L', 15.8294, 24.7861],
                ['L', 15.6332, 25.7667],
                ['Z'],
                ['M', 17.5, 29],
                ['L', 16.634, 29.5],
                ['L', 17.5, 31],
                ['L', 18.366, 29.5],
                ['L', 17.5, 29],
                ['Z'],
                ['M', 29, 14],
                ['C', 29, 19.6811, 24.6924, 24.3575, 19.1658, 24.939],
                ['L', 19.3751, 26.9281],
                ['C', 25.9088, 26.2405, 31, 20.7155, 31, 14],
                ['L', 29, 14],
                ['Z'],
                ['M', 18, 3],
                ['C', 24.0751, 3, 29, 7.92487, 29, 14],
                ['L', 31, 14],
                ['C', 31, 6.8203, 25.1797, 1, 18, 1],
                ['L', 18, 3],
                ['Z'],
                ['M', 7, 14],
                ['C', 7, 7.92487, 11.9249, 3, 18, 3],
                ['L', 18, 1],
                ['C', 10.8203, 1, 5, 6.8203, 5, 14],
                ['L', 7, 14],
                ['Z'],
                ['M', 15.8294, 24.7861],
                ['C', 10.7937, 23.7788, 7, 19.3313, 7, 14],
                ['L', 5, 14],
                ['C', 5, 20.3032, 9.48488, 25.5566, 15.4371, 26.7472],
                ['L', 15.8294, 24.7861],
                ['Z'],
                ['M', 14.7672, 26.2667],
                ['L', 16.634, 29.5],
                ['L', 18.366, 28.5],
                ['L', 16.4993, 25.2667],
                ['L', 14.7672, 26.2667],
                ['Z'],
                ['M', 18.366, 29.5],
                ['L', 20.1364, 26.4335],
                ['L', 18.4044, 25.4335],
                ['L', 16.634, 28.5],
                ['L', 18.366, 29.5],
                ['Z'],
              ],
            },
          ],
        },
        {
          type: 'group',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -47.8008,
          top: -13.4177,
          width: 16,
          height: 16,
          fill: 'rgb(0,0,0)',
          stroke: null,
          strokeWidth: 0,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 1,
          scaleY: 1,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          selectable: true,
          hasControls: true,
          objects: [
            {
              type: 'path',
              version: '5.3.0',
              originX: 'left',
              originY: 'top',
              left: -6.9333,
              top: -6.6,
              width: 12.6666,
              height: 0,
              fill: '',
              stroke: '#52C41A',
              strokeWidth: 1.2,
              strokeDashArray: null,
              strokeLineCap: 'round',
              strokeDashOffset: 0,
              strokeLineJoin: 'round',
              strokeUniform: false,
              strokeMiterLimit: 4,
              scaleX: 1,
              scaleY: 1,
              angle: 0,
              flipX: false,
              flipY: false,
              opacity: 1,
              shadow: null,
              visible: true,
              backgroundColor: '',
              fillRule: 'nonzero',
              paintFirst: 'fill',
              globalCompositeOperation: 'source-over',
              skewX: 0,
              skewY: 0,
              selectable: true,
              hasControls: true,
              path: [
                ['M', 14.3334, 2],
                ['L', 7.66675, 2],
                ['L', 1.66675, 2],
              ],
            },
            {
              type: 'path',
              version: '5.3.0',
              originX: 'left',
              originY: 'top',
              left: -0.9332,
              top: -6.6,
              width: 0,
              height: 5.6667,
              fill: '',
              stroke: '#52C41A',
              strokeWidth: 1.2,
              strokeDashArray: null,
              strokeLineCap: 'round',
              strokeDashOffset: 0,
              strokeLineJoin: 'round',
              strokeUniform: false,
              strokeMiterLimit: 4,
              scaleX: 1,
              scaleY: 1,
              angle: 0,
              flipX: false,
              flipY: false,
              opacity: 1,
              shadow: null,
              visible: true,
              backgroundColor: '',
              fillRule: 'nonzero',
              paintFirst: 'fill',
              globalCompositeOperation: 'source-over',
              skewX: 0,
              skewY: 0,
              selectable: true,
              hasControls: true,
              path: [
                ['M', 7.66675, 7.66667],
                ['L', 7.66675, 2],
              ],
            },
            {
              type: 'path',
              version: '5.3.0',
              originX: 'left',
              originY: 'top',
              left: -6.9994,
              top: -2.0727,
              width: 11.833,
              height: 7.0096,
              fill: '#52C41A',
              stroke: '#52C41A',
              strokeWidth: 1.2,
              strokeDashArray: null,
              strokeLineCap: 'round',
              strokeDashOffset: 0,
              strokeLineJoin: 'round',
              strokeUniform: false,
              strokeMiterLimit: 4,
              scaleX: 1,
              scaleY: 1,
              angle: 0,
              flipX: false,
              flipY: false,
              opacity: 1,
              shadow: null,
              visible: true,
              backgroundColor: '',
              fillRule: 'nonzero',
              paintFirst: 'fill',
              globalCompositeOperation: 'source-over',
              skewX: 0,
              skewY: 0,
              selectable: true,
              hasControls: true,
              path: [
                ['M', 2.80841, 6.52734],
                ['L', 13.4336, 9.37438],
                ['L', 12.8528, 10.254],
                ['L', 11.5187, 12.6573],
                ['L', 10.9379, 13.5369],
                ['L', 1.60059, 11.035],
                ['L', 2.80841, 6.52734],
                ['Z'],
              ],
            },
            {
              type: 'path',
              version: '5.3.0',
              originX: 'left',
              originY: 'top',
              left: 2.9186,
              top: 1.6539,
              width: 2.622,
              height: 2.9209,
              fill: '',
              stroke: '#52C41A',
              strokeWidth: 1.2,
              strokeDashArray: null,
              strokeLineCap: 'round',
              strokeDashOffset: 0,
              strokeLineJoin: 'round',
              strokeUniform: false,
              strokeMiterLimit: 4,
              scaleX: 1,
              scaleY: 1,
              angle: 0,
              flipX: false,
              flipY: false,
              opacity: 1,
              shadow: null,
              visible: true,
              backgroundColor: '',
              fillRule: 'nonzero',
              paintFirst: 'fill',
              globalCompositeOperation: 'source-over',
              skewX: 0,
              skewY: 0,
              selectable: true,
              hasControls: true,
              path: [
                ['M', 12.8527, 10.2539],
                ['L', 14.1406, 10.599],
                ['L', 13.4504, 13.1748],
                ['L', 11.5186, 12.6572],
              ],
            },
            {
              type: 'circle',
              version: '5.3.0',
              originX: 'left',
              originY: 'top',
              left: -5,
              top: 0,
              width: 2.5,
              height: 2.5,
              fill: '',
              stroke: 'white',
              strokeWidth: 0.5,
              strokeDashArray: null,
              strokeLineCap: 'butt',
              strokeDashOffset: 0,
              strokeLineJoin: 'miter',
              strokeUniform: false,
              strokeMiterLimit: 4,
              scaleX: 1,
              scaleY: 1,
              angle: 0,
              flipX: false,
              flipY: false,
              opacity: 1,
              shadow: null,
              visible: true,
              backgroundColor: '',
              fillRule: 'nonzero',
              paintFirst: 'fill',
              globalCompositeOperation: 'source-over',
              skewX: 0,
              skewY: 0,
              radius: 1.25,
              startAngle: 0,
              endAngle: 360,
              selectable: true,
              hasControls: true,
            },
          ],
        },
        {
          type: 'textbox',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -19.6724,
          top: -13.5967,
          width: 400,
          height: 90.4,
          fill: 'rgb(0,0,0)',
          stroke: null,
          strokeWidth: 1,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 0.1932,
          scaleY: 0.1932,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          fontFamily: 'arial',
          fontWeight: 'normal',
          fontSize: 80,
          text: '监控设备',
          underline: false,
          overline: false,
          linethrough: false,
          textAlign: 'left',
          fontStyle: 'normal',
          lineHeight: 1.16,
          textBackgroundColor: '',
          charSpacing: 0,
          styles: [],
          direction: 'ltr',
          path: null,
          pathStartOffset: 0,
          pathSide: 'left',
          pathAlign: 'baseline',
          minWidth: 20,
          splitByGrapheme: true,
          selectable: true,
          hasControls: false,
        },
      ],
    },
    {
      type: 'group',
      version: '5.3.0',
      originX: 'left',
      originY: 'top',
      left: 778.0535,
      top: 172.6152,
      width: 48.205,
      height: 48.205,
      fill: 'rgb(0,0,0)',
      stroke: null,
      strokeWidth: 0,
      strokeDashArray: null,
      strokeLineCap: 'butt',
      strokeDashOffset: 0,
      strokeLineJoin: 'miter',
      strokeUniform: false,
      strokeMiterLimit: 4,
      scaleX: 1,
      scaleY: 1,
      angle: 0,
      flipX: false,
      flipY: false,
      opacity: 1,
      shadow: null,
      visible: true,
      backgroundColor: '',
      fillRule: 'nonzero',
      paintFirst: 'fill',
      globalCompositeOperation: 'source-over',
      skewX: 0,
      skewY: 0,
      id: 'f772494d-01de-4a9e-b21d-67faed778e60',
      selectable: false,
      hasControls: true,
      userProperty: {
        modelId: '121',
        status: '0',
        id: '2',
        label: '正常',
        des: '卧室B',
      },
      objects: [
        {
          type: 'circle',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -24.1025,
          top: -24.1025,
          width: 300,
          height: 300,
          fill: 'rgba(44,246,72,0.99)',
          stroke: 'rgba(45,240,230,1)',
          strokeWidth: 10,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 0.1555,
          scaleY: 0.1555,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          radius: 150,
          startAngle: 0,
          endAngle: 360,
          selectable: false,
          hasControls: true,
        },
        {
          type: 'i-text',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -16.7824,
          top: -8.9323,
          width: 160,
          height: 90.4,
          fill: 'rgba(255,255,255,1)',
          stroke: null,
          strokeWidth: 1,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 0.1954,
          scaleY: 0.1954,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          fontFamily: 'arial',
          fontWeight: 'normal',
          fontSize: 80,
          text: '正常',
          underline: false,
          overline: false,
          linethrough: false,
          textAlign: 'left',
          fontStyle: 'normal',
          lineHeight: 1.16,
          textBackgroundColor: '',
          charSpacing: 0,
          styles: [],
          direction: 'ltr',
          path: null,
          pathStartOffset: 0,
          pathSide: 'left',
          pathAlign: 'baseline',
          selectable: false,
          hasControls: true,
        },
      ],
    },
    {
      type: 'group',
      version: '5.3.0',
      originX: 'left',
      originY: 'top',
      left: 384.136,
      top: 153.6373,
      width: 48.205,
      height: 48.205,
      fill: 'rgb(0,0,0)',
      stroke: null,
      strokeWidth: 0,
      strokeDashArray: null,
      strokeLineCap: 'butt',
      strokeDashOffset: 0,
      strokeLineJoin: 'miter',
      strokeUniform: false,
      strokeMiterLimit: 4,
      scaleX: 1,
      scaleY: 1,
      angle: 0,
      flipX: false,
      flipY: false,
      opacity: 1,
      shadow: null,
      visible: true,
      backgroundColor: '',
      fillRule: 'nonzero',
      paintFirst: 'fill',
      globalCompositeOperation: 'source-over',
      skewX: 0,
      skewY: 0,
      id: '3fea9335-b7a3-4b01-bf7b-7d15b4ca6b62',
      selectable: false,
      hasControls: true,
      userProperty: {
        modelId: '120',
        status: '1',
        id: '1',
        label: '异常',
        des: '卧室A',
      },
      objects: [
        {
          type: 'circle',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -24.1025,
          top: -24.1025,
          width: 300,
          height: 300,
          fill: 'rgba(248,9,3,0.94)',
          stroke: 'rgba(255,243,47,1)',
          strokeWidth: 10,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 0.1555,
          scaleY: 0.1555,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          radius: 150,
          startAngle: 0,
          endAngle: 360,
          selectable: false,
          hasControls: true,
        },
        {
          type: 'i-text',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -15.8708,
          top: -8.9298,
          width: 160,
          height: 90.4,
          fill: 'rgba(255,255,255,1)',
          stroke: null,
          strokeWidth: 1,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 0.1954,
          scaleY: 0.1954,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          fontFamily: 'arial',
          fontWeight: 'normal',
          fontSize: 80,
          text: '警告',
          underline: false,
          overline: false,
          linethrough: false,
          textAlign: 'left',
          fontStyle: 'normal',
          lineHeight: 1.16,
          textBackgroundColor: '',
          charSpacing: 0,
          styles: [],
          direction: 'ltr',
          path: null,
          pathStartOffset: 0,
          pathSide: 'left',
          pathAlign: 'baseline',
          selectable: false,
          hasControls: true,
        },
      ],
    },
    {
      type: 'group',
      version: '5.3.0',
      originX: 'left',
      originY: 'top',
      left: 409.6953,
      top: 437.8391,
      width: 48.205,
      height: 48.205,
      fill: 'rgb(0,0,0)',
      stroke: null,
      strokeWidth: 0,
      strokeDashArray: null,
      strokeLineCap: 'butt',
      strokeDashOffset: 0,
      strokeLineJoin: 'miter',
      strokeUniform: false,
      strokeMiterLimit: 4,
      scaleX: 1,
      scaleY: 1,
      angle: 0,
      flipX: false,
      flipY: false,
      opacity: 1,
      shadow: null,
      visible: true,
      backgroundColor: '',
      fillRule: 'nonzero',
      paintFirst: 'fill',
      globalCompositeOperation: 'source-over',
      skewX: 0,
      skewY: 0,
      id: '16c614ab-6172-4d06-b787-75e8ddc33c68',
      selectable: false,
      hasControls: true,
      userProperty: {
        modelId: '122',
        status: '0',
        id: '3',
        label: '正常',
        des: '客厅1',
      },
      objects: [
        {
          type: 'circle',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -24.1025,
          top: -24.1025,
          width: 300,
          height: 300,
          fill: 'rgba(44,246,72,0.99)',
          stroke: 'rgba(45,240,230,1)',
          strokeWidth: 10,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 0.1555,
          scaleY: 0.1555,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          radius: 150,
          startAngle: 0,
          endAngle: 360,
          selectable: false,
          hasControls: true,
        },
        {
          type: 'i-text',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -16.7824,
          top: -8.9323,
          width: 160,
          height: 90.4,
          fill: 'rgba(255,255,255,1)',
          stroke: null,
          strokeWidth: 1,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 0.1954,
          scaleY: 0.1954,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          fontFamily: 'arial',
          fontWeight: 'normal',
          fontSize: 80,
          text: '正常',
          underline: false,
          overline: false,
          linethrough: false,
          textAlign: 'left',
          fontStyle: 'normal',
          lineHeight: 1.16,
          textBackgroundColor: '',
          charSpacing: 0,
          styles: [],
          direction: 'ltr',
          path: null,
          pathStartOffset: 0,
          pathSide: 'left',
          pathAlign: 'baseline',
          selectable: false,
          hasControls: true,
        },
      ],
    },
    {
      type: 'group',
      version: '5.3.0',
      originX: 'left',
      originY: 'top',
      left: 384.136,
      top: 706.1746,
      width: 48.205,
      height: 48.205,
      fill: 'rgb(0,0,0)',
      stroke: null,
      strokeWidth: 0,
      strokeDashArray: null,
      strokeLineCap: 'butt',
      strokeDashOffset: 0,
      strokeLineJoin: 'miter',
      strokeUniform: false,
      strokeMiterLimit: 4,
      scaleX: 1,
      scaleY: 1,
      angle: 0,
      flipX: false,
      flipY: false,
      opacity: 1,
      shadow: null,
      visible: true,
      backgroundColor: '',
      fillRule: 'nonzero',
      paintFirst: 'fill',
      globalCompositeOperation: 'source-over',
      skewX: 0,
      skewY: 0,
      id: '6217576c-4b4a-4916-948a-e99fe9f03bbc',
      selectable: false,
      hasControls: true,
      userProperty: {
        modelId: '124',
        status: '1',
        id: '4',
        label: '异常',
        des: '卧室C',
      },
      objects: [
        {
          type: 'circle',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -24.1025,
          top: -24.1025,
          width: 300,
          height: 300,
          fill: 'rgba(248,9,3,0.94)',
          stroke: 'rgba(255,243,47,1)',
          strokeWidth: 10,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 0.1555,
          scaleY: 0.1555,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          radius: 150,
          startAngle: 0,
          endAngle: 360,
          selectable: false,
          hasControls: true,
        },
        {
          type: 'i-text',
          version: '5.3.0',
          originX: 'left',
          originY: 'top',
          left: -15.8708,
          top: -8.9298,
          width: 160,
          height: 90.4,
          fill: 'rgba(255,255,255,1)',
          stroke: null,
          strokeWidth: 1,
          strokeDashArray: null,
          strokeLineCap: 'butt',
          strokeDashOffset: 0,
          strokeLineJoin: 'miter',
          strokeUniform: false,
          strokeMiterLimit: 4,
          scaleX: 0.1954,
          scaleY: 0.1954,
          angle: 0,
          flipX: false,
          flipY: false,
          opacity: 1,
          shadow: '',
          visible: true,
          backgroundColor: '',
          fillRule: 'nonzero',
          paintFirst: 'fill',
          globalCompositeOperation: 'source-over',
          skewX: 0,
          skewY: 0,
          fontFamily: 'arial',
          fontWeight: 'normal',
          fontSize: 80,
          text: '警告',
          underline: false,
          overline: false,
          linethrough: false,
          textAlign: 'left',
          fontStyle: 'normal',
          lineHeight: 1.16,
          textBackgroundColor: '',
          charSpacing: 0,
          styles: [],
          direction: 'ltr',
          path: null,
          pathStartOffset: 0,
          pathSide: 'left',
          pathAlign: 'baseline',
          selectable: false,
          hasControls: true,
        },
      ],
    },
  ],
  clipPath: {
    type: 'rect',
    version: '5.3.0',
    originX: 'left',
    originY: 'top',
    left: 0,
    top: 0,
    width: 1200,
    height: 900,
    fill: 'rgba(255,255,255,1)',
    stroke: null,
    strokeWidth: 0,
    strokeDashArray: null,
    strokeLineCap: 'butt',
    strokeDashOffset: 0,
    strokeLineJoin: 'miter',
    strokeUniform: false,
    strokeMiterLimit: 4,
    scaleX: 1,
    scaleY: 1,
    angle: 0,
    flipX: false,
    flipY: false,
    opacity: 1,
    shadow: null,
    visible: true,
    backgroundColor: '',
    fillRule: 'nonzero',
    paintFirst: 'fill',
    globalCompositeOperation: 'source-over',
    skewX: 0,
    skewY: 0,
    rx: 0,
    ry: 0,
    selectable: false,
    hasControls: true,
  },
};
let currJson00: Record<string, any> = {
  ...currJson0,
  // objects: [],
};

// 生成100到1100之间的随机整数
// function generateRandomNumber(minNum, maxNum) {
//   // 生成0到1之间的随机小数
//   const randomFraction = Math.random();

//   // 将随机小数映射到100到1100之间的范围
//   const randomNumber = Math.floor(randomFraction * (maxNum - minNum + 1) + minNum);

//   return randomNumber;
// }
// let startTime = new Date().getTime()
// let endTime = new Date().getTime()

// for (let i = 0; i < 2; i++) {
//   let currObjects = JSON.parse(JSON.stringify(currJson0.objects))
//   currObjects = currObjects.map(item=>{
//     item.left = generateRandomNumber(100, 1100)
//     item.top = generateRandomNumber(100, 800)
//     return item
//   })
//   currJson00.objects = currJson00.objects.concat(currObjects)
// }
// endTime = new Date().getTime()
// console.log(currJson00,'currJson00', endTime-startTime)

export const currJson1 = currJson00;

export const modelGroups = modelGroup
