test-data2.js 4.5 KB
export default {
  cells: [
    {
      position: {
        x: -460,
        y: -40
      },
      size: {
        width: 40,
        height: 40
      },
      attrs: {
        text: {
          transform: ''
        }
      },
      visible: true,
      shape: 'Storage',
      id: 'f52fb634-7137-4a4c-812c-c988281a7b91',
      data: {
        code: '1'
      },
      zIndex: 1
    },
    {
      position: {
        x: -420,
        y: -40
      },
      size: {
        width: 40,
        height: 40
      },
      attrs: {
        text: {
          text: 2
        }
      },
      visible: true,
      shape: 'Storage',
      id: 'a0d881c1-a383-4087-b6f4-297e7cc20036',
      zIndex: 2,
      data: {
        type: 'center'
      }
    },
    {
      position: {
        x: -380,
        y: -40
      },
      size: {
        width: 40,
        height: 40
      },
      attrs: {
        text: {
          text: 3
        }
      },
      visible: true,
      shape: 'Storage',
      id: 'b7b4ee6e-2286-4fe7-80b2-a3c4ed60d10f',
      zIndex: 2,
      data: {
        type: 'center'
      }
    },
    {
      position: {
        x: -340,
        y: -40
      },
      size: {
        width: 40,
        height: 40
      },
      attrs: {
        text: {
          text: 4
        }
      },
      visible: true,
      shape: 'Storage',
      id: 'e94ed5ba-4488-4f9d-8106-dc6408e1ed2f',
      zIndex: 2,
      data: {
        type: 'center'
      }
    },
    {
      position: {
        x: -300,
        y: -40
      },
      size: {
        width: 40,
        height: 40
      },
      attrs: {
        text: {
          text: 5
        }
      },
      visible: true,
      shape: 'Storage',
      id: 'ad1e41ff-236d-4327-b83b-807af54b38ca',
      zIndex: 2,
      data: {
        type: 'center'
      }
    },
    {
      position: {
        x: -260,
        y: -40
      },
      size: {
        width: 40,
        height: 40
      },
      attrs: {
        text: {
          text: 6
        }
      },
      visible: true,
      shape: 'Storage',
      id: '5ed183a8-1b4c-4c96-9d64-44454ec402a0',
      zIndex: 2,
      data: {
        type: 'center'
      }
    },
    {
      position: {
        x: -220,
        y: -40
      },
      size: {
        width: 40,
        height: 40
      },
      attrs: {
        text: {
          text: 7
        }
      },
      visible: true,
      shape: 'Storage',
      id: '9ab3e75b-2c84-4067-b392-77da61882f88',
      zIndex: 2,
      data: {
        type: 'center'
      }
    },
    {
      position: {
        x: -180,
        y: -40
      },
      size: {
        width: 40,
        height: 40
      },
      attrs: {
        text: {
          text: 8
        }
      },
      visible: true,
      shape: 'Storage',
      id: '8e2b80e7-fcd6-43a7-9f4d-55cce39c40aa',
      zIndex: 2,
      data: {
        type: 'center'
      }
    },
    {
      position: {
        x: -140,
        y: -40
      },
      size: {
        width: 40,
        height: 40
      },
      attrs: {
        text: {
          text: 9
        }
      },
      visible: true,
      shape: 'Storage',
      id: '3231aadd-1411-47cf-a063-389282a38524',
      zIndex: 2,
      data: {
        type: 'center'
      }
    },
    {
      position: {
        x: -100,
        y: -40
      },
      size: {
        width: 40,
        height: 40
      },
      attrs: {
        text: {
          text: 10
        }
      },
      visible: true,
      shape: 'Storage',
      id: '84b1de28-f62d-4b89-aed2-250c1e70f372',
      zIndex: 2,
      data: {
        type: 'center'
      }
    },
    {
      position: {
        x: -460,
        y: 30
      },
      size: {
        width: 60,
        height: 40
      },
      attrs: {
        text: {
          text: 'P1003',
          transform: 'translate(0, -25)'
        }
      },
      visible: true,
      shape: 'Station',
      id: 'a610a7bf-a99e-42a8-8fe5-e6f58678de3c',
      data: {
        code: '',
        name: '',
        type: '',
        status: '0',
        pallet: '0',
        auto: '1'
      },
      zIndex: 3
    },
    {
      position: {
        x: -400,
        y: 30
      },
      size: {
        width: 60,
        height: 40
      },
      attrs: {
        text: {
          text: 'P1003',
          transform: 'translate(0, -25)'
        }
      },
      visible: true,
      shape: 'Station',
      id: '09230c27-e644-43e7-bd47-b291aae5bcf1',
      data: {
        code: '',
        name: '',
        type: '',
        status: '0',
        pallet: '0',
        auto: '1'
      },
      zIndex: 4
    }
  ]
}