three 基础库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
60 KiB

2 years ago
var Strs = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R"]
function getBuildData() {
var saVqOSFYm1 =[{"show":true,"uuid":"","name":"floor_2_2","objType":"cube2","length":1000,"width":4300,"height":20,"x":2046.202,"y":-102,"z":-816.665,"style":{"skinColor":16777215,"skin":{"skin_up":{"skinColor":1818615,"side":1,"opacity":1,"imgurl":"../img/3dImg/fw2.jpg","repeatx":true,"width":2,"repeaty":true,"height":17},"skin_down":{"skinColor":1818615,"side":1,"opacity":1,"imgurl":"../img/3dImg/fw2.jpg"},"skin_fore":{"skinColor":1818615,"side":1,"opacity":1},"skin_behind":{"skinColor":1818615,"side":1,"opacity":1},"skin_left":{"skinColor":1818615,"side":1,"opacity":1},"skin_right":{"skinColor":1818615,"side":1,"opacity":1}}},"showSortNub":20,"customType1":"","customType2":"","animation":null,"dbclickEvents":null,"rotation":[{"direction":"x","degree":0},{"direction":"y","degree":0},{"direction":"z","degree":0}],"thick":null,"scale":{"x":1,"y":1,"z":1},"BindDevId":null,"BindDevName":null,"devInfo":null,"BindMeteId":"10001","BindMeteName":""},{"show":true,"uuid":"","name":"wmk_jz_17","objType":"cube2","length":1100,"width":250,"height":60,"x":2049.449,"y":-188.361,"z":1683.651,"style":{"skinColor":16777215,"skin":{"skin_up":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg203.png","repeatx":true,"width":1,"repeaty":true,"height":2},"skin_down":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png"},"skin_fore":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png","repeatx":true,"width":2,"repeaty":true,"height":1},"skin_behind":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png","repeatx":true,"width":2,"repeaty":true,"height":1},"skin_left":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png","repeatx":true,"width":1,"repeaty":true,"height":1},"skin_right":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png","repeatx":true,"width":1,"repeaty":true,"height":1}}},"showSortNub":20,"customType1":"","customType2":"","animation":null,"dbclickEvents":null,"rotation":[{"direction":"x","degree":0},{"direction":"y","degree":0},{"direction":"z","degree":0}],"thick":null,"scale":{"x":1,"y":1,"z":1},"BindDevId":null,"BindDevName":null,"devInfo":null,"BindMeteId":"10001","BindMeteName":""},{"show":true,"uuid":"","name":"wmk_jz_1","objType":"cube2","length":2500,"width":4800,"height":120,"x":2049.449,"y":-160,"z":-839.504,"style":{"skinColor":16777215,"skin":{"skin_up":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png"},"skin_down":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png"},"skin_fore":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png"},"skin_behind":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png"},"skin_left":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png"},"skin_right":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png"}}},"showSortNub":20,"customType1":"","customType2":"","animation":null,"dbclickEvents":null,"rotation":[{"direction":"x","degree":0},{"direction":"y","degree":0},{"direction":"z","degree":0}],"thick":null,"scale":{"x":1,"y":1,"z":1},"BindDevId":null,"BindDevName":null,"devInfo":null,"BindMeteId":"10001","BindMeteName":""},{"show":true,"uuid":"","name":"wmk_jz_16","objType":"cube2","length":1100,"width":250,"height":60,"x":2049.449,"y":-188.361,"z":-3351.049,"style":{"skinColor":16777215,"skin":{"skin_up":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg203.png","repeatx":true,"width":1,"repeaty":true,"height":2},"skin_down":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png"},"skin_fore":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png","repeatx":true,"width":2,"repeaty":true,"height":1},"skin_behind":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png","repeatx":true,"width":2,"repeaty":true,"height":1},"skin_left":{"skinColor":64767,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg101.png","repeatx":true,"width":1,"repeaty":true,"height":1},"skin_right":{"skinColo
for (var i = 1; i <= 12; i++) {
var serversGroup = getServerModel("rack_C" + Strs[i - 1] + "_sGroup", Math.floor(Math.random() * 6), { "x": 1234.730, "y": 410, "z": -2898 + (i - 1) * 363 }, { x: 1, y: 1, z: 1 }, Math.PI);
saVqOSFYm1.push(serversGroup);
}
for (var i = 1; i <= 12; i++) {
var serversGroup = getServerModel("rack_B" + Strs[i - 1] + "_sGroup", Math.floor(Math.random() * 6), { "x": 2849.552, "y": 410, "z": -2898 + (i - 1) * 363 }, { x: 1, y: 1, z: 1 }, Math.PI);
saVqOSFYm1.push(serversGroup);
}
return saVqOSFYm1
}