|
|
|
@ -302,7 +302,8 @@ export default {
|
|
|
|
|
y: (72000 - (v.Y - 116000)) / this.siteData.y,
|
|
|
|
|
rotate: v.Angle,
|
|
|
|
|
isGoods: false,
|
|
|
|
|
show: v.X < 246626 && v.X > 126061 && v.Y < 188055 && v.Y > 116722
|
|
|
|
|
show: v.X < 245000 && v.X > 126000 && v.Y < 187000 && v.Y > 116000
|
|
|
|
|
// show: true
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
this.agvData = agvArr
|
|
|
|
@ -318,7 +319,8 @@ export default {
|
|
|
|
|
new TWEEN.Tween(this.agvData.find(r => r.id === v.AgvId)).to({
|
|
|
|
|
x: (v.X - 126000) / this.siteData.x,
|
|
|
|
|
y: (72000 - (v.Y - 116000)) / this.siteData.y,
|
|
|
|
|
show: v.X < 246626 && v.X > 126061 && v.Y < 188055 && v.Y > 116722
|
|
|
|
|
show: v.X < 245000 && v.X > 126000 && v.Y < 187000 && v.Y > 116000
|
|
|
|
|
// show: true
|
|
|
|
|
}, time - 100).start()
|
|
|
|
|
} else {
|
|
|
|
|
this.agvData.push({
|
|
|
|
@ -327,7 +329,8 @@ export default {
|
|
|
|
|
y: (72000 - (v.Y - 116000)) / this.siteData.y,
|
|
|
|
|
rotate: v.Angle,
|
|
|
|
|
isGoods: false,
|
|
|
|
|
show: v.X < 246626 && v.X > 126061 && v.Y < 188055 && v.Y > 116722
|
|
|
|
|
show: v.X < 245000 && v.X > 126000 && v.Y < 187000 && v.Y > 116000
|
|
|
|
|
// show: true
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|