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.

25 lines
376 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":"wjg_2","objType":"cube2","length":300,"width":700,"height":1600,"x":2467.818,"y":700.802,"z":-7459.95,"style":{"skinColor":16777215,"skin":{"skin_up":{"skinColor":10395294,"side":1,"opacity":1,"imgurl":"../img/3dImg/inside_lightmap.jpg"},"skin_down":{"skinColor":10395294,"side":1,"opacity":1},"skin_fore":{"skinColor":10395294,"side":1,"opacity":1,"imgurl":"../img/3dImg/inside_lightmap.jpg"},"skin_behind":{"skinColor":10395294,"side":1,"opacity":1,"imgurl":"../img/3dImg/guizi.jpg"},"skin_left":{"skinColor":10395294,"side":1,"opacity":1,"imgurl":"../img/3dImg/inside_lightmap.jpg"},"skin_right":{"skinColor":10395294,"side":1,"opacity":1}}},"showSortNub":1,"customType1":"","customType2":"","animation":null,"dbclickEvents":null,"rotation":[{"direction":"x","degree":0},{"direction":"y","degree":1.5707963267948966},{"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":"wjg_1","objType":"cube2","length":300,"width":700,"height":1600,"x":4012.235,"y":700.802,"z":-7403.417,"style":{"skinColor":16777215,"skin":{"skin_up":{"skinColor":10395294,"side":1,"opacity":1,"imgurl":"../img/3dImg/inside_lightmap.jpg"},"skin_down":{"skinColor":10395294,"side":1,"opacity":1},"skin_fore":{"skinColor":10395294,"side":1,"opacity":1,"imgurl":"../img/3dImg/inside_lightmap.jpg"},"skin_behind":{"skinColor":10395294,"side":1,"opacity":1,"imgurl":"../img/3dImg/guizi.jpg"},"skin_left":{"skinColor":10395294,"side":1,"opacity":1,"imgurl":"../img/3dImg/inside_lightmap.jpg"},"skin_right":{"skinColor":10395294,"side":1,"opacity":1}}},"showSortNub":1,"customType1":"","customType2":"","animation":null,"dbclickEvents":null,"rotation":[{"direction":"x","degree":0},{"direction":"y","degree":1.5707963267948966},{"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":"floor","objType":"cube2","length":140000,"width":90000,"height":1,"x":-27.705,"y":-300,"z":0,"style":{"skinColor":16777215,"skin":{"skin_up":{"skinColor":65524,"side":1,"opacity":0.3,"imgurl":"../img/3dImg/bg2.png","repeatx":true,"width":20,"repeaty":true,"height":10},"skin_down":{"skinColor":16777215,"side":1,"opacity":1,"imgurl":"../img/3dImg/bg2.png"},"skin_fore":{"skinColor":16777215,"side":1,"opacity":1},"skin_behind":{"skinColor":16777215,"side":1,"opacity":1},"skin_left":{"skinColor":16777215,"side":1,"opacity":1},"skin_right":{"skinColor":16777215,"side":1,"opacity":1}}},"showSortNub":6,"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":"wall_1","objType":"cube2","length":300,"width":400,"height":2000,"x":5481.46,"y":884.373,"z":-4085.659,"style":{"skinColor":16777215,"skin":{"skin_up":{"skinColor":1818615,"side":1,"opacity":1,"imgurl":"../img/3dImg/sideLight.jpg"},"skin_down":{"skinColor":1818615,"side":1,"opacity":1,"imgurl":"../img/3dImg/fw2.jpg"},"skin_fore":{"skinColor":1144729,"side":1,"opacity":1,"imgurl":"../img/3dImg/wall/wall6.jpg"},"skin_behind":{"skinColor":1683168,"side":1,"opacity":1,"imgurl":"../img/3dImg/wall/wall6.jpg"},"skin_left":{"skinColor":1481929,"side":1,"opacity":1,"imgurl":"../img/3dImg/wall/wall6.jpg"},"skin_right":{"skinColor":1212582,"side":1,"opacity":1,"imgurl":"../img/3dImg/wall/wall6.jpg"}}},"showSortNub":6,"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":"wall_1_2","objType":"cube2",
for (var i = 1; i <= 2; i++) {
var serversGroup = getServerModel("rack_A" + Strs[i - 1] + "_sGroup", Math.floor(Math.random() * 6),
{ "x":4506.741,"y":291.879,"z":4636.826 + (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_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
}