三维指令

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();
// }, 3000);
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);
//
@ -1719,7 +1742,6 @@ const styleVar = computed(() => {
cursor: pointer;
}
.content_info {
display: flex;
flex-direction: column;
width: 89%;
@ -1796,11 +1818,10 @@ const styleVar = computed(() => {
color: #6ffbf7;
}
}
.long{
.long {
width: changeWidth(559.89);
}
.photovoltaic_value1 {
margin-left: changeWidth(83.5);
display: flex;
@ -1822,7 +1843,7 @@ const styleVar = computed(() => {
// color: #6ffbf7;
// }
}
.short{
.short {
margin-left: 2%;
}
}
@ -2067,7 +2088,7 @@ const styleVar = computed(() => {
.content_info {
// border: 1px saddlebrown solid;
display: flex;
height: changeHeight(319);
flex-direction: column;
width: 100%;
@ -2126,7 +2147,6 @@ const styleVar = computed(() => {
height: changeHeight(60);
line-height: changeHeight(60);
.photovoltaic_key1 {
width: changeWidth(309.23);
justify-content: space-between;
@ -2180,7 +2200,7 @@ const styleVar = computed(() => {
}
}
}
.xixiao{
.xixiao {
margin-top: 10%;
}
}