|
@@ -257,9 +257,9 @@ export default {
|
|
//全局厂房最佳视图
|
|
//全局厂房最佳视图
|
|
function backMasterViewByFac(){
|
|
function backMasterViewByFac(){
|
|
// player.Native.Camera.moveTo([235.678127000173, 13.38107286701451, 74.13573809425804], [-1248.3191825020908, -262.59031050373517, -409.93944372657353], [-0.30023176822741604, -0.055832565112502126, 0.9522308596238611], 1);
|
|
// player.Native.Camera.moveTo([235.678127000173, 13.38107286701451, 74.13573809425804], [-1248.3191825020908, -262.59031050373517, -409.93944372657353], [-0.30023176822741604, -0.055832565112502126, 0.9522308596238611], 1);
|
|
- player.Native.Camera.moveTo([230.81374612743963, -478.03486595784244, 397.44713298891566],
|
|
|
|
- [-1191.7422834310603, 2397.473667672639, -1974.2218082537938],
|
|
|
|
- [-0.2635955199415324, 0.5328234187400651, 0.8041247454897171], 1);
|
|
|
|
|
|
+ player.Native.Camera.moveTo([132.11876502209185, -440.46670198759625, 492.25734718993556],
|
|
|
|
+ [-640.8528070063287, 2116.1462138868947, -2471.4015229045867],
|
|
|
|
+ [-0.2149817792494004, 0.7110548607426664, 0.6694653236762824], 1);
|
|
// 使用异步函数
|
|
// 使用异步函数
|
|
(async () => {
|
|
(async () => {
|
|
setTimeout(function() {
|
|
setTimeout(function() {
|
|
@@ -313,11 +313,13 @@ export default {
|
|
"textFontSize":16,
|
|
"textFontSize":16,
|
|
"textColor": parseInt("0xedededff"),
|
|
"textColor": parseInt("0xedededff"),
|
|
"contentPadding":[10,10,10,10],
|
|
"contentPadding":[10,10,10,10],
|
|
|
|
+ "nodeOffset":[-154,-130],
|
|
"userData":"bpb|白坯布("+StockTypeUnit['bpb']+")\r\r当前库存:{curr}\r统计时间:7点至次日7点\r当日入库:{d-in} 出库:{d-out}\r当月入库:{m-in} 出库:{m-out}\r"
|
|
"userData":"bpb|白坯布("+StockTypeUnit['bpb']+")\r\r当前库存:{curr}\r统计时间:7点至次日7点\r当日入库:{d-in} 出库:{d-out}\r当月入库:{m-in} 出库:{m-out}\r"
|
|
};
|
|
};
|
|
|
|
|
|
var obj02Aabb = await player.Native.ModelTree.getItemShapeInfo(obj02.item);
|
|
var obj02Aabb = await player.Native.ModelTree.getItemShapeInfo(obj02.item);
|
|
- options.pos = [obj02Aabb.aabb[0][0]-40, obj02Aabb.aabb[0][1]-10, obj02Aabb.aabb[0][2]+115];
|
|
|
|
|
|
+ //options.pos = [obj02Aabb.aabb[0][0]-40, obj02Aabb.aabb[0][1]-10, obj02Aabb.aabb[0][2]+115];
|
|
|
|
+ options.pos = [-215.53692626953125, -9.105635643005371, 38.3607177734375];
|
|
//options.parentNode=tmp.item;
|
|
//options.parentNode=tmp.item;
|
|
options.imgId = imgid
|
|
options.imgId = imgid
|
|
options.imgSize = [0, 140];
|
|
options.imgSize = [0, 140];
|
|
@@ -336,10 +338,11 @@ export default {
|
|
"textFontSize":16,
|
|
"textFontSize":16,
|
|
"textColor": parseInt("0xedededff"),
|
|
"textColor": parseInt("0xedededff"),
|
|
"contentPadding":[10,10,10,10],
|
|
"contentPadding":[10,10,10,10],
|
|
|
|
+ "nodeOffset":[-154,-130],
|
|
"userData":"pt|盘头("+StockTypeUnit['pt']+")\r\r当前库存:{curr}\r统计时间:7点至次日7点\r当日入库:{d-in} 出库:{d-out}\r当月入库:{m-in} 出库:{m-out}\r"
|
|
"userData":"pt|盘头("+StockTypeUnit['pt']+")\r\r当前库存:{curr}\r统计时间:7点至次日7点\r当日入库:{d-in} 出库:{d-out}\r当月入库:{m-in} 出库:{m-out}\r"
|
|
};
|
|
};
|
|
var obj02Aabb = await player.Native.ModelTree.getItemShapeInfo(pantou.item);
|
|
var obj02Aabb = await player.Native.ModelTree.getItemShapeInfo(pantou.item);
|
|
- options.pos = [obj02Aabb.aabb[0][0], obj02Aabb.aabb[0][1]-30, obj02Aabb.aabb[0][2]+45];
|
|
|
|
|
|
+ options.pos =[78.97850799560547, -7.938839912414551, 31.4000244140625];// [obj02Aabb.aabb[0][0], obj02Aabb.aabb[0][1]-30, obj02Aabb.aabb[0][2]+45];
|
|
//options.parentNode=tmp.item;
|
|
//options.parentNode=tmp.item;
|
|
options.imgId = imgid
|
|
options.imgId = imgid
|
|
options.imgSize = [240, 140];
|
|
options.imgSize = [240, 140];
|
|
@@ -357,10 +360,11 @@ export default {
|
|
"textFontSize":16,
|
|
"textFontSize":16,
|
|
"textColor": parseInt("0xedededff"),
|
|
"textColor": parseInt("0xedededff"),
|
|
"contentPadding":[10,10,10,10],
|
|
"contentPadding":[10,10,10,10],
|
|
|
|
+ "nodeOffset":[-154,-130],
|
|
"userData":"ycl|原材料("+StockTypeUnit['ycl']+")\r\r当前库存:{curr}\r统计时间:7点至次日7点\r当日入库:{d-in} 出库:{d-out}\r当月入库:{m-in} 出库:{m-out}\r"
|
|
"userData":"ycl|原材料("+StockTypeUnit['ycl']+")\r\r当前库存:{curr}\r统计时间:7点至次日7点\r当日入库:{d-in} 出库:{d-out}\r当月入库:{m-in} 出库:{m-out}\r"
|
|
};
|
|
};
|
|
var obj02Aabb = await player.Native.ModelTree.getItemShapeInfo(pantou.item);
|
|
var obj02Aabb = await player.Native.ModelTree.getItemShapeInfo(pantou.item);
|
|
- options.pos = [obj02Aabb.aabb[0][0]-50, obj02Aabb.aabb[0][1]-10, obj02Aabb.aabb[0][2]+60];
|
|
|
|
|
|
+ options.pos = [-92.3292236328125, -83.65309143066406, 44];// [obj02Aabb.aabb[0][0]-50, obj02Aabb.aabb[0][1]-10, obj02Aabb.aabb[0][2]+60];
|
|
//options.parentNode=tmp.item;
|
|
//options.parentNode=tmp.item;
|
|
options.imgId = imgid
|
|
options.imgId = imgid
|
|
options.imgSize = [0, 140];
|
|
options.imgSize = [0, 140];
|
|
@@ -376,9 +380,10 @@ export default {
|
|
"textFontSize":16,
|
|
"textFontSize":16,
|
|
"textColor": parseInt("0xedededff"),
|
|
"textColor": parseInt("0xedededff"),
|
|
"contentPadding":[10,10,10,10],
|
|
"contentPadding":[10,10,10,10],
|
|
|
|
+ "nodeOffset":[-154,-130],
|
|
"userData":"cp|成品("+StockTypeUnit['cp']+")\r\r当前库存:{curr}\r统计时间:7点至次日7点\r当日入库:{d-in} 出库:{d-out}\r当月入库:{m-in} 出库:{m-out}\r"
|
|
"userData":"cp|成品("+StockTypeUnit['cp']+")\r\r当前库存:{curr}\r统计时间:7点至次日7点\r当日入库:{d-in} 出库:{d-out}\r当月入库:{m-in} 出库:{m-out}\r"
|
|
};
|
|
};
|
|
- options.pos = [obj02Aabb.aabb[0][0]+100, obj02Aabb.aabb[0][1]+10, obj02Aabb.aabb[0][2]+75];
|
|
|
|
|
|
+ options.pos = [7.242690563201904, -137.442626953125, 46.22212219238281];// [obj02Aabb.aabb[0][0]+100, obj02Aabb.aabb[0][1]+10, obj02Aabb.aabb[0][2]+75];
|
|
//options.parentNode=tmp.item;
|
|
//options.parentNode=tmp.item;
|
|
options.imgId = imgid
|
|
options.imgId = imgid
|
|
options.imgSize = [250, 140];
|
|
options.imgSize = [250, 140];
|