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