|  |  |  | 
|---|
|  |  |  | mapContainer?.children.forEach(child => { | 
|---|
|  |  |  | if (child.data?.uuid) { | 
|---|
|  |  |  | const { type, uuid, no, ...property } = child.data; | 
|---|
|  |  |  | mapItemList.push({ | 
|---|
|  |  |  | // data | 
|---|
|  |  |  | type: type, | 
|---|
|  |  |  | uuid: uuid, | 
|---|
|  |  |  | no: no, | 
|---|
|  |  |  | property: property, | 
|---|
|  |  |  | if (!( | 
|---|
|  |  |  | type === SENSOR_TYPE.SHUTTLE | 
|---|
|  |  |  | || type === SENSOR_TYPE.AGV | 
|---|
|  |  |  | )) { | 
|---|
|  |  |  | mapItemList.push({ | 
|---|
|  |  |  | // data | 
|---|
|  |  |  | type: type, | 
|---|
|  |  |  | uuid: uuid, | 
|---|
|  |  |  | no: no, | 
|---|
|  |  |  | property: property, | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // graph | 
|---|
|  |  |  | positionX: child.position.x, | 
|---|
|  |  |  | positionY: child.position.y, | 
|---|
|  |  |  | scaleX: child.scale.x, | 
|---|
|  |  |  | scaleY: child.scale.y, | 
|---|
|  |  |  | rotation: rotationToNum(child.rotation) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | // graph | 
|---|
|  |  |  | positionX: child.position.x, | 
|---|
|  |  |  | positionY: child.position.y, | 
|---|
|  |  |  | scaleX: child.scale.x, | 
|---|
|  |  |  | scaleY: child.scale.y, | 
|---|
|  |  |  | rotation: rotationToNum(child.rotation) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  |  | 
|---|