三维指令

master
“yu” 2024-07-14 02:03:31 +08:00
parent 4a003de4ef
commit e8fa52b780
1 changed files with 29 additions and 9 deletions

View File

@ -813,8 +813,31 @@ onMounted(() => {
// getStatInfo(); // getStatInfo();
// }, 3000); // }, 3000);
handeleTable(); handeleTable();
send3D();
}); });
const send3D = () => {
//
const list = {
location: "(X=117.327,Y=39.001,Z=44242.927)",
rotation: "Pitch=-83.545,Yaw=-91.394,Roll=0",
};
api_send("CameraMove", list, () => {
console.log("CameraMove");
});
// 线
const datadispaly = {
CityID: "12010",
status: "1", //01
};
api_send("ShowCityEdge", datadispaly, () => {
console.log("ShowCityEdge显示城南边界线");
});
//
const datadel = { type: "ALL", Voltage_Level: "0", region: "0", status: "1" };
api_send("SwitchStationstatus", datadel, () => {
console.log("SwitchStationstatus,显示全部的变电站");
});
};
// //
let sourceFlag = ref(true); let sourceFlag = ref(true);
// //
@ -1719,7 +1742,6 @@ const styleVar = computed(() => {
cursor: pointer; cursor: pointer;
} }
.content_info { .content_info {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 89%; width: 89%;
@ -1798,7 +1820,6 @@ const styleVar = computed(() => {
} }
.long { .long {
width: changeWidth(559.89); width: changeWidth(559.89);
} }
.photovoltaic_value1 { .photovoltaic_value1 {
@ -2126,7 +2147,6 @@ const styleVar = computed(() => {
height: changeHeight(60); height: changeHeight(60);
line-height: changeHeight(60); line-height: changeHeight(60);
.photovoltaic_key1 { .photovoltaic_key1 {
width: changeWidth(309.23); width: changeWidth(309.23);
justify-content: space-between; justify-content: space-between;