From 2c614369c229ec177d6620976bc7bd9e6cdbedae Mon Sep 17 00:00:00 2001 From: yvan Date: Sun, 15 Jun 2025 01:43:15 +0800 Subject: [PATCH] =?UTF-8?q?GStore=20=E5=92=8C=20Agv1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/example/ExampleUtil.js | 5 +++-- src/example/example1.js | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/example/ExampleUtil.js b/src/example/ExampleUtil.js index e8a0567..18a60a8 100644 --- a/src/example/ExampleUtil.js +++ b/src/example/ExampleUtil.js @@ -91,8 +91,9 @@ export function buildRackPerformanceData(rows, cols) { * @param t * @param rows * @param cols + * @param defaultYScale 默认Y轴缩放比例 */ -export function buildPointPerformanceData(t, rows, cols) { +export function buildPointPerformanceData(t, rows, cols, defaultYScale = 1) { const spacingX = 1.5 // X轴间距 const spacingZ = 1.5 // Y轴间距 @@ -106,7 +107,7 @@ export function buildPointPerformanceData(t, rows, cols) { node.tf[0][1] = 0.01 node.tf[0][2] = col * spacingZ node.tf[1] = [0, 0, 0] - node.tf[2] = [1, 1, 1] + node.tf[2] = [1, defaultYScale, 1] data.set(node.id, node) } } diff --git a/src/example/example1.js b/src/example/example1.js index 81eac54..f98951e 100644 --- a/src/example/example1.js +++ b/src/example/example1.js @@ -471,6 +471,10 @@ export default { items: buildPointPerformanceData('carton', 200, 500) }, { + catalogCode: '__f5', t: 'floor', + items: buildPointPerformanceData('gstore', 200, 500, 0.01) + }, + { catalogCode: '__f3', t: 'floor', items: buildRackPerformanceData(10, 200) }, @@ -948,6 +952,7 @@ export default { { catalogCode: '__f2', label: '箱子压力测试 (-f2)' }, { catalogCode: '__f3', label: '货架压力测试 (-f3)' }, { catalogCode: '__f4', label: '标尺压力测试 (-f4)' }, + { catalogCode: '__f5', label: '地堆压力测试 (-f5)' }, { catalogCode: 'f1', label: '一楼 (f1)' }, { catalogCode: 'f2', label: '二楼 (f2)' }, { catalogCode: 'f3', label: '三楼 (f3)' },